Waist is a shadcn/ui theme built around a neutral gray primary color (#666a62) with neutral gray accents (#626a62). The light mode uses a neutral background (#fafdf7). Dark mode keeps the neutral gray primary (#666a62) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fafdf7mintcream | #000000black |
| Foreground | #030401black | #f7faf4whitesmoke |
| Card | #fafdf7mintcream | #000000black |
| Card foreground | #030401black | #f7faf4whitesmoke |
| Popover | #fafdf7mintcream | #000000black |
| Popover foreground | #030401black | #f7faf4whitesmoke |
| Primary | #666a62dimgray | #666a62dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #6a6a62dimgray | #6a6a62dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f4f4eblinen | #14140bblack |
| Muted foreground | #666666dimgray | #999999darkgray |
| Accent | #626a62dimgray | #626a62dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #bd0e05firebrick | #e01106red |
| Destructive foreground | #fff6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #666a62dimgray | #666a62dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.02:1 | AAA |
| Text on card | 20.02:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 5.45:1 | AA |
| Muted text | 5.20:1 | AA |
| Accent | 5.58:1 | AA |
| Destructive | 6.11:1 | AA |
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 5.45:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 5.58:1 | AA |
| Destructive | 4.95:1 | AA |
Paste this into your globals.css to use Waist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.009 127.893);
--foreground: oklch(0.101 0.015 126.72);
--muted: oklch(0.966 0.012 105.842);
--muted-foreground: oklch(0.51 0 171.87);
--popover: oklch(0.99 0.009 127.893);
--popover-foreground: oklch(0.101 0.015 126.72);
--card: oklch(0.99 0.009 127.893);
--card-foreground: oklch(0.101 0.015 126.72);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.519 0.013 128.097);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.522 0.012 106.03);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.016 144.88);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.505 0.202 29.583);
--destructive-foreground: oklch(0.979 0.01 21.018);
--ring: oklch(0.519 0.013 128.097);
--chart-1: oklch(0.519 0.013 128.097);
--chart-2: oklch(0.522 0.012 106.03);
--chart-3: oklch(0.515 0.016 144.88);
--chart-4: oklch(0.549 0.013 106.033);
--chart-5: oklch(0.525 0.023 128.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.008 127.887);
--muted: oklch(0.188 0.018 107.174);
--muted-foreground: oklch(0.683 0 180);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.008 127.887);
--card: oklch(0 0 0);
--card-foreground: oklch(0.982 0.008 127.887);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.519 0.013 128.097);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.522 0.012 106.03);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.515 0.016 144.88);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.573 0.23 29.546);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.519 0.013 128.097);
--chart-1: oklch(0.519 0.013 128.097);
--chart-2: oklch(0.522 0.012 106.03);
--chart-3: oklch(0.515 0.016 144.88);
--chart-4: oklch(0.549 0.013 106.033);
--chart-5: oklch(0.525 0.023 128.323);
}