mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
64 lines
1.7 KiB
CSS
64 lines
1.7 KiB
CSS
/* design-systems/theverge/tokens.css
|
|
*
|
|
* Structured token bindings for The Verge.
|
|
* high-energy technology magazine with black surfaces, magenta signal, and dense editorial cards.
|
|
*/
|
|
|
|
:root {
|
|
--bg: #050505;
|
|
--surface: #111111;
|
|
--surface-warm: #211022;
|
|
--fg: #ffffff;
|
|
--fg-2: #e5e7eb;
|
|
--muted: #9ca3af;
|
|
--meta: #ff00a8;
|
|
--border: #2b2b2b;
|
|
--border-soft: #1d1d1d;
|
|
--accent: #ff00a8;
|
|
--accent-on: #ffffff;
|
|
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
--success: #22c55e;
|
|
--warn: #facc15;
|
|
--danger: #ef4444;
|
|
--font-display: "PolySans", "Helvetica Neue", Arial, sans-serif;
|
|
--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
|
|
--font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
|
|
--text-xs: 12px;
|
|
--text-sm: 14px;
|
|
--text-base: 16px;
|
|
--text-lg: 19px;
|
|
--text-xl: 26px;
|
|
--text-2xl: 42px;
|
|
--text-3xl: 66px;
|
|
--text-4xl: 96px;
|
|
--leading-body: 1.48;
|
|
--leading-tight: 0.95;
|
|
--tracking-display: -0.035em;
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 20px;
|
|
--space-6: 24px;
|
|
--space-8: 32px;
|
|
--space-12: 48px;
|
|
--section-y-desktop: 88px;
|
|
--section-y-tablet: 64px;
|
|
--section-y-phone: 44px;
|
|
--radius-sm: 4px;
|
|
--radius-md: 8px;
|
|
--radius-lg: 12px;
|
|
--radius-pill: 9999px;
|
|
--elev-flat: none;
|
|
--elev-ring: 0 0 0 1px var(--border);
|
|
--elev-raised: 0 24px 70px rgba(255, 0, 168, 0.12);
|
|
--focus-ring: 0 0 0 4px rgba(255, 0, 168, 0.30);
|
|
--motion-fast: 120ms;
|
|
--motion-base: 200ms;
|
|
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
--container-max: 1240px;
|
|
--container-gutter-desktop: 36px;
|
|
--container-gutter-tablet: 28px;
|
|
--container-gutter-phone: 18px;
|
|
}
|