Skip to content

Commit 3f61102

Browse files
committed
fix(VKbd): use $body-font-family as default
helps avoid 44kB of Roboto CSS when using `@nuxt/font`
1 parent 7d3f26a commit 3f61102

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/vuetify/src/components/VKbd/_variables.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
@use '../../styles/settings';
2+
13
// VKbd
24
// Kbd elements naturally use monospace fonts, if users want to change this, they can do so by setting the font-family on the v-kbd element.
3-
$kbd-font-family: "Roboto", sans-serif !default;
5+
$kbd-font-family: settings.$body-font-family !default;
46
$kbd-border-radius: 4px !default;
57
$kbd-display: inline-flex !default;
68
$kbd-elevation: 1 !default;

0 commit comments

Comments
 (0)