seek-oss / playroom

Design with JSX, powered by your own component library.
MIT License
4.48k stars 182 forks source link

Editor for an additional css / scss file #306

Open fh-sonali-zaveri opened 10 months ago

fh-sonali-zaveri commented 10 months ago

Hello! Thank you for this awesome tool.

Our teams often write custom styles and pass them via className props to our components, is it possible (and if not I guess this is a feature request) to have a second editor to write styles? Has anyone managed to do this directly in the JS without using inline styles or something more like styled-components that would require learning a new system?

pascalduez commented 9 months ago

Hello,

for quick prototyping I usually use:

<style>{`
  .something { color: green }
`}</style>

<p className="something"></p>

But this is bare global classes CSS.