Files
yoyos.sh/src/styles/tokens.css
T
Johan Sandoval b2cd67e74f
Mirror to Gitea / mirror (push) Skipped
Initial portfolio site
Astro + React islands + MDX with a theme system (terminal, concrete,
nostromo, overgrowth), USMT Dash case study, work/log/sound/models/about/
contact pages, RSS, self-hosted contact form over SMTP, /media proxy to
Nextcloud, Dockerfile for Coolify, and a GitHub Action that mirrors main
to Gitea.
2026-10-08 14:41:39 +00:00

62 lines
1.5 KiB
CSS

/*
* Raw palette. Themes map these onto the semantic tokens below; components
* should only ever use the semantic ones (--bg, --fg, --accent, ...).
*/
:root {
--ink-950: #0a0c09;
--ink-900: #11140f;
--ink-800: #1a1e16;
--ink-700: #262b20;
--cream-50: #f4eedf;
--cream-100: #eae0c8;
--cream-300: #cfc1a0;
--cream-500: #a3967a;
--emerald-300: #63d6a0;
--emerald-400: #33b87c;
--emerald-500: #1c9a63;
--emerald-700: #0f5d3d;
--emerald-900: #0a3123;
--rust-300: #f7a86a;
--rust-400: #f08a3c;
--rust-500: #de6119;
--rust-700: #993e0b;
--peat-300: #a58063;
--peat-500: #6c4b34;
--peat-700: #3f2b1e;
--peat-900: #22170f;
/* type */
--font-display: 'Big Shoulders Variable', 'Arial Narrow', sans-serif;
--font-body: 'IBM Plex Sans Variable', system-ui, sans-serif;
--font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;
--step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
--step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
--step-1: clamp(1.2rem, 1.13rem + 0.35vw, 1.4rem);
--step-2: clamp(1.5rem, 1.35rem + 0.75vw, 2rem);
--step-3: clamp(2rem, 1.7rem + 1.5vw, 3rem);
--step-4: clamp(2.75rem, 2.1rem + 3.2vw, 5rem);
--step-5: clamp(3.5rem, 2.3rem + 6vw, 8.5rem);
/* space */
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.5rem;
--space-6: 2rem;
--space-7: 3rem;
--space-8: 4.5rem;
--space-9: 7rem;
--gutter: clamp(1rem, 4vw, 2.5rem);
--max-w: 76rem;
--prose-w: 68ch;
--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}