open-design/design-systems/mono/tokens.css
chaoxiaoche e8887aab13
feat(design-systems): add remaining style token fixtures (#2043)
Co-authored-by: chaoxiaoche <chaoxiaoche@chaoxiaochedeMacBook-Pro.local>
2026-05-18 15:42:48 +08:00

63 lines
1.7 KiB
CSS

/* design-systems/mono/tokens.css
* Structured token bindings for Mono.
* monochrome interface with black ink, white surfaces, and severe component discipline.
*/
:root {
--bg: #ffffff;
--surface: #f7f7f7;
--surface-warm: #eeeeee;
--fg: #111111;
--fg-2: #3a3a3a;
--muted: #707070;
--meta: #111111;
--border: #d9d9d9;
--border-soft: #eeeeee;
--accent: #111111;
--accent-on: #ffffff;
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
--accent-active: color-mix(in oklab, var(--accent), black 14%);
--success: #168a46;
--warn: #b7791f;
--danger: #c53030;
--font-display: "IBM Plex Mono", ui-monospace, monospace;
--font-body: "IBM Plex Mono", ui-monospace, monospace;
--font-mono: "IBM Plex Mono", ui-monospace, monospace;
--text-xs: 11px;
--text-sm: 12px;
--text-base: 14px;
--text-lg: 16px;
--text-xl: 20px;
--text-2xl: 28px;
--text-3xl: 40px;
--text-4xl: 56px;
--leading-body: 1.45;
--leading-tight: 1.06;
--tracking-display: -0.025em;
--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: 80px;
--section-y-tablet: 60px;
--section-y-phone: 42px;
--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 16px 40px rgba(0, 0, 0, 0.10);
--focus-ring: 0 0 0 3px rgba(17, 17, 17, 0.18);
--motion-fast: 100ms;
--motion-base: 180ms;
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
--container-max: 1280px;
--container-gutter-desktop: 36px;
--container-gutter-tablet: 24px;
--container-gutter-phone: 16px;
}