From 7f0d2b54e08b61db571748440334f27c98157ecf Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Fri, 17 Apr 2026 09:40:42 +0300 Subject: [PATCH] feat: add micro type scale and tracking-wider-mono tokens to @theme --- src/app/styles/app.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/styles/app.css b/src/app/styles/app.css index adb7fe0..dc3f313 100644 --- a/src/app/styles/app.css +++ b/src/app/styles/app.css @@ -91,7 +91,6 @@ --space-4xl: 4rem; /* Typography Scale */ - --text-2xs: 0.625rem; --text-xs: 0.75rem; --text-sm: 0.875rem; --text-base: 1rem; @@ -205,6 +204,14 @@ --font-mono: 'Space Mono', monospace; --font-primary: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Inter, Roboto, Arial, sans-serif; --font-secondary: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; + + /* Micro typography scale — extends Tailwind's text-xs (0.75rem) downward */ + --font-size-5xs: 0.4375rem; + --font-size-4xs: 0.5rem; + --font-size-3xs: 0.5625rem; + --font-size-2xs: 0.625rem; + /* Monospace label tracking — used in Loader and Footnote */ + --tracking-wider-mono: 0.2em; } @layer base {