Dark Orange is a shadcn/ui theme built around a violet primary color (#baa0da) with green accents (#c0daa0). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the violet primary (#baa0da) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #07030cblack | #ffffffwhite |
| Card | #fcfcfdwhite | #000000black |
| Card foreground | #07030cblack | #ffffffwhite |
| Popover | #fcfcfdwhite | #000000black |
| Popover foreground | #07030cblack | #ffffffwhite |
| Primary | #baa0daplum | #baa0daplum |
| Primary foreground | #221433midnightblue | #221433midnightblue |
| Secondary | #c0daa0silver | #c0daa0silver |
| Secondary foreground | #253314darkgreen | #253314darkgreen |
| Muted | #f3f7edwhitesmoke | #0d1208black |
| Muted foreground | #4f534bdarkslategray | #b0b4acdarkgray |
| Accent | #c0daa0silver | #c0daa0silver |
| Accent foreground | #253314darkgreen | #253314darkgreen |
| Destructive | #8e1601darkred | #fe4e2ftomato |
| Destructive foreground | #ffcbc2pink | #ffffffwhite |
| Border | #eae9edlavender | #211e24black |
| Input | #eae9edlavender | #211e24black |
| Ring | #baa0daplum | #baa0daplum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 8.80:1 | AAA |
| Muted text | 7.25:1 | AAA |
| Accent | 8.80:1 | AAA |
| Destructive | 6.43:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 7.47:1 | AAA |
| Secondary button | 8.80:1 | AAA |
| Muted text | 9.01:1 | AAA |
| Accent | 8.80:1 | AAA |
| Destructive | 3.31:1 | AA Large |
Paste this into your globals.css to use Dark Orange in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 306.396);
--foreground: oklch(0.115 0.027 307.584);
--muted: oklch(0.971 0.014 126.618);
--muted-foreground: oklch(0.436 0.013 126.829);
--popover: oklch(0.991 0.002 306.396);
--popover-foreground: oklch(0.115 0.027 307.584);
--card: oklch(0.991 0.002 306.396);
--card-foreground: oklch(0.115 0.027 307.584);
--border: oklch(0.935 0.006 306.349);
--input: oklch(0.935 0.006 306.349);
--primary: oklch(0.748 0.087 304.927);
--primary-foreground: oklch(0.228 0.061 302.651);
--secondary: oklch(0.854 0.083 127.743);
--secondary-foreground: oklch(0.301 0.055 129.244);
--accent: oklch(0.854 0.083 127.743);
--accent-foreground: oklch(0.301 0.055 129.244);
--destructive: oklch(0.417 0.157 32.092);
--destructive-foreground: oklch(0.885 0.06 29.865);
--ring: oklch(0.748 0.087 304.927);
--chart-1: oklch(0.748 0.087 304.927);
--chart-2: oklch(0.854 0.083 127.743);
--chart-3: oklch(0.854 0.083 127.743);
--chart-4: oklch(0.871 0.073 127.555);
--chart-5: oklch(0.745 0.093 304.813);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.173 0.022 127.883);
--muted-foreground: oklch(0.764 0.012 126.627);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.241 0.013 305.728);
--input: oklch(0.241 0.013 305.728);
--primary: oklch(0.748 0.087 304.927);
--primary-foreground: oklch(0.228 0.061 302.651);
--secondary: oklch(0.854 0.083 127.743);
--secondary-foreground: oklch(0.301 0.055 129.244);
--accent: oklch(0.854 0.083 127.743);
--accent-foreground: oklch(0.301 0.055 129.244);
--destructive: oklch(0.669 0.217 32.381);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.748 0.087 304.927);
--chart-1: oklch(0.748 0.087 304.927);
--chart-2: oklch(0.854 0.083 127.743);
--chart-3: oklch(0.854 0.083 127.743);
--chart-4: oklch(0.871 0.073 127.555);
--chart-5: oklch(0.745 0.093 304.813);
}