Agitated is a shadcn/ui theme built around a vivid deep cyan primary color (#0c5a7e) with vivid deep green accents (#5a7e0c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep cyan primary (#0c5a7e) on a cyan-tinted background (#05090a).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #05090ablack |
| Foreground | #020608black | #f5f8fawhitesmoke |
| Card | #ffffffwhite | #05090ablack |
| Card foreground | #020608black | #f5f8fawhitesmoke |
| Popover | #ffffffwhite | #05090ablack |
| Popover foreground | #020608black | #f5f8fawhitesmoke |
| Primary | #0c5a7eteal | #0c5a7eteal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #7e0c5apurple | #7e0c5apurple |
| Secondary foreground | #f9c2e8pink | #f9c2e8pink |
| Muted | #ecd9e6gainsboro | #261320black |
| Muted foreground | #51434cdarkslategray | #bcaeb7silver |
| Accent | #5a7e0colivedrab | #5a7e0colivedrab |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8e0301darkred | #f40501red |
| Destructive foreground | #ffc3c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c5a7eteal | #0c5a7eteal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 6.67:1 | AA |
| Muted text | 6.95:1 | AA |
| Accent | 4.74:1 | AA |
| Destructive | 6.39:1 | AA |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.77:1 | AAA |
| Primary button | 7.57:1 | AAA |
| Secondary button | 6.67:1 | AA |
| Muted text | 8.29:1 | AAA |
| Accent | 4.74:1 | AA |
| Destructive | 4.32:1 | AA Large |
Paste this into your globals.css to use Agitated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.011 221.292);
--muted: oklch(0.906 0.027 337.133);
--muted-foreground: oklch(0.401 0.023 337.65);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.117 0.011 221.292);
--card: oklch(1 0 180);
--card-foreground: oklch(0.117 0.011 221.292);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.442 0.091 235.906);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.4 0.161 345.771);
--secondary-foreground: oklch(0.875 0.079 338.231);
--accent: oklch(0.546 0.137 127.357);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.408 0.165 29.433);
--destructive-foreground: oklch(0.871 0.069 19.682);
--ring: oklch(0.442 0.091 235.906);
--chart-1: oklch(0.442 0.091 235.906);
--chart-2: oklch(0.4 0.161 345.771);
--chart-3: oklch(0.546 0.137 127.357);
--chart-4: oklch(0.431 0.174 345.924);
--chart-5: oklch(0.445 0.093 236.403);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.009 222.862);
--foreground: oklch(0.978 0.005 226.916);
--muted: oklch(0.217 0.038 339.751);
--muted-foreground: oklch(0.766 0.02 337.054);
--popover: oklch(0.134 0.009 222.862);
--popover-foreground: oklch(0.978 0.005 226.916);
--card: oklch(0.134 0.009 222.862);
--card-foreground: oklch(0.978 0.005 226.916);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.442 0.091 235.906);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.4 0.161 345.771);
--secondary-foreground: oklch(0.875 0.079 338.231);
--accent: oklch(0.546 0.137 127.357);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.608 0.248 29.336);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.442 0.091 235.906);
--chart-1: oklch(0.442 0.091 235.906);
--chart-2: oklch(0.4 0.161 345.771);
--chart-3: oklch(0.546 0.137 127.357);
--chart-4: oklch(0.431 0.174 345.924);
--chart-5: oklch(0.445 0.093 236.403);
}