From fc6df800ce90640ca1b6b715cbde7ef94f2cc1e7 Mon Sep 17 00:00:00 2001 From: Nahiyan Khan Date: Wed, 8 Apr 2026 11:41:45 -0400 Subject: [PATCH] Add dev-fonts.css for Cash Sans font faces Co-Authored-By: Claude Opus 4.6 (1M context) --- packages/ghost-ui/src/styles/dev-fonts.css | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 packages/ghost-ui/src/styles/dev-fonts.css diff --git a/packages/ghost-ui/src/styles/dev-fonts.css b/packages/ghost-ui/src/styles/dev-fonts.css new file mode 100644 index 0000000..34daa8a --- /dev/null +++ b/packages/ghost-ui/src/styles/dev-fonts.css @@ -0,0 +1,30 @@ +/* ── Cash Sans (via block.xyz CDN) — dev site only ── */ +@font-face { + font-family: "Cash Sans"; + src: url("https://cdn.block.xyz/fonts/cashsans/CashSans-Regular.woff2") + format("woff2"); + font-weight: 400; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Cash Sans"; + src: url("https://cdn.block.xyz/fonts/cashsans/CashSans-Medium.woff2") + format("woff2"); + font-weight: 500; + font-style: normal; + font-display: swap; +} +@font-face { + font-family: "Cash Sans"; + src: url("https://cdn.block.xyz/fonts/cashsans/CashSans-Bold.woff2") + format("woff2"); + font-weight: 700; + font-style: normal; + font-display: swap; +} + +:root { + --font-sans: "Cash Sans", system-ui, sans-serif; + --font-display: "Cash Sans", system-ui, sans-serif; +}