Strategy is a shadcn/ui theme built around a muted orange primary color (#876e64) with muted violet accents (#6e6487). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#876e64) on a neutral background (#080402).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080402black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #080402black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #080402black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #876e64dimgray | #876e64dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #64876edimgray | #64876edimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #dde9e0gainsboro | #162219black |
| Muted foreground | #464947darkslategray | #b6b9b7silver |
| Accent | #6e6487slategray | #6e6487slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #c11401firebrick | #fe3620orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #876e64dimgray | #876e64dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.74:1 | AA |
| Secondary button | 4.02:1 | AA Large |
| Muted text | 7.29:1 | AAA |
| Accent | 5.49:1 | AA |
| Destructive | 6.24:1 | AA |
| Text on background | 20.42:1 | AAA |
| Text on card | 20.42:1 | AAA |
| Primary button | 4.74:1 | AA |
| Secondary button | 4.02:1 | AA Large |
| Muted text | 8.29:1 | AAA |
| Accent | 5.49:1 | AA |
| Destructive | 3.64:1 | AA Large |
Paste this into your globals.css to use Strategy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.018 154.836);
--muted-foreground: oklch(0.401 0.005 154.959);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.559 0.036 42.687);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.055 153.323);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.525 0.056 297.442);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.515 0.203 30.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.036 42.687);
--chart-1: oklch(0.559 0.036 42.687);
--chart-2: oklch(0.589 0.055 153.323);
--chart-3: oklch(0.525 0.056 297.442);
--chart-4: oklch(0.616 0.058 153.311);
--chart-5: oklch(0.558 0.043 42.622);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.013 50.934);
--foreground: oklch(1 0 180);
--muted: oklch(0.238 0.024 153.146);
--muted-foreground: oklch(0.783 0.004 155.091);
--popover: oklch(0.113 0.013 50.934);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.113 0.013 50.934);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.559 0.036 42.687);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.589 0.055 153.323);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.525 0.056 297.442);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.647 0.236 30.507);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.036 42.687);
--chart-1: oklch(0.559 0.036 42.687);
--chart-2: oklch(0.589 0.055 153.323);
--chart-3: oklch(0.525 0.056 297.442);
--chart-4: oklch(0.616 0.058 153.311);
--chart-5: oklch(0.558 0.043 42.622);
}