Starchy is a shadcn/ui theme built around a green primary color (#88cd8b) with red accents (#cd8b88). The light mode uses a neutral background (#fbfefb). Dark mode keeps the green primary (#88cd8b) on a neutral background (#010401).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #010401black |
| Foreground | #051505black | #f9fbf9mintcream |
| Card | #fbfefbwhite | #010401black |
| Card foreground | #051505black | #f9fbf9mintcream |
| Popover | #fbfefbwhite | #010401black |
| Popover foreground | #051505black | #f9fbf9mintcream |
| Primary | #88cd8bdarkseagreen | #88cd8bdarkseagreen |
| Primary foreground | #0b190bblack | #0b190bblack |
| Secondary | #8b88cdmediumpurple | #8b88cdmediumpurple |
| Secondary foreground | #0b0b19black | #0b0b19black |
| Muted | #cdcce5lightgrey | #1a1a33midnightblue |
| Muted foreground | #5b5a6cdimgray | #9393a5darkgray |
| Accent | #cd8b88rosybrown | #cd8b88rosybrown |
| Accent foreground | #190b0bblack | #190b0bblack |
| Destructive | #a82b05firebrick | #f8430dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #88cd8bdarkseagreen | #88cd8bdarkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.51:1 | AAA |
| Text on card | 18.51:1 | AAA |
| Primary button | 9.66:1 | AAA |
| Secondary button | 6.05:1 | AA |
| Muted text | 4.28:1 | AA Large |
| Accent | 6.97:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 9.66:1 | AAA |
| Secondary button | 6.05:1 | AA |
| Muted text | 5.62:1 | AA |
| Accent | 6.97:1 | AA |
| Destructive | 3.62:1 | AA Large |
Paste this into your globals.css to use Starchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 146.499);
--foreground: oklch(0.174 0.039 144.516);
--muted: oklch(0.854 0.035 287.168);
--muted-foreground: oklch(0.477 0.029 286.788);
--popover: oklch(0.994 0.005 146.499);
--popover-foreground: oklch(0.174 0.039 144.516);
--card: oklch(0.994 0.005 146.499);
--card-foreground: oklch(0.174 0.039 144.516);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.786 0.117 145.134);
--primary-foreground: oklch(0.196 0.035 144.836);
--secondary: oklch(0.657 0.102 284.759);
--secondary-foreground: oklch(0.157 0.031 283.78);
--accent: oklch(0.702 0.082 21.546);
--accent-foreground: oklch(0.171 0.025 22.136);
--destructive: oklch(0.485 0.167 34.969);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.786 0.117 145.134);
--chart-1: oklch(0.786 0.117 145.134);
--chart-2: oklch(0.657 0.102 284.759);
--chart-3: oklch(0.702 0.082 21.546);
--chart-4: oklch(0.689 0.092 285.255);
--chart-5: oklch(0.791 0.124 145.038);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.017 145.188);
--foreground: oklch(0.985 0.002 146.52);
--muted: oklch(0.231 0.048 283.491);
--muted-foreground: oklch(0.668 0.026 287.197);
--popover: oklch(0.096 0.017 145.188);
--popover-foreground: oklch(0.985 0.002 146.52);
--card: oklch(0.096 0.017 145.188);
--card-foreground: oklch(0.985 0.002 146.52);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.786 0.117 145.134);
--primary-foreground: oklch(0.196 0.035 144.836);
--secondary: oklch(0.657 0.102 284.759);
--secondary-foreground: oklch(0.157 0.031 283.78);
--accent: oklch(0.702 0.082 21.546);
--accent-foreground: oklch(0.171 0.025 22.136);
--destructive: oklch(0.646 0.223 34.801);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.786 0.117 145.134);
--chart-1: oklch(0.786 0.117 145.134);
--chart-2: oklch(0.657 0.102 284.759);
--chart-3: oklch(0.702 0.082 21.546);
--chart-4: oklch(0.689 0.092 285.255);
--chart-5: oklch(0.791 0.124 145.038);
}