Squeaky is a shadcn/ui theme built around a green primary color (#1cc443) with teal accents (#1cc497). The light mode uses a neutral background (#f8fbf9). Dark mode keeps the green primary (#1cc443) on a green-tinted background (#050b06).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fbf9mintcream | #050b06black |
| Foreground | #010402black | #ffffffwhite |
| Card | #f5faf6whitesmoke | #060e08black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f5faf6whitesmoke | #060e08black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #1cc443limegreen | #1cc443limegreen |
| Primary foreground | #031206black | #031206black |
| Secondary | #49c41climegreen | #49c41climegreen |
| Secondary foreground | #071203black | #071203black |
| Muted | #eff2eewhitesmoke | #0e110dblack |
| Muted foreground | #465143darkslategray | #b2bcaedarkgray |
| Accent | #1cc497lightseagreen | #1cc497lightseagreen |
| Accent foreground | #03120eblack | #03120eblack |
| Destructive | #d54b0bchocolate | #ed540corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1cc443limegreen | #1cc443limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 8.41:1 | AAA |
| Muted text | 7.36:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 4.32:1 | AA Large |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 8.28:1 | AAA |
| Secondary button | 8.41:1 | AAA |
| Muted text | 9.66:1 | AAA |
| Accent | 8.59:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Squeaky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.005 153.164);
--foreground: oklch(0.097 0.015 152.563);
--muted: oklch(0.957 0.006 137.203);
--muted-foreground: oklch(0.422 0.028 137.354);
--popover: oklch(0.98 0.007 153.125);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.98 0.007 153.125);
--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.717 0.213 145.737);
--primary-foreground: oklch(0.162 0.035 151.168);
--secondary: oklch(0.724 0.222 139.599);
--secondary-foreground: oklch(0.165 0.038 135.861);
--accent: oklch(0.732 0.143 168.326);
--accent-foreground: oklch(0.165 0.025 175.581);
--destructive: oklch(0.597 0.185 39.592);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.717 0.213 145.737);
--chart-1: oklch(0.717 0.213 145.737);
--chart-2: oklch(0.724 0.222 139.599);
--chart-3: oklch(0.732 0.143 168.326);
--chart-4: oklch(0.76 0.233 139.624);
--chart-5: oklch(0.725 0.219 145.523);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.138 0.016 152.731);
--foreground: oklch(1 0 180);
--muted: oklch(0.174 0.009 137.31);
--muted-foreground: oklch(0.784 0.024 137.262);
--popover: oklch(0.153 0.018 152.168);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.153 0.018 152.168);
--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.717 0.213 145.737);
--primary-foreground: oklch(0.162 0.035 151.168);
--secondary: oklch(0.724 0.222 139.599);
--secondary-foreground: oklch(0.165 0.038 135.861);
--accent: oklch(0.732 0.143 168.326);
--accent-foreground: oklch(0.165 0.025 175.581);
--destructive: oklch(0.646 0.201 39.419);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.717 0.213 145.737);
--chart-1: oklch(0.717 0.213 145.737);
--chart-2: oklch(0.724 0.222 139.599);
--chart-3: oklch(0.732 0.143 168.326);
--chart-4: oklch(0.76 0.233 139.624);
--chart-5: oklch(0.725 0.219 145.523);
}