Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor for an additional css / scss file #306

Open
fh-sonali-zaveri opened this issue Dec 8, 2023 · 1 comment
Open

Editor for an additional css / scss file #306

fh-sonali-zaveri opened this issue Dec 8, 2023 · 1 comment

Comments

@fh-sonali-zaveri
Copy link

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
Copy link
Contributor

Hello,

for quick prototyping I usually use:

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

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

But this is bare global classes CSS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants