mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +07:00
63 lines
1.7 KiB
CSS
63 lines
1.7 KiB
CSS
/* design-systems/lingo/tokens.css
|
|
* Structured token bindings for Lingo.
|
|
* global localization product language, soft violet action, warm white surfaces, and readable content rows.
|
|
*/
|
|
|
|
:root {
|
|
--bg: #fbf9ff;
|
|
--surface: #ffffff;
|
|
--surface-warm: #f1ecff;
|
|
--fg: #1d1b2a;
|
|
--fg-2: #4f4863;
|
|
--muted: #786f8f;
|
|
--meta: #6d4aff;
|
|
--border: #ded7f0;
|
|
--border-soft: #eee9f8;
|
|
--accent: #6d4aff;
|
|
--accent-on: #ffffff;
|
|
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
--success: #22a06b;
|
|
--warn: #e6a700;
|
|
--danger: #e5484d;
|
|
--font-display: Inter, system-ui, sans-serif;
|
|
--font-body: Inter, system-ui, sans-serif;
|
|
--font-mono: "Roboto Mono", ui-monospace, Menlo, monospace;
|
|
--text-xs: 12px;
|
|
--text-sm: 14px;
|
|
--text-base: 16px;
|
|
--text-lg: 18px;
|
|
--text-xl: 24px;
|
|
--text-2xl: 34px;
|
|
--text-3xl: 50px;
|
|
--text-4xl: 70px;
|
|
--leading-body: 1.55;
|
|
--leading-tight: 1.05;
|
|
--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: 96px;
|
|
--section-y-tablet: 68px;
|
|
--section-y-phone: 48px;
|
|
--radius-sm: 10px;
|
|
--radius-md: 16px;
|
|
--radius-lg: 24px;
|
|
--radius-pill: 9999px;
|
|
--elev-flat: none;
|
|
--elev-ring: 0 0 0 1px var(--border);
|
|
--elev-raised: 0 20px 48px rgba(45, 36, 85, 0.12);
|
|
--focus-ring: 0 0 0 4px rgba(109, 74, 255, 0.24);
|
|
--motion-fast: 150ms;
|
|
--motion-base: 230ms;
|
|
--ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
|
|
--container-max: 1160px;
|
|
--container-gutter-desktop: 36px;
|
|
--container-gutter-tablet: 24px;
|
|
--container-gutter-phone: 16px;
|
|
}
|