Skip to content

Commit e308902

Browse files
committed
Auto merge of #3902 - arzg:fira-mono, r=Turbo87
Match monospace font with main font Since Fira Sans is used across crates.io, it makes sense to use Fira Mono for monospaced text to increase consistency. After Fira Mono there is now `ui-monospace` in the font stack, which renders as SF Mono on Safari without having to manually install SF Mono. `ui-monospace` [is part of](https://www.w3.org/TR/css-fonts-4/#ui-monospace-def) the CSS Fonts Module Level 4 draft.
2 parents cced6f4 + 8740eea commit e308902

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/styles/application.module.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
--footer-bg-color: var(--green800);
1212

1313
--font-sans: "Fira Sans", sans-serif;
14-
--font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
14+
--font-monospace: "Fira Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
15+
"Courier New", monospace;
1516

1617
--main-color: #383838;
1718
--main-color-light: #858585;

0 commit comments

Comments
 (0)