Skip to content

Commit 2be5130

Browse files
authored
Merge pull request #258 from ember-learn/redesign/mono
Add custom property for mono font stack
2 parents 4ceb25e + 198aa25 commit 2be5130

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;
@@ -180,6 +182,11 @@ figcaption {
180182
color: var(--color-gray-600);
181183
}
182184

185+
pre,
186+
code {
187+
font-family: var(--font-family-mono);
188+
}
189+
183190
/*
184191
@media (max-width: 1280px) and (min-width: 421px) {
185192
body,

0 commit comments

Comments
 (0)