Replies: 2 comments 9 replies
-
One of the advantage of CSS variables is letting the user customize them at which ever level it desire. I think the only solution would be to introduce a breaking change and force the users to import the style themself. |
Beta Was this translation helpful? Give feedback.
3 replies
-
Alright this is now live ;) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I just read this closed issue Remove CSS import in order to support Next.js. I come up with the idea that this issue can be solved with CSS-in-JS, for example using the simplest one is inline styles or style={{color: 'red'}} in the component. However, I see that the library makes use of CSS variables. Maybe the CSS variable can be moved inside the component with js as well? What are your thoughts?
Beta Was this translation helpful? Give feedback.
All reactions