mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 23:03:00 -04:00
feat: add small font size variable
This is needed to create a bit more hyerarchy between more important and less important text. For example for the talk conversation description in the header or in NcListItem's "subname" Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
This commit is contained in:
parent
b17508adf5
commit
9855485b0d
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