-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
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
v4: Remove root font-size #21524
v4: Remove root font-size #21524
Conversation
LGTM |
Yay ❤️ |
We have been using What is the correct way to set this in our case? |
@gthomas-appfolio 13 divided by 16 is 0.8125, so |
Thanks, wasn't quite sure if that was the 'proper' variable for this, thanks! Edit: Using
If so, would the proper way to customize this now be adding these lines to _custom.scss?:
(BTW I'm not disagreeing with the spirit of this change, the reality in my case is I need to match some existing, non-Bootstrap styles) |
@gthomas-appfolio ah sorry, I didn't process that we had dropped the |
No problem. Yes, I'm theming it quite a bit via |
Fixes #19460.
This removes our fixed
16px
font-size variable and it's usage throughout the project, allowing web visitors to utilize their customized browser defaultfont-size
. Visually, there is no difference between this change and what's been in v4 since we started it. The browser default is usually 16px, so you should be good to go there. In other places, and in case of customize rootfont-size
, your content should scale nicely given the use ofrem
s for type scale./cc @keithjgrant @patrickhlauke