Skip to content

Commit a0532e8

Browse files
committed
feat: systemfontstack
cleanup of the font stack, now using https://systemfontstack.com
1 parent 122d63b commit a0532e8

File tree

4 files changed

+21
-14
lines changed

4 files changed

+21
-14
lines changed

dev.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@
2323
/* adjustable by you! see ./theme/boilerplate-auto.css */
2424
:root {
2525
/* font families */
26-
--dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI",
27-
Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
28-
--dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas,
29-
"Liberation Mono", Menlo, monospace;
26+
/* modified from https://systemfontstack.com */
27+
--dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next,
28+
avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica,
29+
Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
30+
--dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono,
31+
Lucida Console, monospace;
3032

3133
/* light/dark colors */
3234
--dc-cs: light dark; /* light and dark scrollbars, inputs, etc */

theme/boilerplate-auto.user.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
:root {
1313
/* font families */
14-
--dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI",
15-
Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
16-
--dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas,
17-
"Liberation Mono", Menlo, monospace;
14+
/* modified from https://systemfontstack.com */
15+
--dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next,
16+
avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica,
17+
Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
18+
--dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono,
19+
Lucida Console, monospace;
1820

1921
/* light/dark colors */
2022
--dc-cs: light dark; /* light/dark scrollbars, inputs, etc */

theme/boilerplate.user.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@
1111

1212
:root {
1313
/* font families */
14-
--dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI",
15-
Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
16-
--dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas,
17-
"Liberation Mono", Menlo, monospace;
14+
/* modified from https://systemfontstack.com */
15+
--dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next,
16+
avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica,
17+
Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
18+
--dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono,
19+
Lucida Console, monospace;
1820

1921
/* colors */
2022
--dc-cs: light; /* light/dark scrollbars, inputs, etc */

theme/terminal.user.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
:root {
1313
/* font families */
14+
/* modified from https://systemfontstack.com */
1415
--dc-font: var(--dc-font-mono);
15-
--dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas,
16-
"Liberation Mono", Menlo, monospace;
16+
--dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono,
17+
Lucida Console, monospace;
1718

1819
/* colors */
1920
--dc-cs: dark;

0 commit comments

Comments
 (0)