Kennel is a shadcn/ui theme built around a yellow primary color (#ccac2e) with purple accents (#ac2ecc). The light mode uses a neutral background (#fefdfb). Dark mode keeps the yellow primary (#ccac2e) on a neutral background (#080702).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #080702black |
| Foreground | #131106black | #ffffffwhite |
| Card | #fcfbf8snow | #0c0a03black |
| Card foreground | #100d05black | #ffffffwhite |
| Popover | #fefdfbsnow | #080702black |
| Popover foreground | #131106black | #ffffffwhite |
| Primary | #ccac2egoldenrod | #ccac2egoldenrod |
| Primary foreground | #252008black | #252008black |
| Secondary | #2eccaclightseagreen | #2eccaclightseagreen |
| Secondary foreground | #082520black | #082520black |
| Muted | #d9ede9gainsboro | #122622black |
| Muted foreground | #485b57darkslategray | #a4b7b3darkgray |
| Accent | #ac2eccdarkorchid | #ac2eccdarkorchid |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #690d07maroon | #f34b3ftomato |
| Destructive foreground | #f9aea9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ccac2egoldenrod | #ccac2egoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 5.22:1 | AA |
| Destructive | 6.98:1 | AA |
| Text on background | 20.16:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.38:1 | AAA |
| Secondary button | 7.96:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 5.22:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Kennel in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 95.063);
--foreground: oklch(0.176 0.021 96.399);
--muted: oklch(0.93 0.021 182.546);
--muted-foreground: oklch(0.455 0.025 181.613);
--popover: oklch(0.994 0.002 95.063);
--popover-foreground: oklch(0.176 0.021 96.399);
--card: oklch(0.989 0.005 95.092);
--card-foreground: oklch(0.16 0.019 97.189);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.752 0.141 94.14);
--primary-foreground: oklch(0.243 0.038 95.399);
--secondary: oklch(0.759 0.133 175.268);
--secondary-foreground: oklch(0.242 0.036 177.593);
--accent: oklch(0.564 0.237 318.475);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.337 0.126 29.663);
--destructive-foreground: oklch(0.822 0.089 23.747);
--ring: oklch(0.752 0.141 94.14);
--chart-1: oklch(0.752 0.141 94.14);
--chart-2: oklch(0.759 0.133 175.268);
--chart-3: oklch(0.564 0.237 318.475);
--chart-4: oklch(0.777 0.133 175.791);
--chart-5: oklch(0.76 0.144 93.892);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.016 99.499);
--foreground: oklch(1 0 180);
--muted: oklch(0.25 0.027 179.73);
--muted-foreground: oklch(0.764 0.022 182.369);
--popover: oklch(0.127 0.016 99.499);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.146 0.019 98.867);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.752 0.141 94.14);
--primary-foreground: oklch(0.243 0.038 95.399);
--secondary: oklch(0.759 0.133 175.268);
--secondary-foreground: oklch(0.242 0.036 177.593);
--accent: oklch(0.564 0.237 318.475);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.649 0.206 28.284);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.752 0.141 94.14);
--chart-1: oklch(0.752 0.141 94.14);
--chart-2: oklch(0.759 0.133 175.268);
--chart-3: oklch(0.564 0.237 318.475);
--chart-4: oklch(0.777 0.133 175.791);
--chart-5: oklch(0.76 0.144 93.892);
}