-
Notifications
You must be signed in to change notification settings - Fork 11.7k
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: Updated font to Inter, updates typography, a start of moving legacy & global styles from sass to emotion #32988
Conversation
torkelo
commented
Apr 14, 2021
- Update main font from Roboto to Inter
- Update main mono space font to Roboto Mono
- Update typography
- Add Typography storybook for the native elements
- Adds a Typography component that will be implemented later and be similar to https://material-ui.com/components/typography/
- Adds a GlobalStyles component and a start/embryo of moving old sass global styles to emotion
- Rename palette.getHoverColor to palette.emphasize
600 weight (bold) glyphs were missing for Roboto, which made bold text look smudged on some systems as browser interpolates to 600 from other weight. Maybe we could fix this and add 600 with Inter? |
@domasx2 where do you use font-weight 600? |
https://github.com/grafana/grafana/blob/master/packages/grafana-ui/src/themes/default.ts#L56 |
Did not know that we should always use semibold, will map bold to 500 |