Squeaky is a shadcn/ui theme built around a blue primary color (#3a9ad9) with green accents (#9ad93a). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#3a9ad9) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010304black |
| Foreground | #050e14black | #f4f8fawhitesmoke |
| Card | #f7fafdghostwhite | #020608black |
| Card foreground | #040b10black | #f8fafcghostwhite |
| Popover | #f7fafdghostwhite | #020608black |
| Popover foreground | #040b10black | #f8fafcghostwhite |
| Primary | #3a9ad9steelblue | #3a9ad9steelblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #d93a9amediumvioletred | #d93a9amediumvioletred |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f5eaf1whitesmoke | #150a10black |
| Muted foreground | #595959dimgray | #a6a6a6darkgray |
| Accent | #9ad93ayellowgreen | #9ad93ayellowgreen |
| Accent foreground | #293c0bdarkgreen | #293c0bdarkgreen |
| Destructive | #8f2305darkred | #f74c1dorangered |
| Destructive foreground | #fdd4c9bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3a9ad9steelblue | #3a9ad9steelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.03:1 | AAA |
| Text on card | 18.95:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 4.17:1 | AA Large |
| Muted text | 5.99:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 6.41:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.78:1 | AA |
| Secondary button | 4.17:1 | AA Large |
| Muted text | 7.97:1 | AAA |
| Accent | 7.10:1 | AAA |
| Destructive | 3.50:1 | AA Large |
Paste this into your globals.css to use Squeaky in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 236.468);
--foreground: oklch(0.159 0.02 236.372);
--muted: oklch(0.948 0.014 340.563);
--muted-foreground: oklch(0.465 0 180);
--popover: oklch(0.985 0.005 236.502);
--popover-foreground: oklch(0.145 0.017 233.755);
--card: oklch(0.985 0.005 236.502);
--card-foreground: oklch(0.145 0.017 233.755);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.658 0.13 242.029);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.615 0.214 348.498);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.815 0.195 129.282);
--accent-foreground: oklch(0.328 0.076 128.939);
--destructive: oklch(0.429 0.148 34.583);
--destructive-foreground: oklch(0.902 0.049 35.951);
--ring: oklch(0.658 0.13 242.029);
--chart-1: oklch(0.658 0.13 242.029);
--chart-2: oklch(0.615 0.214 348.498);
--chart-3: oklch(0.815 0.195 129.282);
--chart-4: oklch(0.633 0.204 347.575);
--chart-5: oklch(0.66 0.134 242.407);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.01 228.977);
--foreground: oklch(0.977 0.005 236.51);
--muted: oklch(0.163 0.022 343.054);
--muted-foreground: oklch(0.724 0 180);
--popover: oklch(0.115 0.013 228.977);
--popover-foreground: oklch(0.985 0.003 236.485);
--card: oklch(0.115 0.013 228.977);
--card-foreground: oklch(0.985 0.003 236.485);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.658 0.13 242.029);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.615 0.214 348.498);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.815 0.195 129.282);
--accent-foreground: oklch(0.328 0.076 128.939);
--destructive: oklch(0.654 0.214 35.094);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.658 0.13 242.029);
--chart-1: oklch(0.658 0.13 242.029);
--chart-2: oklch(0.615 0.214 348.498);
--chart-3: oklch(0.815 0.195 129.282);
--chart-4: oklch(0.633 0.204 347.575);
--chart-5: oklch(0.66 0.134 242.407);
}