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

[docs] Improve custom styles of the demos #17118

Merged
merged 20 commits into from
Aug 23, 2019
Merged

[docs] Improve custom styles of the demos #17118

merged 20 commits into from
Aug 23, 2019

Conversation

behnammodi
Copy link
Contributor

@behnammodi behnammodi commented Aug 22, 2019

Change all string unit to theme.spacing
Change all multiple values to JSS rule

@behnammodi behnammodi changed the title Improve docs smpale code [docs ]Improve docs smpale code Aug 22, 2019
@behnammodi behnammodi changed the title [docs ]Improve docs smpale code [docs] Improve docs smpale code Aug 22, 2019
@mui-pr-bot
Copy link

mui-pr-bot commented Aug 22, 2019

No bundle size changes comparing b737e35...f6303c2

Generated by 🚫 dangerJS against f6303c2

@oliviertassinari oliviertassinari changed the title [docs] Improve docs smpale code [docs] Use theme.spacing where appropriate Aug 23, 2019
@oliviertassinari oliviertassinari added the docs Improvements or additions to the documentation label Aug 23, 2019
@oliviertassinari oliviertassinari changed the title [docs] Use theme.spacing where appropriate [docs] Improve custom styles of the demos Aug 23, 2019
Copy link
Member

@oliviertassinari oliviertassinari left a 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).

@oliviertassinari
Copy link
Member

@uxitten Thanks

@behnammodi
Copy link
Contributor Author

@oliviertassinari You're welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants