Skip to content

Commit ea6bf61

Browse files
committed
Fix code font
1 parent d2108e8 commit ea6bf61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/.vitepress/theme/theme.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ code {
1212
}
1313

1414
:root {
15-
--font-family-code: "JetBrains Mono", "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace
15+
--vp-font-family-mono: "JetBrains Mono", "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace
1616
}
1717

1818
pre {
19-
font-family: var(--font-family-code);
19+
font-family: var(--vp-font-family-mono);
2020
}
2121

2222
.mono {
23-
font-family: var(--font-family-code)
23+
font-family: var(--vp-font-family-mono)
2424
}

0 commit comments

Comments
 (0)