Squatter is a shadcn/ui theme built around a teal primary color (#44daad) with cyan accents (#44bcda). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#44daad) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #020e0ablack | #ffffffwhite |
| Card | #fbfefdwhite | #010403black |
| Card foreground | #020e0ablack | #ffffffwhite |
| Popover | #fbfefdwhite | #010403black |
| Popover foreground | #020e0ablack | #ffffffwhite |
| Primary | #44daadmediumturquoise | #44daadmediumturquoise |
| Primary foreground | #0d4434darkslategray | #0d4434darkslategray |
| Secondary | #44da62mediumseagreen | #44da62mediumseagreen |
| Secondary foreground | #0d4418darkgreen | #0d4418darkgreen |
| Muted | #f2f3f2whitesmoke | #0c0d0cblack |
| Muted foreground | #3e5142darkslategray | #aec1b2silver |
| Accent | #44bcdamediumturquoise | #44bcdamediumturquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #9e3b0asaddlebrown | #e6560fchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #44daadmediumturquoise | #44daadmediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 7.66:1 | AAA |
| Accent | 9.44:1 | AAA |
| Destructive | 6.77:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.60:1 | AAA |
| Primary button | 6.26:1 | AA |
| Secondary button | 6.16:1 | AA |
| Muted text | 10.24:1 | AAA |
| Accent | 9.44:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use Squatter in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 176.562);
--foreground: oklch(0.147 0.023 175.558);
--muted: oklch(0.963 0.002 151.976);
--muted-foreground: oklch(0.413 0.034 150.703);
--popover: oklch(0.994 0.003 176.562);
--popover-foreground: oklch(0.147 0.023 175.558);
--card: oklch(0.994 0.003 176.562);
--card-foreground: oklch(0.147 0.023 175.558);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.798 0.142 168.658);
--primary-foreground: oklch(0.347 0.063 168.352);
--secondary: oklch(0.784 0.206 146.651);
--secondary-foreground: oklch(0.341 0.091 146.474);
--accent: oklch(0.741 0.113 217.834);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.486 0.142 41.591);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.142 168.658);
--chart-1: oklch(0.798 0.142 168.658);
--chart-2: oklch(0.784 0.206 146.651);
--chart-3: oklch(0.741 0.113 217.834);
--chart-4: oklch(0.795 0.195 147.163);
--chart-5: oklch(0.806 0.146 168.317);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 176.809);
--foreground: oklch(1 0 180);
--muted: oklch(0.159 0.003 151.721);
--muted-foreground: oklch(0.792 0.029 151.444);
--popover: oklch(0.097 0.01 176.809);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.097 0.01 176.809);
--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.798 0.142 168.658);
--primary-foreground: oklch(0.347 0.063 168.352);
--secondary: oklch(0.784 0.206 146.651);
--secondary-foreground: oklch(0.341 0.091 146.474);
--accent: oklch(0.741 0.113 217.834);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.638 0.192 40.905);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.798 0.142 168.658);
--chart-1: oklch(0.798 0.142 168.658);
--chart-2: oklch(0.784 0.206 146.651);
--chart-3: oklch(0.741 0.113 217.834);
--chart-4: oklch(0.795 0.195 147.163);
--chart-5: oklch(0.806 0.146 168.317);
}