prototype
MAmattpocock/skills337k4,978 new stars in the last 7 days
Foundational: apply while planning or first building a page or feature, because these choices are expensive to change later. Build a theme system from a few inputs (Linear uses three: accent color, background color, contrast) and derive every other color token from them, instead of hand-defining dozens of variables per theme. Gives users personal themes without letting them make it ugly. Use when adding theming, custom themes, dark mode variants, brand/accent color customization, or when a design has too many hand-picked color tokens.
When: upfront, when colors and theming are first set up; converting a pile of hand-picked tokens later is a big job. Fine shade tuning can wait.
Before their redesign, every Linear theme needed 98 variables defined by hand. Now a theme is three inputs: accent, background, contrast. A system derives the ~90 tokens from those. Simple enough to maintain, powerful enough to feel personal, constrained enough that users can't make it look horrible. Related: design-color-on-color (shading on known backgrounds).
--base-bg, --accent, --contrast (a 0–1 or low/normal/high scale). Dark vs light falls out of the background's lightness; don't make it a separate theme.:root {
--base-bg: oklch(0.99 0.005 260);
--accent: oklch(0.6 0.18 270);
--contrast: 1; /* 0.7 low … 1.4 high */
--dir: 1; /* -1 when background is dark */
--bg-raised: oklch(from var(--base-bg) calc(l - 0.02 * var(--dir)) c h);
--border: oklch(from var(--base-bg) calc(l - 0.08 * var(--dir) * var(--contrast)) c h);
--text-2: oklch(from var(--base-bg) calc(l - 0.45 * var(--dir) * var(--contrast)) calc(c * 2) h);
--text-1: oklch(from var(--base-bg) calc(l - 0.8 * var(--dir) * var(--contrast)) c h);
--accent-hover: oklch(from var(--accent) calc(l + 0.05 * var(--dir)) c h);
}
MAmattpocock/skills337k4,978 new stars in the last 7 days
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
FIfirecrawl/firecrawl215k5,595 new stars in the last 7 days
Apply color and font themes to slides, docs and web pages, with 10 built-in themes.
ANanthropics/skills203k3,265 new stars in the last 7 days
Set visual direction and typography for UI, avoiding templated defaults.
ANanthropics/skills203k3,265 new stars in the last 7 days
Build complex HTML artifacts with React, Tailwind CSS, state management and routing.
ANanthropics/skills203k3,265 new stars in the last 7 days