Cuddly Rite of Spring is a shadcn/ui theme built around a vivid light yellow primary color (#feebaa) with vivid light green accents (#e6feaa). The light mode uses a neutral background (#fdfcf7). Dark mode keeps the vivid light yellow primary (#feebaa) on a yellow-tinted background (#0a0905).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcf7snow | #0a0905black |
| Foreground | #090701black | #ffffffwhite |
| Card | #fdfcf7snow | #0a0905black |
| Card foreground | #090701black | #ffffffwhite |
| Popover | #fdfcf7snow | #0a0905black |
| Popover foreground | #090701black | #ffffffwhite |
| Primary | #feebaamoccasin | #feebaamoccasin |
| Primary foreground | #0f0c00black | #0f0c00black |
| Secondary | #fec1aalightpink | #fec1aalightpink |
| Secondary foreground | #742202maroon | #742202maroon |
| Muted | #e8ddd8gainsboro | #271b17black |
| Muted foreground | #655f5ddimgray | #a29c9adarkgray |
| Accent | #e6feaapalegoldenrod | #e6feaapalegoldenrod |
| Accent foreground | #0b0f00black | #0b0f00black |
| Destructive | #c42108firebrick | #e6270aorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e6e5e0gainsboro | #22211bblack |
| Input | #e6e5e0gainsboro | #22211bblack |
| Ring | #feebaamoccasin | #feebaamoccasin |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 16.51:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 4.71:1 | AA |
| Accent | 17.62:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 16.51:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 6.18:1 | AA |
| Accent | 17.62:1 | AAA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use Cuddly Rite of Spring in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 93.941);
--foreground: oklch(0.129 0.02 99.314);
--muted: oklch(0.905 0.014 42.995);
--muted-foreground: oklch(0.491 0.008 42.989);
--popover: oklch(0.99 0.007 93.941);
--popover-foreground: oklch(0.129 0.02 99.314);
--card: oklch(0.99 0.007 93.941);
--card-foreground: oklch(0.129 0.02 99.314);
--border: oklch(0.921 0.007 93.95);
--input: oklch(0.921 0.007 93.95);
--primary: oklch(0.941 0.086 94.492);
--primary-foreground: oklch(0.153 0.031 99.208);
--secondary: oklch(0.861 0.077 42.563);
--secondary-foreground: oklch(0.377 0.121 38.428);
--accent: oklch(0.959 0.11 121.358);
--accent-foreground: oklch(0.159 0.037 120.415);
--destructive: oklch(0.528 0.199 31.263);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.086 94.492);
--chart-1: oklch(0.941 0.086 94.492);
--chart-2: oklch(0.861 0.077 42.563);
--chart-3: oklch(0.959 0.11 121.358);
--chart-4: oklch(0.884 0.063 42.651);
--chart-5: oklch(0.943 0.088 94.494);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.01 96.621);
--foreground: oklch(1 0 180);
--muted: oklch(0.235 0.02 42.582);
--muted-foreground: oklch(0.698 0.007 43.037);
--popover: oklch(0.14 0.01 96.621);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.14 0.01 96.621);
--card-foreground: oklch(1 0 180);
--border: oklch(0.246 0.011 94.277);
--input: oklch(0.246 0.011 94.277);
--primary: oklch(0.941 0.086 94.492);
--primary-foreground: oklch(0.153 0.031 99.208);
--secondary: oklch(0.861 0.077 42.563);
--secondary-foreground: oklch(0.377 0.121 38.428);
--accent: oklch(0.959 0.11 121.358);
--accent-foreground: oklch(0.159 0.037 120.415);
--destructive: oklch(0.595 0.226 31.175);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.086 94.492);
--chart-1: oklch(0.941 0.086 94.492);
--chart-2: oklch(0.861 0.077 42.563);
--chart-3: oklch(0.959 0.11 121.358);
--chart-4: oklch(0.884 0.063 42.651);
--chart-5: oklch(0.943 0.088 94.494);
}