Skip to content

Commit 50909f3

Browse files
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 <[email protected]>
1 parent b17508a commit 50909f3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

apps/theming/css/default.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
--color-border-maxcontrast: #7d7d7d;
5050
--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';
5151
--default-font-size: 15px;
52+
--font-size-small: 13px;
5253
/* 1.5 x font-size for accessibility */
5354
--default-line-height: 1.5;
5455
--animation-quick: 100ms;

apps/theming/lib/Themes/DefaultTheme.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ public function getCSSVariables(): array {
160160

161161
'--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'",
162162
'--default-font-size' => '15px',
163+
'--font-size-small' => '13px',
163164
// 1.5 * font-size for accessibility
164165
'--default-line-height' => '1.5',
165166

0 commit comments

Comments
 (0)