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

[theme] Improve default breakpoints #26746

Merged
merged 8 commits into from
Jun 17, 2021
Merged

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Jun 14, 2021

close #21902

new default breakpoint

values = {
  xs: 0, // phone
  sm: 600, // tablets
  md: 900, // small laptop
  lg: 1200, // desktop
  xl: 1536, // large screens
},

https://deploy-preview-26746--material-ui.netlify.app/branding/about/

@siriwatknp siriwatknp added design: material This is about Material Design, please involve a visual or UX designer in the process breaking change labels Jun 14, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Jun 14, 2021

Details of bundle changes (experimental)

Generated by 🚫 dangerJS against f131646

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.

Should we remove the custom breakpoints we use for the branding, for the sake of simplicity?

@oliviertassinari oliviertassinari changed the title [theme] update default breakpoints [theme] Improve default breakpoints Jun 14, 2021
Copy link
Contributor

@danilo-leal danilo-leal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just took a peek at the discussion and it seems all good to me. Olivier did a great benchmark and it seems like these values get around what everyone is using, even Material Design.

@siriwatknp siriwatknp merged commit e8c3377 into mui:next Jun 17, 2021
@siriwatknp siriwatknp mentioned this pull request Jun 23, 2021
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change design: material This is about Material Design, please involve a visual or UX designer in the process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[theme] Improve the breakpoints values
5 participants