Left is a shadcn/ui theme built around a muted light orange primary color (#e0dad2) with muted light violet accents (#dad2e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light orange primary (#e0dad2) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070503black |
| Foreground | #160e04black | #fbfaf9snow |
| Card | #ffffffwhite | #070503black |
| Card foreground | #160e04black | #fbfaf9snow |
| Popover | #ffffffwhite | #070503black |
| Popover foreground | #160e04black | #fbfaf9snow |
| Primary | #e0dad2gainsboro | #e0dad2gainsboro |
| Primary foreground | #4b4234darkslategray | #4b4234darkslategray |
| Secondary | #d2e0dagainsboro | #d2e0dagainsboro |
| Secondary foreground | #344b42darkslategray | #344b42darkslategray |
| Muted | #d8eee5gainsboro | #11271eblack |
| Muted foreground | #4d5c55darkslategray | #a3b2acdarkgray |
| Accent | #dad2e0gainsboro | #dad2e0gainsboro |
| Accent foreground | #42344bdarkslategray | #42344bdarkslategray |
| Destructive | #c84a14chocolate | #ea632achocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e0dad2gainsboro | #e0dad2gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 6.88:1 | AA |
| Muted text | 5.79:1 | AA |
| Accent | 7.81:1 | AAA |
| Destructive | 4.74:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 7.09:1 | AAA |
| Secondary button | 6.88:1 | AA |
| Muted text | 7.16:1 | AAA |
| Accent | 7.81:1 | AAA |
| Destructive | 6.32:1 | AA |
Paste this into your globals.css to use Left in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.171 0.026 78.128);
--muted: oklch(0.93 0.025 168.875);
--muted-foreground: oklch(0.459 0.021 168.285);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.171 0.026 78.128);
--card: oklch(1 0 180);
--card-foreground: oklch(0.171 0.026 78.128);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.89 0.013 76.583);
--primary-foreground: oklch(0.384 0.025 76.121);
--secondary: oklch(0.894 0.017 169.134);
--secondary-foreground: oklch(0.391 0.033 167.024);
--accent: oklch(0.874 0.021 311.534);
--accent-foreground: oklch(0.35 0.043 310.733);
--destructive: oklch(0.573 0.171 39.787);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.89 0.013 76.583);
--chart-1: oklch(0.89 0.013 76.583);
--chart-2: oklch(0.894 0.017 169.134);
--chart-3: oklch(0.874 0.021 311.534);
--chart-4: oklch(0.915 0.013 169.255);
--chart-5: oklch(0.891 0.015 76.569);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.008 81.04);
--foreground: oklch(0.986 0.002 76.642);
--muted: oklch(0.25 0.033 165.14);
--muted-foreground: oklch(0.751 0.019 168.934);
--popover: oklch(0.119 0.008 81.04);
--popover-foreground: oklch(0.986 0.002 76.642);
--card: oklch(0.119 0.008 81.04);
--card-foreground: oklch(0.986 0.002 76.642);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.89 0.013 76.583);
--primary-foreground: oklch(0.384 0.025 76.121);
--secondary: oklch(0.894 0.017 169.134);
--secondary-foreground: oklch(0.391 0.033 167.024);
--accent: oklch(0.874 0.021 311.534);
--accent-foreground: oklch(0.35 0.043 310.733);
--destructive: oklch(0.662 0.18 41.172);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.89 0.013 76.583);
--chart-1: oklch(0.89 0.013 76.583);
--chart-2: oklch(0.894 0.017 169.134);
--chart-3: oklch(0.874 0.021 311.534);
--chart-4: oklch(0.915 0.013 169.255);
--chart-5: oklch(0.891 0.015 76.569);
}