Spelunking Chicken is a shadcn/ui theme built around a deep blue primary color (#344860) with deep green accents (#486034). The light mode uses a neutral background (#f7fafd). Dark mode keeps the deep blue primary (#344860) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fafdghostwhite | #000000black |
| Foreground | #040a11black | #f9fafbghostwhite |
| Card | #f2f7fcaliceblue | #030303black |
| Card foreground | #03070cblack | #fcfcfdwhite |
| Popover | #f7fafdghostwhite | #000000black |
| Popover foreground | #040a11black | #f9fafbghostwhite |
| Primary | #344860darkslategray | #344860darkslategray |
| Primary foreground | #dbe2ebgainsboro | #dbe2ebgainsboro |
| Secondary | #603448darkslategray | #603448darkslategray |
| Secondary foreground | #ebdbe2gainsboro | #ebdbe2gainsboro |
| Muted | #f0ebedlinen | #140f12black |
| Muted foreground | #504e4fdarkslategray | #b1afb0darkgray |
| Accent | #486034darkolivegreen | #486034darkolivegreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8d1201darkred | #e81d02red |
| Destructive foreground | #fec9c2pink | #ffffffwhite |
| Border | #e8eaeelavender | #1a1e23black |
| Input | #e8eaeelavender | #1a1e23black |
| Ring | #344860darkslategray | #344860darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.92:1 | AAA |
| Text on card | 18.76:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 6.98:1 | AA |
| Destructive | 6.44:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.16:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 7.57:1 | AAA |
| Muted text | 8.67:1 | AAA |
| Accent | 6.98:1 | AA |
| Destructive | 4.54:1 | AA |
Paste this into your globals.css to use Spelunking Chicken in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 251.499);
--foreground: oklch(0.14 0.019 246.403);
--muted: oklch(0.944 0.006 347.084);
--muted-foreground: oklch(0.427 0.002 347.058);
--popover: oklch(0.983 0.006 251.499);
--popover-foreground: oklch(0.14 0.019 246.403);
--card: oklch(0.974 0.009 251.523);
--card-foreground: oklch(0.127 0.016 243.199);
--border: oklch(0.937 0.005 251.497);
--input: oklch(0.937 0.005 251.497);
--primary: oklch(0.397 0.048 252.311);
--primary-foreground: oklch(0.911 0.015 251.58);
--secondary: oklch(0.387 0.07 351.433);
--secondary-foreground: oklch(0.906 0.021 347.527);
--accent: oklch(0.458 0.073 131.657);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.413 0.159 31.191);
--destructive-foreground: oklch(0.882 0.061 27.061);
--ring: oklch(0.397 0.048 252.311);
--chart-1: oklch(0.397 0.048 252.311);
--chart-2: oklch(0.387 0.07 351.433);
--chart-3: oklch(0.458 0.073 131.657);
--chart-4: oklch(0.414 0.075 351.503);
--chart-5: oklch(0.396 0.053 252.411);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 251.463);
--muted: oklch(0.177 0.01 348.301);
--muted-foreground: oklch(0.756 0.002 346.981);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.984 0.002 251.463);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 251.456);
--border: oklch(0.234 0.011 251.807);
--input: oklch(0.234 0.011 251.807);
--primary: oklch(0.397 0.048 252.311);
--primary-foreground: oklch(0.911 0.015 251.58);
--secondary: oklch(0.387 0.07 351.433);
--secondary-foreground: oklch(0.906 0.021 347.527);
--accent: oklch(0.458 0.073 131.657);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.593 0.232 30.624);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.397 0.048 252.311);
--chart-1: oklch(0.397 0.048 252.311);
--chart-2: oklch(0.387 0.07 351.433);
--chart-3: oklch(0.458 0.073 131.657);
--chart-4: oklch(0.414 0.075 351.503);
--chart-5: oklch(0.396 0.053 252.411);
}