Quick-witted is a shadcn/ui theme built around a deep cyan primary color (#24444c) with deep red accents (#4c2c24). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep cyan primary (#24444c) on a cyan-tinted background (#050d10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #050d10black |
| Foreground | #031216black | #f6f8f8whitesmoke |
| Card | #fcfcfcsnow | #061113black |
| Card foreground | #030f12black | #f9fafbghostwhite |
| Popover | #ffffffwhite | #050d10black |
| Popover foreground | #031216black | #f6f8f8whitesmoke |
| Primary | #24444cdarkslategray | #24444cdarkslategray |
| Primary foreground | #c1dbe1powderblue | #c1dbe1powderblue |
| Secondary | #4c2c24darkslategray | #4c2c24darkslategray |
| Secondary foreground | #e1c7c1lightgrey | #e1c7c1lightgrey |
| Muted | #e7d8d5gainsboro | #2a1c18black |
| Muted foreground | #403f3fdarkslategray | #c0bfbfsilver |
| Accent | #4c2c24darkslategray | #4c2c24darkslategray |
| Accent foreground | #e1c7c1lightgrey | #e1c7c1lightgrey |
| Destructive | #b82f05firebrick | #f9430borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #24444cdarkslategray | #24444cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.05:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.10:1 | AA |
| Text on background | 18.35:1 | AAA |
| Text on card | 18.33:1 | AAA |
| Primary button | 7.22:1 | AAA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 8.97:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 3.60:1 | AA Large |
Paste this into your globals.css to use Quick-witted in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.172 0.024 214.516);
--muted: oklch(0.894 0.017 34.297);
--muted-foreground: oklch(0.37 0.001 34.31);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.172 0.024 214.516);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.156 0.021 213.044);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.365 0.04 215.661);
--primary-foreground: oklch(0.874 0.029 214.459);
--secondary: oklch(0.332 0.049 34.787);
--secondary-foreground: oklch(0.851 0.03 34.308);
--accent: oklch(0.332 0.049 34.787);
--accent-foreground: oklch(0.851 0.03 34.308);
--destructive: oklch(0.516 0.179 34.736);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.365 0.04 215.661);
--chart-1: oklch(0.365 0.04 215.661);
--chart-2: oklch(0.332 0.049 34.787);
--chart-3: oklch(0.332 0.049 34.787);
--chart-4: oklch(0.36 0.054 34.808);
--chart-5: oklch(0.368 0.042 215.874);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.153 0.015 213.348);
--foreground: oklch(0.978 0.002 214.321);
--muted: oklch(0.242 0.025 34.536);
--muted-foreground: oklch(0.805 0.001 34.315);
--popover: oklch(0.153 0.015 213.348);
--popover-foreground: oklch(0.978 0.002 214.321);
--card: oklch(0.167 0.017 214.59);
--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.365 0.04 215.661);
--primary-foreground: oklch(0.874 0.029 214.459);
--secondary: oklch(0.332 0.049 34.787);
--secondary-foreground: oklch(0.851 0.03 34.308);
--accent: oklch(0.332 0.049 34.787);
--accent-foreground: oklch(0.851 0.03 34.308);
--destructive: oklch(0.648 0.225 34.688);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.365 0.04 215.661);
--chart-1: oklch(0.365 0.04 215.661);
--chart-2: oklch(0.332 0.049 34.787);
--chart-3: oklch(0.332 0.049 34.787);
--chart-4: oklch(0.36 0.054 34.808);
--chart-5: oklch(0.368 0.042 215.874);
}