From a0532e8e3572e0b1074ad9dd02fa1dc0435621aa Mon Sep 17 00:00:00 2001 From: intergrav Date: Thu, 30 Jan 2025 14:51:08 -0500 Subject: [PATCH] feat: systemfontstack cleanup of the font stack, now using https://systemfontstack.com --- dev.css | 10 ++++++---- theme/boilerplate-auto.user.css | 10 ++++++---- theme/boilerplate.user.css | 10 ++++++---- theme/terminal.user.css | 5 +++-- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/dev.css b/dev.css index fff26bb..e01fa09 100644 --- a/dev.css +++ b/dev.css @@ -23,10 +23,12 @@ /* adjustable by you! see ./theme/boilerplate-auto.css */ :root { /* font families */ - --dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI", - Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; - --dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, - "Liberation Mono", Menlo, monospace; + /* modified from https://systemfontstack.com */ + --dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next, + avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica, + Cantarell, Ubuntu, roboto, noto, arial, sans-serif; + --dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono, + Lucida Console, monospace; /* light/dark colors */ --dc-cs: light dark; /* light and dark scrollbars, inputs, etc */ diff --git a/theme/boilerplate-auto.user.css b/theme/boilerplate-auto.user.css index 8c45da1..1f4278f 100644 --- a/theme/boilerplate-auto.user.css +++ b/theme/boilerplate-auto.user.css @@ -11,10 +11,12 @@ :root { /* font families */ - --dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI", - Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; - --dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, - "Liberation Mono", Menlo, monospace; + /* modified from https://systemfontstack.com */ + --dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next, + avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica, + Cantarell, Ubuntu, roboto, noto, arial, sans-serif; + --dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono, + Lucida Console, monospace; /* light/dark colors */ --dc-cs: light dark; /* light/dark scrollbars, inputs, etc */ diff --git a/theme/boilerplate.user.css b/theme/boilerplate.user.css index d3e3294..bbb2a43 100644 --- a/theme/boilerplate.user.css +++ b/theme/boilerplate.user.css @@ -11,10 +11,12 @@ :root { /* font families */ - --dc-font: "Geist", "Inter", system-ui, "Segoe UI Variable Text", "Segoe UI", - Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; - --dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, - "Liberation Mono", Menlo, monospace; + /* modified from https://systemfontstack.com */ + --dc-font: "Geist", "Inter", -apple-system, BlinkMacSystemFont, avenir next, + avenir, segoe ui variable text, segoe ui, helvetica neue, helvetica, + Cantarell, Ubuntu, roboto, noto, arial, sans-serif; + --dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono, + Lucida Console, monospace; /* colors */ --dc-cs: light; /* light/dark scrollbars, inputs, etc */ diff --git a/theme/terminal.user.css b/theme/terminal.user.css index c7477ac..7293707 100644 --- a/theme/terminal.user.css +++ b/theme/terminal.user.css @@ -11,9 +11,10 @@ :root { /* font families */ + /* modified from https://systemfontstack.com */ --dc-font: var(--dc-font-mono); - --dc-font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Consolas, - "Liberation Mono", Menlo, monospace; + --dc-font-mono: "Geist Mono", Menlo, Consolas, Monaco, Liberation Mono, + Lucida Console, monospace; /* colors */ --dc-cs: dark; -- 2.51.2