Stake is a shadcn/ui theme built around a vivid deep orange primary color (#6a2c0b) with vivid deep blue accents (#0b496a). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid deep orange primary (#6a2c0b) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #0a0705black |
| Foreground | #110804black | #fcf9f8snow |
| Card | #fcf9f8snow | #0e0907black |
| Card foreground | #0d0603black | #fdfcfcsnow |
| Popover | #fcf9f8snow | #0e0907black |
| Popover foreground | #0d0603black | #fdfcfcsnow |
| Primary | #6a2c0bsaddlebrown | #6a2c0bsaddlebrown |
| Primary foreground | #f7c9b1peachpuff | #f7c9b1peachpuff |
| Secondary | #0b496adarkslategray | #0b496adarkslategray |
| Secondary foreground | #b1def7powderblue | #b1def7powderblue |
| Muted | #eff3f5whitesmoke | #0a0e10black |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #0b496adarkslategray | #0b496adarkslategray |
| Accent foreground | #b1def7powderblue | #b1def7powderblue |
| Destructive | #910c08darkred | #df130cred |
| Destructive foreground | #fcd0cfpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6a2c0bsaddlebrown | #6a2c0bsaddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 9.30:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.17:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 6.74:1 | AA |
| Muted text | 10.56:1 | AAA |
| Accent | 6.74:1 | AA |
| Destructive | 4.96:1 | AA |
Paste this into your globals.css to use Stake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.001 50.64);
--foreground: oklch(0.146 0.02 57.015);
--muted: oklch(0.962 0.005 230.735);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.985 0.003 50.62);
--popover-foreground: oklch(0.132 0.017 59.843);
--card: oklch(0.985 0.003 50.62);
--card-foreground: oklch(0.132 0.017 59.843);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.376 0.098 44.735);
--primary-foreground: oklch(0.87 0.062 49.823);
--secondary: oklch(0.386 0.081 239.008);
--secondary-foreground: oklch(0.877 0.058 231.785);
--accent: oklch(0.386 0.081 239.008);
--accent-foreground: oklch(0.877 0.058 231.785);
--destructive: oklch(0.418 0.164 29.107);
--destructive-foreground: oklch(0.895 0.05 20.455);
--ring: oklch(0.376 0.098 44.735);
--chart-1: oklch(0.376 0.098 44.735);
--chart-2: oklch(0.386 0.081 239.008);
--chart-3: oklch(0.386 0.081 239.008);
--chart-4: oklch(0.419 0.089 239.296);
--chart-5: oklch(0.378 0.101 44.299);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.009 55.684);
--foreground: oklch(0.985 0.003 50.622);
--muted: oklch(0.159 0.008 231.457);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0.146 0.011 53.546);
--popover-foreground: oklch(0.992 0.001 50.641);
--card: oklch(0.146 0.011 53.546);
--card-foreground: oklch(0.992 0.001 50.641);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.376 0.098 44.735);
--primary-foreground: oklch(0.87 0.062 49.823);
--secondary: oklch(0.386 0.081 239.008);
--secondary-foreground: oklch(0.877 0.058 231.785);
--accent: oklch(0.386 0.081 239.008);
--accent-foreground: oklch(0.877 0.058 231.785);
--destructive: oklch(0.572 0.228 29.231);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.376 0.098 44.735);
--chart-1: oklch(0.376 0.098 44.735);
--chart-2: oklch(0.386 0.081 239.008);
--chart-3: oklch(0.386 0.081 239.008);
--chart-4: oklch(0.419 0.089 239.296);
--chart-5: oklch(0.378 0.101 44.299);
}