Starchy is a shadcn/ui theme built around a muted light purple primary color (#ddd0da) with muted light green accents (#d0ddd3). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the muted light purple primary (#ddd0da) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #040103black |
| Foreground | #000000black | #fdfbfdsnow |
| Card | #fbf4f9lavenderblush | #080306black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf8fbsnow | #040103black |
| Popover foreground | #000000black | #fdfbfdsnow |
| Primary | #ddd0dagainsboro | #ddd0dagainsboro |
| Primary foreground | #473342darkslategray | #473342darkslategray |
| Secondary | #d0ddd3lightgrey | #d0ddd3lightgrey |
| Secondary foreground | #334738darkslategray | #334738darkslategray |
| Muted | #dbf0e0gainsboro | #0f2414black |
| Muted foreground | #535f56dimgray | #a0aca2darkgray |
| Accent | #d0ddd3lightgrey | #d0ddd3lightgrey |
| Accent foreground | #334738darkslategray | #334738darkslategray |
| Destructive | #61280amaroon | #e35e16chocolate |
| Destructive foreground | #f6c3a7navajowhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ddd0dagainsboro | #ddd0dagainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 5.58:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 7.27:1 | AAA |
| Text on background | 20.15:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 7.72:1 | AAA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Starchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.006 333.346);
--foreground: oklch(0 0 0);
--muted: oklch(0.935 0.03 152.706);
--muted-foreground: oklch(0.473 0.022 152.468);
--popover: oklch(0.983 0.006 333.346);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.974 0.01 333.4);
--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.87 0.02 333.602);
--primary-foreground: oklch(0.351 0.037 334.858);
--secondary: oklch(0.884 0.019 152.876);
--secondary-foreground: oklch(0.376 0.036 151.576);
--accent: oklch(0.884 0.019 152.876);
--accent-foreground: oklch(0.376 0.036 151.576);
--destructive: oklch(0.355 0.092 44.804);
--destructive-foreground: oklch(0.855 0.07 49.694);
--ring: oklch(0.87 0.02 333.602);
--chart-1: oklch(0.87 0.02 333.602);
--chart-2: oklch(0.884 0.019 152.876);
--chart-3: oklch(0.884 0.019 152.876);
--chart-4: oklch(0.906 0.016 152.954);
--chart-5: oklch(0.869 0.023 333.67);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.015 333.911);
--foreground: oklch(0.991 0.003 333.289);
--muted: oklch(0.236 0.04 149.97);
--muted-foreground: oklch(0.732 0.02 152.798);
--popover: oklch(0.086 0.015 333.911);
--popover-foreground: oklch(0.991 0.003 333.289);
--card: oklch(0.109 0.019 333.911);
--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.87 0.02 333.602);
--primary-foreground: oklch(0.351 0.037 334.858);
--secondary: oklch(0.884 0.019 152.876);
--secondary-foreground: oklch(0.376 0.036 151.576);
--accent: oklch(0.884 0.019 152.876);
--accent-foreground: oklch(0.376 0.036 151.576);
--destructive: oklch(0.644 0.182 43.155);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.02 333.602);
--chart-1: oklch(0.87 0.02 333.602);
--chart-2: oklch(0.884 0.019 152.876);
--chart-3: oklch(0.884 0.019 152.876);
--chart-4: oklch(0.906 0.016 152.954);
--chart-5: oklch(0.869 0.023 333.67);
}