diff options
author | Marco Ambrosini <marcoambrosini@proton.me> | 2024-07-31 14:36:23 +0200 |
---|---|---|
committer | Marco Ambrosini <marcoambrosini@proton.me> | 2024-07-31 14:36:23 +0200 |
commit | e537728dd1e09360201cbfad4836f1a2ddcfc26b (patch) | |
tree | ed931191c58be9e831309be93eef81a8d11b256a /apps/theming/css/default.css | |
parent | 21f558b12bdb985ec312ac8973f2be9c0d73f824 (diff) | |
download | nextcloud-server-e537728dd1e09360201cbfad4836f1a2ddcfc26b.tar.gz nextcloud-server-e537728dd1e09360201cbfad4836f1a2ddcfc26b.zip |
Feat: update line height
Since we have different font sizes, we should make the line height
dependent on the font size and not a fixed value. The recommended
value for accessibility is 1.5.
https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Diffstat (limited to 'apps/theming/css/default.css')
-rw-r--r-- | apps/theming/css/default.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/css/default.css b/apps/theming/css/default.css index 63633da9511..c742f05fba0 100644 --- a/apps/theming/css/default.css +++ b/apps/theming/css/default.css @@ -50,7 +50,7 @@ --font-face: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'; --default-font-size: 15px; /* 1.5 x font-size for accessibility */ - --default-line-height: 24px; + --default-line-height: 1.5; --animation-quick: 100ms; --animation-slow: 300ms; /** Border width for input elements such as text fields and selects */ |