Squiggly is a shadcn/ui theme built around a deep green primary color (#1d491f) with deep red accents (#491f1d). The light mode uses a neutral background (#fbfefb). Dark mode keeps the deep green primary (#1d491f) on a green-tinted background (#041005).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #041005black |
| Foreground | #031703black | #ffffffwhite |
| Card | #f7fdf7mintcream | #051406black |
| Card foreground | #021203black | #ffffffwhite |
| Popover | #f7fdf7mintcream | #051406black |
| Popover foreground | #021203black | #ffffffwhite |
| Primary | #1d491fdarkgreen | #1d491fdarkgreen |
| Primary foreground | #b6e2b8silver | #b6e2b8silver |
| Secondary | #1f1d49midnightblue | #1f1d49midnightblue |
| Secondary foreground | #b8b6e2lightsteelblue | #b8b6e2lightsteelblue |
| Muted | #e4e4e7gainsboro | #18181bblack |
| Muted foreground | #5d5c60dimgray | #9f9fa3darkgray |
| Accent | #491f1dmaroon | #491f1dmaroon |
| Accent foreground | #e2b8b6lightpink | #e2b8b6lightpink |
| Destructive | #96320dsaddlebrown | #ed6331tomato |
| Destructive foreground | #fce3d9antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1d491fdarkgreen | #1d491fdarkgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.32:1 | AAA |
| Text on card | 18.65:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 5.23:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.40:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.19:1 | AAA |
| Secondary button | 8.14:1 | AAA |
| Muted text | 6.70:1 | AA |
| Accent | 7.88:1 | AAA |
| Destructive | 6.42:1 | AA |
Paste this into your globals.css to use Squiggly in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 146.496);
--foreground: oklch(0.18 0.05 143.989);
--muted: oklch(0.92 0.003 287.871);
--muted-foreground: oklch(0.478 0.006 287.707);
--popover: oklch(0.988 0.01 146.45);
--popover-foreground: oklch(0.162 0.044 144.139);
--card: oklch(0.988 0.01 146.45);
--card-foreground: oklch(0.162 0.044 144.139);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.363 0.085 144.168);
--primary-foreground: oklch(0.87 0.074 145.769);
--secondary: oklch(0.26 0.079 280.861);
--secondary-foreground: oklch(0.792 0.062 286.424);
--accent: oklch(0.298 0.065 23.795);
--accent-foreground: oklch(0.818 0.049 20.521);
--destructive: oklch(0.46 0.142 37.846);
--destructive-foreground: oklch(0.933 0.03 41.088);
--ring: oklch(0.363 0.085 144.168);
--chart-1: oklch(0.363 0.085 144.168);
--chart-2: oklch(0.26 0.079 280.861);
--chart-3: oklch(0.298 0.065 23.795);
--chart-4: oklch(0.283 0.089 280.563);
--chart-5: oklch(0.366 0.09 144.039);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.032 144.806);
--foreground: oklch(1 0 180);
--muted: oklch(0.211 0.005 287.499);
--muted-foreground: oklch(0.703 0.005 287.796);
--popover: oklch(0.173 0.037 144.636);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.173 0.037 144.636);
--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.363 0.085 144.168);
--primary-foreground: oklch(0.87 0.074 145.769);
--secondary: oklch(0.26 0.079 280.861);
--secondary-foreground: oklch(0.792 0.062 286.424);
--accent: oklch(0.298 0.065 23.795);
--accent-foreground: oklch(0.818 0.049 20.521);
--destructive: oklch(0.667 0.182 39.186);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.363 0.085 144.168);
--chart-1: oklch(0.363 0.085 144.168);
--chart-2: oklch(0.26 0.079 280.861);
--chart-3: oklch(0.298 0.065 23.795);
--chart-4: oklch(0.283 0.089 280.563);
--chart-5: oklch(0.366 0.09 144.039);
}