Skip to content

Commit 68bdaf6

Browse files
committed
Tweak fonts
1 parent cb477f9 commit 68bdaf6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

src/css/custom.css

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
--primary-lightness: 50.2%;
1212

1313
--ifm-font-family-monospace:
14-
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono,
15-
Courier New, monospace;
14+
'Fira Code', 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace,
15+
SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New,
16+
monospace;
1617
--ifm-font-family-base:
17-
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
18-
Arial, sans-serif;
19-
--ifm-heading-font-family:
20-
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
21-
Arial, sans-serif;
18+
Inter, Roboto, 'Helvetica Neue', 'Arial Nova', 'Nimbus Sans', ui-sans-serif,
19+
system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol,
20+
Noto Color Emoji;
21+
--ifm-heading-font-family: var(--ifm-font-family-base);
2222

2323
--ifm-font-size-base: 100%;
2424
--ifm-line-height-base: 1.75;
@@ -377,7 +377,7 @@ article p {
377377
}
378378

379379
.menu {
380-
font-size: 93.75%;
380+
font-size: 87.5%;
381381
font-weight: var(--ifm-font-weight-normal);
382382
}
383383

@@ -728,6 +728,8 @@ pre code:has(.code-block-diff-remove-line) {
728728

729729
code {
730730
border-width: 1px;
731+
-webkit-font-smoothing: auto;
732+
-moz-osx-font-smoothing: auto;
731733
}
732734

733735
.blog-wrapper .container aside nav {

0 commit comments

Comments
 (0)