Stale is a shadcn/ui theme built around a light orange primary color (#f6dfd5) with light yellow accents (#f6efd5). The light mode uses a neutral background (#fefcfb). Dark mode keeps the light orange primary (#f6dfd5) on an orange-tinted background (#0b0604).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0b0604black |
| Foreground | #0d0502black | #fbfaf9snow |
| Card | #fdf9f7snow | #0f0806black |
| Card foreground | #090401black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #0b0604black |
| Popover foreground | #0d0502black | #fbfaf9snow |
| Primary | #f6dfd5antiquewhite | #f6dfd5antiquewhite |
| Primary foreground | #7d391csaddlebrown | #7d391csaddlebrown |
| Secondary | #f6d5dcmistyrose | #f6d5dcmistyrose |
| Secondary foreground | #7d1c30brown | #7d1c30brown |
| Muted | #eddee1gainsboro | #211215black |
| Muted foreground | #666062dimgray | #9f999adarkgray |
| Accent | #f6efd5antiquewhite | #f6efd5antiquewhite |
| Accent foreground | #2a2309black | #2a2309black |
| Destructive | #750d0bmaroon | #ee4744tomato |
| Destructive foreground | #f8bab9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6dfd5antiquewhite | #f6dfd5antiquewhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 4.71:1 | AA |
| Accent | 13.57:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 7.44:1 | AAA |
| Muted text | 6.45:1 | AA |
| Accent | 13.57:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Stale in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 44.958);
--foreground: oklch(0.129 0.02 55.133);
--muted: oklch(0.913 0.018 3.708);
--muted-foreground: oklch(0.497 0.008 3.607);
--popover: oklch(0.992 0.002 44.958);
--popover-foreground: oklch(0.129 0.02 55.133);
--card: oklch(0.984 0.005 44.934);
--card-foreground: oklch(0.113 0.017 55.948);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.92 0.028 44.695);
--primary-foreground: oklch(0.43 0.103 42.368);
--secondary: oklch(0.903 0.037 4.264);
--secondary-foreground: oklch(0.394 0.13 14.44);
--accent: oklch(0.951 0.034 95.421);
--accent-foreground: oklch(0.258 0.041 95.29);
--destructive: oklch(0.36 0.137 28.201);
--destructive-foreground: oklch(0.846 0.073 19.813);
--ring: oklch(0.92 0.028 44.695);
--chart-1: oklch(0.92 0.028 44.695);
--chart-2: oklch(0.903 0.037 4.264);
--chart-3: oklch(0.951 0.034 95.421);
--chart-4: oklch(0.932 0.025 3.91);
--chart-5: oklch(0.919 0.029 44.683);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.13 0.011 50.685);
--foreground: oklch(0.985 0.001 44.968);
--muted: oklch(0.204 0.027 6.692);
--muted-foreground: oklch(0.687 0.007 3.466);
--popover: oklch(0.13 0.011 50.685);
--popover-foreground: oklch(0.985 0.001 44.968);
--card: oklch(0.144 0.013 48.691);
--card-foreground: oklch(0.992 0.001 44.975);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.92 0.028 44.695);
--primary-foreground: oklch(0.43 0.103 42.368);
--secondary: oklch(0.903 0.037 4.264);
--secondary-foreground: oklch(0.394 0.13 14.44);
--accent: oklch(0.951 0.034 95.421);
--accent-foreground: oklch(0.258 0.041 95.29);
--destructive: oklch(0.638 0.204 25.882);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.92 0.028 44.695);
--chart-1: oklch(0.92 0.028 44.695);
--chart-2: oklch(0.903 0.037 4.264);
--chart-3: oklch(0.951 0.034 95.421);
--chart-4: oklch(0.932 0.025 3.91);
--chart-5: oklch(0.919 0.029 44.683);
}