sandstorm - darker is a shadcn/ui theme built around a vivid orange primary color (#ff9933) with vivid deep red accents (#800000). The light mode uses a red-tinted background (#330000). Dark mode keeps the vivid orange primary (#ff9933) on a red-tinted background (#330000).
| Token | Light | Dark |
|---|---|---|
| Background | #330000black | #330000black |
| Foreground | #ff9933coral | #ff9933coral |
| Card | #290000black | #290000black |
| Card foreground | #ffa64dsandybrown | #ffa64dsandybrown |
| Popover | #240000black | #240000black |
| Popover foreground | #ffb366sandybrown | #ffb366sandybrown |
| Primary | #ff9933coral | #ff9933coral |
| Primary foreground | #000000black | #000000black |
| Secondary | #53402ddarkolivegreen | #53402ddarkolivegreen |
| Secondary foreground | #e4d9cdgainsboro | #e4d9cdgainsboro |
| Muted | #2b2222darkslategray | #2b2222darkslategray |
| Muted foreground | #b09b9brosybrown | #b09b9brosybrown |
| Accent | #800000maroon | #800000maroon |
| Accent foreground | #ffb3b3lightpink | #ffb3b3lightpink |
| Destructive | #df0c0cred | #df0c0cred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #490404maroon | #490404maroon |
| Input | #570505maroon | #570505maroon |
| Ring | #ff9933coral | #ff9933coral |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.64:1 | AAA |
| Text on card | 9.88:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 5.01:1 | AA |
| Text on background | 8.64:1 | AAA |
| Text on card | 9.88:1 | AAA |
| Primary button | 9.85:1 | AAA |
| Secondary button | 7.08:1 | AAA |
| Muted text | 5.93:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use sandstorm - darker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.202 0.083 29.234);
--foreground: oklch(0.774 0.163 60.276);
--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.823 0.129 64.324);
--card: oklch(0.176 0.072 29.234);
--card-foreground: oklch(0.798 0.147 62.661);
--border: oklch(0.258 0.1 27.928);
--input: oklch(0.292 0.114 28.135);
--primary: oklch(0.774 0.163 60.276);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.386 0.04 66.157);
--secondary-foreground: oklch(0.891 0.02 67.566);
--accent: oklch(0.376 0.154 29.234);
--accent-foreground: oklch(0.838 0.09 19.125);
--destructive: oklch(0.57 0.23 28.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.774 0.163 60.276);
--chart-1: oklch(0.774 0.163 60.276);
--chart-2: oklch(0.386 0.04 66.157);
--chart-3: oklch(0.376 0.154 29.234);
--chart-4: oklch(0.416 0.044 66.11);
--chart-5: oklch(0.777 0.167 59.851);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.202 0.083 29.234);
--foreground: oklch(0.774 0.163 60.276);
--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.823 0.129 64.324);
--card: oklch(0.176 0.072 29.234);
--card-foreground: oklch(0.798 0.147 62.661);
--border: oklch(0.258 0.1 27.928);
--input: oklch(0.292 0.114 28.135);
--primary: oklch(0.774 0.163 60.276);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.386 0.04 66.157);
--secondary-foreground: oklch(0.891 0.02 67.566);
--accent: oklch(0.376 0.154 29.234);
--accent-foreground: oklch(0.838 0.09 19.125);
--destructive: oklch(0.57 0.23 28.845);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.774 0.163 60.276);
--chart-1: oklch(0.774 0.163 60.276);
--chart-2: oklch(0.386 0.04 66.157);
--chart-3: oklch(0.376 0.154 29.234);
--chart-4: oklch(0.416 0.044 66.11);
--chart-5: oklch(0.777 0.167 59.851);
}