Repository navigation
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
16pxfont-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 ofrems for type scale./cc @keithjgrant @patrickhlauke