-
-
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
[Tooltip] Improve legibility #14651
[Tooltip] Improve legibility #14651
Conversation
… weight on desktop to improve readability
Details of bundle changes.Comparing: 6bb9231...a7a08ad
|
Argos showcases the improved legibility: https://www.argos-ci.com/mui-org/material-ui/builds/43021. Very nice 👍 |
I like the improved readability, but would it be possible to base the background color on a theme variable so that it still is easily customized? I use slightly tinted grey colors in my theme. |
@lucaas You can do that by overriding the used color when creating your own theme. |
I missed commit a7a08ad which addressed my concern, so you can disregard from my comment. |
...and increase font weight on desktop to improve readability
The specs only tell us about the background color and opacity (instead of setting the opacity of the whole element).
Increasing the font weight a bit improves the readability of a 10px font on normal desktop displays (i.e. no high-dpi ones). It's an opinionated change.
Before:
After: