Skip to content

Commit 198aa25

Browse files
committed
Add custom property for mono font stack
Closes #256
1 parent 37342ce commit 198aa25

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

addon/styles/global.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
--font-family-sans: "Inter var", "Inter web", -apple-system,
55
BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif,
66
Apple Color Emoji, Segoe UI Emoji;
7+
--font-family-mono: SFMono-Regular, Consolas, Liberation Mono, Menlo,
8+
monospace;
79

810
--color-white: #fff;
911
--color-gray-100: #f4f6f8;
@@ -175,6 +177,11 @@ figcaption {
175177
color: var(--color-gray-600);
176178
}
177179

180+
pre,
181+
code {
182+
font-family: var(--font-family-mono);
183+
}
184+
178185
/*
179186
@media (max-width: 1280px) and (min-width: 421px) {
180187
body,

0 commit comments

Comments
 (0)