From 9fdbc82fecf17cefed08e8fe1cfee03546d41c5e Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 27 Sep 2026 15:07:30 -0700 Subject: Public Sans, the coinos.io face, across the app. One variable-weight woff2 each for upright and italic (41 KB + 45 KB, OFL), shipped with the build and precached by the service worker; the system stack paints first and stays when the file never arrives. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D --- src/style.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/style.css') diff --git a/src/style.css b/src/style.css index 31c0587..1e5a1c7 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,20 @@ +/* Public Sans, the coinos.io face (OFL, one variable-weight file each way). + font-display swap: the system stack paints first and the face lands when + the file has; offline before the first fetch, the fallback stays. */ +@font-face { + font-family: "Public Sans"; + font-style: normal; + font-weight: 100 900; + font-display: swap; + src: url("/PublicSans.woff2") format("woff2"); +} +@font-face { + font-family: "Public Sans"; + font-style: italic; + font-weight: 100 900; + font-display: swap; + src: url("/PublicSans-Italic.woff2") format("woff2"); +} /* Bitcoin Wallet — hand-rolled CSS. Clean light "paper wallet" look. */ :root { @@ -31,7 +48,7 @@ --radius: 16px; --wash: rgba(247, 147, 26, 0.05); /* warm glow behind the page top */ --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; - --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; + --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } /* Dark theme — applied via data-theme="dark" on . */ -- cgit v1.2.3