Kettle is a shadcn/ui theme built around a vivid light purple primary color (#fba6fc) with vivid light green accents (#a7fca6). The light mode uses a neutral background (#fcf8fc). Dark mode keeps the vivid light purple primary (#fba6fc) on a purple-tinted background (#0a050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fcsnow | #0a050ablack |
| Foreground | #0f0510black | #f9f6f9whitesmoke |
| Card | #fcf8fcsnow | #0a050ablack |
| Card foreground | #0f0510black | #f9f6f9whitesmoke |
| Popover | #fcf8fcsnow | #0a050ablack |
| Popover foreground | #0f0510black | #f9f6f9whitesmoke |
| Primary | #fba6fcviolet | #fba6fcviolet |
| Primary foreground | #6b036dpurple | #6b036dpurple |
| Secondary | #a7fca6palegreen | #a7fca6palegreen |
| Secondary foreground | #000a00black | #000a00black |
| Muted | #e5f0e5beige | #0f1a0fblack |
| Muted foreground | #5b5d5bdimgray | #a2a4a2darkgray |
| Accent | #a7fca6palegreen | #a7fca6palegreen |
| Accent foreground | #000a00black | #000a00black |
| Destructive | #b94a0esienna | #e45b11chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fba6fcviolet | #fba6fcviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 16.44:1 | AAA |
| Muted text | 5.67:1 | AA |
| Accent | 16.44:1 | AAA |
| Destructive | 5.19:1 | AA |
| Text on background | 18.82:1 | AAA |
| Text on card | 18.82:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 16.44:1 | AAA |
| Muted text | 7.13:1 | AAA |
| Accent | 16.44:1 | AAA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Kettle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.008 325.156);
--foreground: oklch(0.139 0.031 326.54);
--muted: oklch(0.944 0.018 144.967);
--muted-foreground: oklch(0.475 0.004 145.046);
--popover: oklch(0.983 0.008 325.156);
--popover-foreground: oklch(0.139 0.031 326.54);
--card: oklch(0.983 0.008 325.156);
--card-foreground: oklch(0.139 0.031 326.54);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.836 0.148 326.226);
--primary-foreground: oklch(0.373 0.169 327.49);
--secondary: oklch(0.917 0.142 143.937);
--secondary-foreground: oklch(0.126 0.04 142.209);
--accent: oklch(0.917 0.142 143.937);
--accent-foreground: oklch(0.126 0.04 142.209);
--destructive: oklch(0.55 0.157 42.824);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.148 326.226);
--chart-1: oklch(0.836 0.148 326.226);
--chart-2: oklch(0.917 0.142 143.937);
--chart-3: oklch(0.917 0.142 143.937);
--chart-4: oklch(0.929 0.119 144.148);
--chart-5: oklch(0.836 0.152 326.258);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.017 326.043);
--foreground: oklch(0.976 0.005 325.135);
--muted: oklch(0.203 0.026 144.157);
--muted-foreground: oklch(0.717 0.003 145.068);
--popover: oklch(0.128 0.017 326.043);
--popover-foreground: oklch(0.976 0.005 325.135);
--card: oklch(0.128 0.017 326.043);
--card-foreground: oklch(0.976 0.005 325.135);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.836 0.148 326.226);
--primary-foreground: oklch(0.373 0.169 327.49);
--secondary: oklch(0.917 0.142 143.937);
--secondary-foreground: oklch(0.126 0.04 142.209);
--accent: oklch(0.917 0.142 143.937);
--accent-foreground: oklch(0.126 0.04 142.209);
--destructive: oklch(0.64 0.185 42.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.148 326.226);
--chart-1: oklch(0.836 0.148 326.226);
--chart-2: oklch(0.917 0.142 143.937);
--chart-3: oklch(0.917 0.142 143.937);
--chart-4: oklch(0.929 0.119 144.148);
--chart-5: oklch(0.836 0.152 326.258);
}