Agitated is a shadcn/ui theme built around a purple primary color (#c94ac7) with pink accents (#c94a88). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#c94ac7) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #000000black | #fcf8fcsnow |
| Card | #ffffffwhite | #030203black |
| Card foreground | #000000black | #fcf8fcsnow |
| Popover | #ffffffwhite | #030203black |
| Popover foreground | #000000black | #fcf8fcsnow |
| Primary | #c94ac7mediumorchid | #c94ac7mediumorchid |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #8c4ac9darkorchid | #8c4ac9darkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d9cde5gainsboro | #271a32darkslategray |
| Muted foreground | #43384cdarkslategray | #bdb3c7silver |
| Accent | #c94a88palevioletred | #c94a88palevioletred |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #d11305firebrick | #ef1606red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c94ac7mediumorchid | #c94ac7mediumorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.96:1 | AA Large |
| Secondary button | 5.32:1 | AA |
| Muted text | 7.23:1 | AAA |
| Accent | 4.35:1 | AA Large |
| Destructive | 5.52:1 | AA |
| Text on background | 19.71:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 3.96:1 | AA Large |
| Secondary button | 5.32:1 | AA |
| Muted text | 8.13:1 | AAA |
| Accent | 4.35:1 | AA Large |
| Destructive | 4.39: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 0 0);
--muted: oklch(0.865 0.035 308.703);
--muted-foreground: oklch(0.361 0.036 308.068);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.627 0.214 328.436);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.55 0.191 304.638);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.599 0.172 353.576);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.545 0.217 29.796);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.627 0.214 328.436);
--chart-1: oklch(0.627 0.214 328.436);
--chart-2: oklch(0.55 0.191 304.638);
--chart-3: oklch(0.599 0.172 353.576);
--chart-4: oklch(0.577 0.18 305.295);
--chart-5: oklch(0.63 0.223 328.515);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.012 326.95);
--foreground: oklch(0.983 0.006 326.104);
--muted: oklch(0.246 0.047 307.051);
--muted-foreground: oklch(0.781 0.03 308.723);
--popover: oklch(0.089 0.012 326.95);
--popover-foreground: oklch(0.983 0.006 326.104);
--card: oklch(0.089 0.012 326.95);
--card-foreground: oklch(0.983 0.006 326.104);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.627 0.214 328.436);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.55 0.191 304.638);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.599 0.172 353.576);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.602 0.24 29.758);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.627 0.214 328.436);
--chart-1: oklch(0.627 0.214 328.436);
--chart-2: oklch(0.55 0.191 304.638);
--chart-3: oklch(0.599 0.172 353.576);
--chart-4: oklch(0.577 0.18 305.295);
--chart-5: oklch(0.63 0.223 328.515);
}