PR proposal for font-size breakpoints #496
danielfdickinson
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
I have been playing around with clamp() function. Here is a tool you can use to improve your code: https://codesandbox.io/s/clamp-linear-intepolation-based-on-viewport-width-builder-xgkft?from-embed |
Beta Was this translation helpful? Give feedback.
2 replies
-
I've create a draft PR at #531 . Please take a look. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I've got some CSS I use for increasing the font size as the screen resolution gets larger (because often higher resolution is means higher DPI, and I'm not aware of a working way to check DPI using only CSS, especially on 2K and 4K displays).
In addition, this enhances the experience for those with low vision (but not completely blind).
The proposed CSS (I would add this in the appropriate assets/css files, if the idea gets accepted) is:
Because base font size would no longer be fixed, I also propse the following changes:
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions