Fastwhisper / frontend /src /styles /tokens.css
Mbonea's picture
Redesign: Refined Warm design system (clay accent)
5deec6e
Raw
History Blame Contribute Delete
2.48 kB
:root {
color-scheme: light;
/* β€”β€” Base surfaces (Refined Warm, built on the original #ebe7e0) β€”β€” */
--bg: #ebe7e0;
--bg-elevated: #f1ede6;
--card: #ffffff; /* crisp white surfaces */
--surface: #ffffff;
--surface-solid: #ffffff;
--surface-secondary: #f6f3ed;
--ink: #2b2a26; /* near-black warm ink */
/* β€”β€” Text β€”β€” */
--text: #2b2a26;
--text-secondary: #5c574f;
--text-tertiary: #8b8579;
--separator: rgba(43, 42, 38, 0.08);
/* β€”β€” Accent: clay (replaces the old gold #e8a317) β€”β€” */
--accent: #9b6b43;
--accent-ink: #6e4a2e;
--accent-soft: rgba(155, 107, 67, 0.16);
--accent-tint: #e8d9c9; /* opaque clay tint for solid fills */
--accent-fill: #f3e8da; /* softest clay wash */
/* β€”β€” Result states (paired hue + tint, retuned to sit with clay) β€”β€” */
--ok: #4f7a5c; /* sage */
--ok-bg: #e3ede6;
--warn: #b07e2f; /* amber */
--warn-bg: #f3e8d2;
--danger: #a8523e; /* clay-red */
--danger-bg: #f2e0da;
--pending-bg: #f3e8da;
--pending-border: #9b6b43;
/* β€”β€” Layering β€”β€” */
--scrim: rgba(43, 42, 38, 0.42);
/* β€”β€” Shadows: 3 soft tiers β€”β€” */
--shadow: 0 8px 28px rgba(43, 42, 38, 0.10), 0 2px 6px rgba(43, 42, 38, 0.05);
--shadow-1: 0 1px 2px rgba(43, 42, 38, 0.05);
--shadow-2: 0 4px 16px rgba(43, 42, 38, 0.06), 0 1px 3px rgba(43, 42, 38, 0.04);
--shadow-3: 0 8px 28px rgba(43, 42, 38, 0.10), 0 2px 6px rgba(43, 42, 38, 0.05);
/* β€”β€” Geometry β€”β€” */
--radius: 20px;
--radius-sm: 12px;
--radius-md: 16px;
--pad: 1.25rem;
--hit: 44px;
--btn-h: 52px;
--fab-size: 58px;
--tab-h: 72px;
/* β€”β€” Type scale β€”β€” */
--fs-display: 30px;
--fs-h1: 24px;
--fs-section: 17px;
--fs-body: 15px;
--fs-caption: 13px;
--fs-micro: 11px;
/* β€”β€” Spacing scale (4px base) β€”β€” */
--s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
--s-5: 20px; --s-6: 24px; --s-7: 32px;
--font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
--safe-top: env(safe-area-inset-top, 0px);
--safe-bottom: env(safe-area-inset-bottom, 0px);
font: 400 16px/1.47 var(--font);
background: var(--bg);
color: var(--text);
letter-spacing: 0;
}
@media (prefers-contrast: more) {
:root {
--separator: rgba(32, 32, 32, 0.28);
--text-secondary: #444444;
--shadow: none;
--shadow-1: none;
--shadow-2: none;
--shadow-3: none;
}
}