Starchy is a shadcn/ui theme built around a vivid deep violet primary color (#3c0b56) with vivid deep teal accents (#0b563c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep violet primary (#3c0b56) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #09030cblack | #f8f5fawhitesmoke |
| Card | #ffffffwhite | #030203black |
| Card foreground | #09030cblack | #f8f5fawhitesmoke |
| Popover | #ffffffwhite | #030203black |
| Popover foreground | #09030cblack | #f8f5fawhitesmoke |
| Primary | #3c0b56midnightblue | #3c0b56midnightblue |
| Primary foreground | #d6a0f3plum | #d6a0f3plum |
| Secondary | #563c0bsaddlebrown | #563c0bsaddlebrown |
| Secondary foreground | #f3d6a0navajowhite | #f3d6a0navajowhite |
| Muted | #f4f1eblinen | #14110bblack |
| Muted foreground | #5f5b54dimgray | #aba7a0darkgray |
| Accent | #0b563cdarkslategray | #0b563cdarkslategray |
| Accent foreground | #a0f3d6paleturquoise | #a0f3d6paleturquoise |
| Destructive | #950d09darkred | #f11a13red |
| Destructive foreground | #fcd5d4mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3c0b56midnightblue | #3c0b56midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.38:1 | AAA |
| Text on card | 20.38:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.30:1 | AAA |
| Muted text | 5.98:1 | AA |
| Accent | 6.73:1 | AA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.19:1 | AAA |
| Text on card | 19.19:1 | AAA |
| Primary button | 7.41:1 | AAA |
| Secondary button | 7.30:1 | AAA |
| Muted text | 7.88:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 4.27:1 | AA Large |
Paste this into your globals.css to use Starchy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.118 0.03 315.969);
--muted: oklch(0.959 0.008 83.063);
--muted-foreground: oklch(0.472 0.012 83.06);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.118 0.03 315.969);
--card: oklch(1 0 180);
--card-foreground: oklch(0.118 0.03 315.969);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.282 0.126 309.765);
--primary-foreground: oklch(0.785 0.129 313.285);
--secondary: oklch(0.376 0.072 77.701);
--secondary-foreground: oklch(0.888 0.077 82.695);
--accent: oklch(0.404 0.082 163.237);
--accent-foreground: oklch(0.903 0.091 170.148);
--destructive: oklch(0.427 0.167 29.064);
--destructive-foreground: oklch(0.906 0.044 20.339);
--ring: oklch(0.282 0.126 309.765);
--chart-1: oklch(0.282 0.126 309.765);
--chart-2: oklch(0.376 0.072 77.701);
--chart-3: oklch(0.404 0.082 163.237);
--chart-4: oklch(0.415 0.08 77.326);
--chart-5: oklch(0.282 0.129 309.484);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.086 0.011 315.354);
--foreground: oklch(0.973 0.008 314.176);
--muted: oklch(0.177 0.012 82.886);
--muted-foreground: oklch(0.731 0.011 83.065);
--popover: oklch(0.086 0.011 315.354);
--popover-foreground: oklch(0.973 0.008 314.176);
--card: oklch(0.086 0.011 315.354);
--card-foreground: oklch(0.973 0.008 314.176);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.282 0.126 309.765);
--primary-foreground: oklch(0.785 0.129 313.285);
--secondary: oklch(0.376 0.072 77.701);
--secondary-foreground: oklch(0.888 0.077 82.695);
--accent: oklch(0.404 0.082 163.237);
--accent-foreground: oklch(0.903 0.091 170.148);
--destructive: oklch(0.609 0.24 29.125);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.282 0.126 309.765);
--chart-1: oklch(0.282 0.126 309.765);
--chart-2: oklch(0.376 0.072 77.701);
--chart-3: oklch(0.404 0.082 163.237);
--chart-4: oklch(0.415 0.08 77.326);
--chart-5: oklch(0.282 0.129 309.484);
}