Open
Description
openedon Jul 29, 2024
How to use GitHub
- Please use the 👍 reaction to show that you are interested into the same feature.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Is your feature request related to a problem? Please describe.
Currently Nextcloud ignores the browser setting for the primary font size and defines a default font size of 15px. This means, nevertheless, which default font size I set as a user, all apps base on 15px font size.
Out of accessibility reasons I wonder, if it would be a good decision to get away from fixed px definitions to a relative font size by using rem and em.
Describe the solution you'd like
- Define a default font-size of 16px as used aqs the default by most of the browsers.
- Change font size definitions from px to rem
- Change any width (and maybe heights) to be calculated from the font size
- Same for margins, paddings and other elements like borders
- Define media queries by em (or rem, if safari has no more issues with that)
- Adopt this to nextcloud-vue and other libs
Additional context
This means some good planning and communication, since apps have to follow this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment