-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
[docs] Improve custom styles of the demos #17118
[docs] Improve custom styles of the demos #17118
Conversation
No bundle size changes comparing b737e35...f6303c2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for spending time on this topic. I have reverted any syntax that depends on https://cssinjs.org/jss-plugin-expand/. We don't bundle this plugin. Also, as we are transitioning to styled-components, we will most likely write the style of the demos in template CSS string. I say most likely as I believe it's the most popular approach in the industry (an assomption to verify with data).
@uxitten Thanks |
@oliviertassinari You're welcome |
Change all string unit to theme.spacing
Change all multiple values to JSS rule