kakies is a shadcn/ui theme built around a vivid yellow primary color (#e6c43d) with muted light yellow accents (#d8d5cb). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the vivid yellow primary (#e6c43d) on a yellow-tinted background (#0c0a03).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #0c0a03black |
| Foreground | #100d05black | #fbfbf9snow |
| Card | #fcfbf8snow | #100e04black |
| Card foreground | #0c0a04black | #fdfdfcwhite |
| Popover | #fdfdfcwhite | #0c0a03black |
| Popover foreground | #100d05black | #fbfbf9snow |
| Primary | #e6c43dgoldenrod | #e6c43dgoldenrod |
| Primary foreground | #4d3f0adarkolivegreen | #4d3f0adarkolivegreen |
| Secondary | #d8d5cblightgrey | #3b382bdarkslategray |
| Secondary foreground | #403d30darkslategray | #d4d1c4lightgrey |
| Muted | #ecebe9linen | #161513black |
| Muted foreground | #484847darkslategray | #b8b8b7silver |
| Accent | #d8d5cblightgrey | #3b382bdarkslategray |
| Accent foreground | #403d30darkslategray | #d4d1c4lightgrey |
| Destructive | #c12715firebrick | #e6321eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eeeeecwhitesmoke | #252522darkslategray |
| Input | #eeeeecwhitesmoke | #252522darkslategray |
| Ring | #e6c43dgoldenrod | #e6c43dgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 7.70:1 | AAA |
| Accent | 7.40:1 | AAA |
| Destructive | 5.90:1 | AA |
| Text on background | 19.09:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 6.06:1 | AA |
| Secondary button | 7.68:1 | AAA |
| Muted text | 9.18:1 | AAA |
| Accent | 7.68:1 | AAA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use kakies in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 95.058);
--foreground: oklch(0.16 0.019 97.189);
--muted: oklch(0.941 0.003 95.068);
--muted-foreground: oklch(0.401 0.002 95.091);
--popover: oklch(0.994 0.002 95.058);
--popover-foreground: oklch(0.16 0.019 97.189);
--card: oklch(0.988 0.004 95.083);
--card-foreground: oklch(0.144 0.017 98.644);
--border: oklch(0.948 0.002 95.053);
--input: oklch(0.948 0.002 95.053);
--primary: oklch(0.827 0.151 94.453);
--primary-foreground: oklch(0.373 0.07 94);
--secondary: oklch(0.872 0.014 95.22);
--secondary-foreground: oklch(0.358 0.021 95.61);
--accent: oklch(0.872 0.014 95.22);
--accent-foreground: oklch(0.358 0.021 95.61);
--destructive: oklch(0.526 0.192 30.506);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.827 0.151 94.453);
--chart-1: oklch(0.827 0.151 94.453);
--chart-2: oklch(0.872 0.014 95.22);
--chart-3: oklch(0.872 0.014 95.22);
--chart-4: oklch(0.894 0.012 95.186);
--chart-5: oklch(0.834 0.154 94.28);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.145 0.018 98.773);
--foreground: oklch(0.987 0.003 95.066);
--muted: oklch(0.196 0.004 95.26);
--muted-foreground: oklch(0.783 0.002 95.059);
--popover: oklch(0.145 0.018 98.773);
--popover-foreground: oklch(0.987 0.003 95.066);
--card: oklch(0.161 0.02 97.336);
--card-foreground: oklch(0.993 0.001 95.05);
--border: oklch(0.262 0.004 95.22);
--input: oklch(0.262 0.004 95.22);
--primary: oklch(0.827 0.151 94.453);
--primary-foreground: oklch(0.373 0.07 94);
--secondary: oklch(0.339 0.022 95.652);
--secondary-foreground: oklch(0.859 0.018 95.271);
--accent: oklch(0.339 0.022 95.652);
--accent-foreground: oklch(0.859 0.018 95.271);
--destructive: oklch(0.603 0.218 30.489);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.827 0.151 94.453);
--chart-1: oklch(0.827 0.151 94.453);
--chart-2: oklch(0.339 0.022 95.652);
--chart-3: oklch(0.339 0.022 95.652);
--chart-4: oklch(0.372 0.025 95.663);
--chart-5: oklch(0.834 0.154 94.28);
}