using 10px fontsize in html global causes all components to have smaller sizes #7191
Unanswered
cowboydiver
asked this question in
Q&A
Replies: 1 comment
-
@cowboydiver did you find any good solutions? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello there, I'm using a base font-size of 10px instead of the default 16px to make rem calculations easier for my custom components. However, when using Chakra components they are now smaller, since they are using rem values with a base of 10px instead of 16px. It seams like I have to override and multiply every single rem value in default theme by 1.6 in order to have the same size components as would otherwise be expected. Is there a smarter way to update rem values in the default theme or do I have to do it manually?
Beta Was this translation helpful? Give feedback.
All reactions