Theme Orange is a shadcn/ui theme built around a vivid orange primary color (#f97316) with neutral gray accents (#d9d8da). The light mode uses a neutral background (#fdfbfe). Dark mode switches to a muted deep violet primary (#4a3d57) on a violet-tinted background (#08050a).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #08050ablack |
| Foreground | #0a0311black | #f7f6f9whitesmoke |
| Card | #fdfbfewhite | #08050ablack |
| Card foreground | #0a0311black | #f7f6f9whitesmoke |
| Popover | #fdfbfewhite | #08050ablack |
| Popover foreground | #0a0311black | #f7f6f9whitesmoke |
| Primary | #f97316darkorange | #4a3d57darkslategray |
| Primary foreground | #ffffffwhite | #e3dee8gainsboro |
| Secondary | #f6a815orange | #262527darkslategray |
| Secondary foreground | #ffffffwhite | #bfbec1silver |
| Muted | #f0eaf5lavender | #0f0a15black |
| Muted foreground | #4d4b4edarkslategray | #b3b1b4darkgray |
| Accent | #d9d8dagainsboro | #262527darkslategray |
| Accent foreground | #403e42darkslategray | #bfbec1silver |
| Destructive | #772b0dsaddlebrown | #d34d17chocolate |
| Destructive foreground | #f8cfbfpeachpuff | #ffffffwhite |
| Border | #f0eef2whitesmoke | #26212bdarkslategray |
| Input | #f0eef2whitesmoke | #26212bdarkslategray |
| Ring | #4a3d57darkslategray | #4a3d57darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.70:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 2.80:1 | Fail |
| Secondary button | 1.99:1 | Fail |
| Muted text | 7.33:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 18.80:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 9.17:1 | AAA |
| Accent | 8.20:1 | AAA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Theme Orange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 309.079);
--foreground: oklch(0.126 0.035 308.984);
--muted: oklch(0.946 0.015 308.959);
--muted-foreground: oklch(0.415 0.005 308.989);
--popover: oklch(0.99 0.004 309.079);
--popover-foreground: oklch(0.126 0.035 308.984);
--card: oklch(0.99 0.004 309.079);
--card-foreground: oklch(0.126 0.035 308.984);
--border: oklch(0.951 0.006 309.062);
--input: oklch(0.951 0.006 309.062);
--primary: oklch(0.705 0.187 47.604);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.788 0.163 74.729);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.883 0.003 309.086);
--accent-foreground: oklch(0.367 0.007 308.926);
--destructive: oklch(0.397 0.114 39.651);
--destructive-foreground: oklch(0.885 0.051 42.716);
--ring: oklch(0.385 0.045 307.891);
--chart-1: oklch(0.385 0.045 307.891);
--chart-2: oklch(0.883 0.003 309.086);
--chart-3: oklch(0.883 0.003 309.086);
--chart-4: oklch(0.906 0.003 309.095);
--chart-5: oklch(0.382 0.053 307.65);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.014 309.954);
--foreground: oklch(0.975 0.004 309.081);
--muted: oklch(0.158 0.023 307.555);
--muted-foreground: oklch(0.763 0.005 309.062);
--popover: oklch(0.124 0.014 309.954);
--popover-foreground: oklch(0.975 0.004 309.081);
--card: oklch(0.124 0.014 309.954);
--card-foreground: oklch(0.975 0.004 309.081);
--border: oklch(0.259 0.02 308.326);
--input: oklch(0.259 0.02 308.326);
--primary: oklch(0.385 0.045 307.891);
--primary-foreground: oklch(0.908 0.014 308.965);
--secondary: oklch(0.268 0.003 309.007);
--secondary-foreground: oklch(0.803 0.004 309.076);
--accent: oklch(0.268 0.003 309.007);
--accent-foreground: oklch(0.803 0.004 309.076);
--destructive: oklch(0.596 0.18 38.901);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.385 0.045 307.891);
--chart-1: oklch(0.385 0.045 307.891);
--chart-2: oklch(0.268 0.003 309.007);
--chart-3: oklch(0.268 0.003 309.007);
--chart-4: oklch(0.299 0.004 309.002);
--chart-5: oklch(0.382 0.053 307.65);
}