-
-
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
[joy-ui][Switch] Slight adjustments to the design #39276
Conversation
Netlify deploy previewBundle size reportDetails of bundle changes (Toolpad) |
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.
Hey, thanks for tackling this! I've just fine-tune one of the demos, but it looks good!
@siriwatknp let me know if there's anything we should be aware of given we're changing code from the actual component! |
Looks better! |
For this case, accepting the change in argos is enough. |
This PR adds some slight adjustments to the Switch's default widths in all sizes. I've been feeling that the previous values were making it a bit too long, so finally took the time to nudge them a bit here. Additionally, I've removed the Material Design example from the Common examples section; really don't think it's worth it — like, who will use Joy UI to build Material Design? 😵 And we make the page shorter, too!
👉 https://deploy-preview-39276--material-ui.netlify.app/joy-ui/react-switch/