Skip to content

Commit 84495a3

Browse files
authored
feat(styles): CSS variables for fonts (#22666)
1 parent 6c8bea5 commit 84495a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/vuetify/src/styles/settings/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ $misc: map-deep-merge(
1717
$misc
1818
);
1919

20-
$body-font-family: 'Roboto', sans-serif !default;
20+
$body-font-family: var(--v-font-body, 'Roboto', sans-serif) !default;
2121
$font-size-root: 1rem !default;
2222
$line-height-root: 1.5 !default;
2323
$border-color-root: rgba(var(--v-border-color), var(--v-border-opacity)) !default;
@@ -199,7 +199,7 @@ $font-weights: map-deep-merge(
199199
$font-weights
200200
);
201201

202-
$heading-font-family: $body-font-family !default;
202+
$heading-font-family: var(--v-font-heading, #{$body-font-family}) !default;
203203

204204
$typography: () !default;
205205
$typography: map-deep-merge(

0 commit comments

Comments
 (0)