Skip to content

Commit 14c708c

Browse files
committed
feat(theming): Introduce font weight variables
Counterpart of nextcloud-libraries/nextcloud-vue#8469 Signed-off-by: kramo <git@kramo.page>
1 parent dfa407c commit 14c708c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

apps/theming/css/default.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@
7070
--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';
7171
--default-font-size: 15px;
7272
--font-size-small: 13px;
73+
/* Default text font weight */
74+
--font-weight-default: normal;
75+
/* Font weight for interactive elements */
76+
--font-weight-element: 500;
77+
/* Weight for titles and headings */
78+
--font-weight-heading: bold;
7379
/* 1.5 x font-size for accessibility */
7480
--default-line-height: 1.5;
7581
--animation-quick: 100ms;

0 commit comments

Comments
 (0)