gabriel / musehub public
_typography.scss
35 lines 1.4 KB
Raw
sha256:25d96102cb2d69a038356dff26f4633156da2f1faf98fe0d0e4438ff3f367f12 refactor: rename 0054/0055 migrations to standard convention Sonnet 4.6 minor ⚠ breaking 21 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 2 commits
sha256:25d96102cb2d69a038356dff26f4633156da2f1faf98fe0d0e4438ff3f367f12 refactor: rename 0054/0055 migrations to standard convention Sonnet 4.6 minor 21 days ago
sha256:4aed3d8601c8dd3ed37074de35f11f4a9699a0a4b99d43727048fd3f8e6fd13d chore: doc sweep, ignore wrangler build state, misc fixes Sonnet 4.6 minor 23 days ago