Crazy is a shadcn/ui theme built around a teal primary color (#64c1c4) with red accents (#c46764). The light mode uses a neutral background (#fbfefe). Dark mode keeps the teal primary (#64c1c4) on a teal-tinted background (#030c0c).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefewhite | #030c0cblack |
| Foreground | #020809black | #fcfdfdwhite |
| Card | #fbfefewhite | #030c0cblack |
| Card foreground | #020809black | #fcfdfdwhite |
| Popover | #fbfefewhite | #030c0cblack |
| Popover foreground | #020809black | #fcfdfdwhite |
| Primary | #64c1c4mediumaquamarine | #64c1c4mediumaquamarine |
| Primary foreground | #000000black | #000000black |
| Secondary | #c46764indianred | #c46764indianred |
| Secondary foreground | #000000black | #000000black |
| Muted | #f3edeclinen | #130c0cblack |
| Muted foreground | #5c4d4ddimgray | #b2a4a3darkgray |
| Accent | #c46764indianred | #c46764indianred |
| Accent foreground | #000000black | #000000black |
| Destructive | #d3420dchocolate | #eb4a0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #64c1c4mediumaquamarine | #64c1c4mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 9.95:1 | AAA |
| Secondary button | 5.46:1 | AA |
| Muted text | 6.89:1 | AA |
| Accent | 5.46:1 | AA |
| Destructive | 4.60:1 | AA |
| Text on background | 19.41:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 9.95:1 | AAA |
| Secondary button | 5.46:1 | AA |
| Muted text | 8.04:1 | AAA |
| Accent | 5.46:1 | AA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Crazy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 199.559);
--foreground: oklch(0.126 0.016 197.408);
--muted: oklch(0.95 0.007 19.709);
--muted-foreground: oklch(0.435 0.02 20.281);
--popover: oklch(0.995 0.003 199.559);
--popover-foreground: oklch(0.126 0.016 197.408);
--card: oklch(0.995 0.003 199.559);
--card-foreground: oklch(0.126 0.016 197.408);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.755 0.089 198.412);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.621 0.119 23.161);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.621 0.119 23.161);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.583 0.189 36.921);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.089 198.412);
--chart-1: oklch(0.755 0.089 198.412);
--chart-2: oklch(0.621 0.119 23.161);
--chart-3: oklch(0.621 0.119 23.161);
--chart-4: oklch(0.647 0.11 22.641);
--chart-5: oklch(0.762 0.093 198.393);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.016 197.815);
--foreground: oklch(0.994 0.002 199.583);
--muted: oklch(0.164 0.011 20.675);
--muted-foreground: oklch(0.73 0.017 19.942);
--popover: oklch(0.143 0.016 197.815);
--popover-foreground: oklch(0.994 0.002 199.583);
--card: oklch(0.143 0.016 197.815);
--card-foreground: oklch(0.994 0.002 199.583);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.755 0.089 198.412);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.621 0.119 23.161);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.621 0.119 23.161);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.631 0.206 36.787);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.755 0.089 198.412);
--chart-1: oklch(0.755 0.089 198.412);
--chart-2: oklch(0.621 0.119 23.161);
--chart-3: oklch(0.621 0.119 23.161);
--chart-4: oklch(0.647 0.11 22.641);
--chart-5: oklch(0.762 0.093 198.393);
}