Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/theming/css/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@
--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;
/* Default text font weight */
--font-weight-default: 400;
/* Font weight for interactive elements */
--font-weight-element: 500;
/* Weight for titles and headings */
--font-weight-heading: 600;
/* 1.5 x font-size for accessibility */
--default-line-height: 1.5;
--animation-quick: 100ms;
Expand Down
6 changes: 6 additions & 0 deletions apps/theming/lib/Themes/DefaultTheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ public function getCSSVariables(): array {
'--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',
// Default text font weight
'--font-weight-default' => '400',
// Font weight for interactive elements
'--font-weight-element' => '500',
// Weight for titles and headings
'--font-weight-heading' => '600',
// 1.5 * font-size for accessibility
'--default-line-height' => '1.5',

Expand Down
Loading