gabriel / musehub public
_typography.scss
35 lines 1.4 KB
Raw
sha256:9b711047e27df5ac91681c74aadfb0e31f69ffd4269932ea52f0c113764d8c0a docs(phase-03): rewrite Domain Protocol — AddressedMergePlu… Sonnet 4.6 minor ⚠ breaking 23 days ago
1 // ─────────────────────────────────────────────────────────────────────────────
2 // Component: Typography
3 // File: src/scss/theme/_typography.scss
4 //
5 // Variants: n/a — token definitions only
6 // Tokens: --font-sans, --font-mono, --text-*, --weight-*, --line-height-*
7 // Usage: font-family: var(--font-sans);
8 //
9 // Notes: Inter + JetBrains Mono loaded via bunny.net CDN in base.html.
10 // display=optional prevents FOUC by skipping late font swap.
11 // ─────────────────────────────────────────────────────────────────────────────
12
13 :root {
14 --font-sans: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
15 --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
16
17 --text-xs: 11px;
18 --text-sm: 13px;
19 --text-base: 15px;
20 --text-md: 17px;
21 --text-lg: 20px;
22 --text-xl: 24px;
23 --text-2xl: 32px;
24 --text-3xl: 48px;
25
26 --weight-normal: 400;
27 --weight-medium: 500;
28 --weight-semibold: 600;
29 --weight-bold: 700;
30
31 --line-height-tight: 1.25;
32 --line-height-normal: 1.65;
33 --line-height-relaxed: 1.8;
34
35 }
File History 1 commit
sha256:9b711047e27df5ac91681c74aadfb0e31f69ffd4269932ea52f0c113764d8c0a docs(phase-03): rewrite Domain Protocol — AddressedMergePlu… Sonnet 4.6 minor 23 days ago