From 1e8b14e5cf5944e1dc2abb94a9e9da80ac5b2147 Mon Sep 17 00:00:00 2001 From: irasponsible <138816927+irasponsible@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:31:50 +1100 Subject: [PATCH] change font declarations, to prefer system fonts over other installed fonts #965 --- src/index.css | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.css b/src/index.css index 912e8516..7aa42862 100644 --- a/src/index.css +++ b/src/index.css @@ -11,8 +11,7 @@ --main-width: 40em; text-size-adjust: none; --hairline-width: 1px; - --monospace-font: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', - Menlo, Courier, monospace; + --monospace-font: ui-monospace, monospace; --blue-color: royalblue; --purple-color: blueviolet; @@ -190,8 +189,7 @@ html { } body { - font-family: ui-rounded, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, - Ubuntu, Cantarell, Noto Sans, sans-serif; + font-family: ui-rounded, sans-serif, system-ui; font-size: var(--text-size); word-wrap: break-word; overflow-wrap: break-word;