sandstorm - classic is a shadcn/ui theme built around a yellow primary color (#e0ab24) with vivid deep red accents (#800000). The light mode uses a red-tinted background (#330000). Dark mode keeps the yellow primary (#e0ab24) on a red-tinted background (#330000).
| Token | Light | Dark |
|---|---|---|
| Background | #330000black | #330000black |
| Foreground | #ff6666salmon | #ff6666salmon |
| Card | #290000black | #290000black |
| Card foreground | #ff8080salmon | #ff8080salmon |
| Popover | #240000black | #240000black |
| Popover foreground | #ff9999lightsalmon | #ff9999lightsalmon |
| Primary | #e0ab24goldenrod | #e0ab24goldenrod |
| Primary foreground | #312507black | #312507black |
| Secondary | #53482ddarkolivegreen | #53482ddarkolivegreen |
| Secondary foreground | #e4decdgainsboro | #e4decdgainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #800000maroon | #800000maroon |
| Accent foreground | #ffb3b3lightpink | #ffb3b3lightpink |
| Destructive | #f23731crimson | #f23731crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #490404maroon | #490404maroon |
| Input | #570505maroon | #570505maroon |
| Ring | #e0ab24goldenrod | #e0ab24goldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.43:1 | AA |
| Text on card | 7.91:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 3.91:1 | AA Large |
| Text on background | 6.43:1 | AA |
| Text on card | 7.91:1 | AAA |
| Primary button | 7.14:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use sandstorm - classic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.202 0.083 29.234);
--foreground: oklch(0.704 0.187 23.186);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.163 0.067 29.234);
--popover-foreground: oklch(0.788 0.123 20.186);
--card: oklch(0.176 0.072 29.234);
--card-foreground: oklch(0.744 0.156 21.533);
--border: oklch(0.258 0.1 27.928);
--input: oklch(0.292 0.114 28.135);
--primary: oklch(0.769 0.149 84.479);
--primary-foreground: oklch(0.272 0.048 86.803);
--secondary: oklch(0.405 0.044 88.766);
--secondary-foreground: oklch(0.9 0.023 88.935);
--accent: oklch(0.376 0.154 29.234);
--accent-foreground: oklch(0.838 0.09 19.125);
--destructive: oklch(0.629 0.223 27.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.149 84.479);
--chart-1: oklch(0.769 0.149 84.479);
--chart-2: oklch(0.405 0.044 88.766);
--chart-3: oklch(0.376 0.154 29.234);
--chart-4: oklch(0.438 0.049 88.746);
--chart-5: oklch(0.776 0.152 84.044);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.202 0.083 29.234);
--foreground: oklch(0.704 0.187 23.186);
--muted: oklch(0.261 0.014 18.092);
--muted-foreground: oklch(0.708 0.025 17.766);
--popover: oklch(0.163 0.067 29.234);
--popover-foreground: oklch(0.788 0.123 20.186);
--card: oklch(0.176 0.072 29.234);
--card-foreground: oklch(0.744 0.156 21.533);
--border: oklch(0.258 0.1 27.928);
--input: oklch(0.292 0.114 28.135);
--primary: oklch(0.769 0.149 84.479);
--primary-foreground: oklch(0.272 0.048 86.803);
--secondary: oklch(0.405 0.044 88.766);
--secondary-foreground: oklch(0.9 0.023 88.935);
--accent: oklch(0.376 0.154 29.234);
--accent-foreground: oklch(0.838 0.09 19.125);
--destructive: oklch(0.629 0.223 27.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.149 84.479);
--chart-1: oklch(0.769 0.149 84.479);
--chart-2: oklch(0.405 0.044 88.766);
--chart-3: oklch(0.376 0.154 29.234);
--chart-4: oklch(0.438 0.049 88.746);
--chart-5: oklch(0.776 0.152 84.044);
}