-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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-infra] Add spacing and contrast improvements #41191
[docs-infra] Add spacing and contrast improvements #41191
Conversation
Netlify deploy previewhttps://deploy-preview-41191--material-ui.netlify.app/ Bundle size report |
borderTop: '1px solid', | ||
borderColor: 'divider', | ||
}} | ||
> | ||
<Button |
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.
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.
I felt like having both the "Become a Diamond Sponsor" and "Diamond Sponsor" buttons was redundant, particularly as they were taking to, essentially, the same place. I experimented with adding a "Sponsors" nav label, sort of similar to the "Contents" on the top of the TOC, but felt like visitors would be able to understand what these logos are even without a label?
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.
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.
👌
@zanivan yeah, good call! Definitely a detail I want to treat (and the way I'd probably do something similar to the side nav, with pseudo-elements), but I'll keep this one simple! If I were to throw in a border-radius in there, it'd look janky like this: |
I thought that might be the case 😅 |
The commits are as isolated as possible for ease of review. This PR is mostly tiny fixes for adding focus-visible styles and spacing adjustments throughout a couple of docs-infra-related components.
To test it, try tabbing through the table of contents items or the page's body to see improved focus-visible styles, for example.
https://deploy-preview-41191--material-ui.netlify.app/material-ui/getting-started/