mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #46925 from nextcloud/feat/add-small-font-size-variable
Add small font size variable
This commit is contained in:
commit
c93bd561d1
2 changed files with 2 additions and 0 deletions
|
|
@ -49,6 +49,7 @@
|
|||
--color-border-maxcontrast: #7d7d7d;
|
||||
--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;
|
||||
--font-size-small: 13px;
|
||||
/* 1.5 x font-size for accessibility */
|
||||
--default-line-height: 1.5;
|
||||
--animation-quick: 100ms;
|
||||
|
|
|
|||
|
|
@ -160,6 +160,7 @@ class DefaultTheme implements ITheme {
|
|||
|
||||
'--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',
|
||||
'--font-size-small' => '13px',
|
||||
// 1.5 * font-size for accessibility
|
||||
'--default-line-height' => '1.5',
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue