-
Notifications
You must be signed in to change notification settings - Fork 182
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
Use FontFace and consistent text sizing #988
Conversation
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.
Nice, and this can probably be included in the changelog as "Fixed notification and tooltip text sometimes getting cut off"
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.
Ken already addressed the concerns I have; this needs a changelog entry, and our text bound check might yield. Otherwise, looks good.
The
Gotham
font we use no longer exists. This PR upgrades to usingFontFace
, and also unifies our styling by putting fonts and text sizes intoTheme
instead of hardcoding them inline. This will make it easier to adjust our UI in the future (or perhaps add accessibility settings).It's pretty much identical to before, but all the text sizes are consistent (no more 14 vs 15) and the notifs and tooltips are better at getting the correct text bounds (no cutting off edge cases anymore).