Font sizes
-
I’ve noticed that font sizes don’t resize very well for smaller screens (400px or less). Using chrome devtools, I see that some longer words don’t stay on one line.
I’m interested to note that on examining the theme.json file there are four sizes defined under “fontsizes” – which are the four available in the editor. However the only one that uses clamp() is the x-large.
Further, there are three defined under “custom”: {“typography”} – huge, gigantic and colossal – and these do use clamp() but I can’t see where they are available in the editor.
I’m guessing that my best bet would be to do some research on how clamp values are defined for different screen sizes, then customize my “fontsizes” in the json.theme file?
Would appreciate any advice, cheers ??
- The topic ‘Font sizes’ is closed to new replies.