Stupidity is a shadcn/ui theme built around a muted cyan primary color (#95b4bb) with muted cyan accents (#b4bec0). The light mode uses a neutral background (#fbfefe). Dark mode keeps the muted cyan primary (#95b4bb) on a cyan-tinted background (#030a0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030a0cblack |
| Foreground | #041216black | #f9fafbghostwhite |
| Card | #fbfefewhite | #030a0cblack |
| Card foreground | #041216black | #f9fafbghostwhite |
| Popover | #fbfefewhite | #030a0cblack |
| Popover foreground | #041216black | #f9fafbghostwhite |
| Primary | #95b4bbdarkgray | #95b4bbdarkgray |
| Primary foreground | #0c1113black | #0c1113black |
| Secondary | #cbcccdlightgrey | #2b3031darkslategray |
| Secondary foreground | #323334darkslategray | #c3c9cbsilver |
| Muted | #ddebeelavender | #111f22black |
| Muted foreground | #50676ddimgray | #92a9afdarkgray |
| Accent | #b4bec0silver | #384447darkslategray |
| Accent foreground | #1e2324black | #d4dcddgainsboro |
| Destructive | #c93a13firebrick | #ea471aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #95b4bbdarkgray | #95b4bbdarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.70:1 | AAA |
| Text on card | 18.70:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 7.89:1 | AAA |
| Muted text | 4.89:1 | AA |
| Accent | 8.37:1 | AAA |
| Destructive | 5.13:1 | AA |
| Text on background | 19.06:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 8.60:1 | AAA |
| Secondary button | 8.00:1 | AAA |
| Muted text | 6.87:1 | AA |
| Accent | 7.19:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Stupidity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 214.325);
--foreground: oklch(0.171 0.023 214.52);
--muted: oklch(0.93 0.015 214.368);
--muted-foreground: oklch(0.497 0.028 214.677);
--popover: oklch(0.994 0.003 214.325);
--popover-foreground: oklch(0.171 0.023 214.52);
--card: oklch(0.994 0.003 214.325);
--card-foreground: oklch(0.171 0.023 214.52);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.749 0.035 214.569);
--primary-foreground: oklch(0.174 0.009 214.609);
--secondary: oklch(0.846 0.001 214.32);
--secondary-foreground: oklch(0.322 0.001 214.327);
--accent: oklch(0.794 0.012 214.361);
--accent-foreground: oklch(0.252 0.007 214.434);
--destructive: oklch(0.558 0.185 34.932);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.035 214.569);
--chart-1: oklch(0.749 0.035 214.569);
--chart-2: oklch(0.846 0.001 214.32);
--chart-3: oklch(0.794 0.012 214.361);
--chart-4: oklch(0.869 0.001 214.32);
--chart-5: oklch(0.751 0.04 214.626);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.014 211.1);
--foreground: oklch(0.985 0.001 214.32);
--muted: oklch(0.227 0.02 215.145);
--muted-foreground: oklch(0.72 0.027 214.486);
--popover: oklch(0.138 0.014 211.1);
--popover-foreground: oklch(0.985 0.001 214.32);
--card: oklch(0.138 0.014 211.1);
--card-foreground: oklch(0.985 0.001 214.32);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.749 0.035 214.569);
--primary-foreground: oklch(0.174 0.009 214.609);
--secondary: oklch(0.304 0.008 214.409);
--secondary-foreground: oklch(0.832 0.007 214.341);
--accent: oklch(0.378 0.017 214.545);
--accent-foreground: oklch(0.888 0.008 214.343);
--destructive: oklch(0.627 0.206 35.086);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.749 0.035 214.569);
--chart-1: oklch(0.749 0.035 214.569);
--chart-2: oklch(0.304 0.008 214.409);
--chart-3: oklch(0.378 0.017 214.545);
--chart-4: oklch(0.335 0.009 214.414);
--chart-5: oklch(0.751 0.04 214.626);
}