open-design/design-systems/renault/tokens.css
chaoxiaoche 477e602951
feat(design-systems): add 20 product and style token fixtures (#2040)
Co-authored-by: chaoxiaoche <chaoxiaoche@chaoxiaochedeMacBook-Pro.local>
2026-05-18 15:42:06 +08:00

63 lines
1.7 KiB
CSS

/* design-systems/renault/tokens.css
* Structured token bindings for Renault.
* electric automotive showroom, warm yellow accents, black engineering text, and modern gallery surfaces.
*/
:root {
--bg: #f7f4ef;
--surface: #ffffff;
--surface-warm: #fff4bf;
--fg: #111111;
--fg-2: #3f3f3f;
--muted: #6f6b63;
--meta: #ffcc33;
--border: #dfd8ca;
--border-soft: #ece6db;
--accent: #ffcc33;
--accent-on: #111111;
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
--accent-active: color-mix(in oklab, var(--accent), black 14%);
--success: #198754;
--warn: #f59e0b;
--danger: #d92d20;
--font-display: "Renault Group", "Helvetica Neue", Arial, sans-serif;
--font-body: "Renault Group", "Helvetica Neue", Arial, sans-serif;
--font-mono: "SF Mono", ui-monospace, Menlo, monospace;
--text-xs: 12px;
--text-sm: 14px;
--text-base: 16px;
--text-lg: 19px;
--text-xl: 26px;
--text-2xl: 38px;
--text-3xl: 58px;
--text-4xl: 82px;
--leading-body: 1.5;
--leading-tight: 1.02;
--tracking-display: -0.03em;
--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: 104px;
--section-y-tablet: 76px;
--section-y-phone: 52px;
--radius-sm: 4px;
--radius-md: 8px;
--radius-lg: 14px;
--radius-pill: 9999px;
--elev-flat: none;
--elev-ring: 0 0 0 1px var(--border);
--elev-raised: 0 22px 58px rgba(17, 17, 17, 0.14);
--focus-ring: 0 0 0 4px rgba(255, 204, 51, 0.36);
--motion-fast: 140ms;
--motion-base: 230ms;
--ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
--container-max: 1220px;
--container-gutter-desktop: 36px;
--container-gutter-tablet: 24px;
--container-gutter-phone: 16px;
}