Wait is a shadcn/ui theme built around a muted violet primary color (#988da0) with muted purple accents (#a08d9f). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the muted violet primary (#988da0) on a violet-tinted background (#08040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #08040bblack |
| Foreground | #08040bblack | #faf9fasnow |
| Card | #faf7fdghostwhite | #0b060fblack |
| Card foreground | #050308black | #fcfcfdwhite |
| Popover | #faf7fdghostwhite | #0b060fblack |
| Popover foreground | #050308black | #fcfcfdwhite |
| Primary | #988da0darkgray | #988da0darkgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #8e8da0lightslategray | #8e8da0lightslategray |
| Secondary foreground | #000000black | #000000black |
| Muted | #f1f1f4whitesmoke | #0c0b0eblack |
| Muted foreground | #4e4e50darkslategray | #afafb1darkgray |
| Accent | #a08d9fdarkgray | #a08d9fdarkgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #a72e02firebrick | #ed4102orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #988da0darkgray | #988da0darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.32:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.47:1 | AA |
| Muted text | 7.36:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 6.95:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 6.64:1 | AA |
| Secondary button | 6.47:1 | AA |
| Muted text | 8.94:1 | AAA |
| Accent | 6.80:1 | AA |
| Destructive | 3.91:1 | AA Large |
Paste this into your globals.css to use Wait in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.005 311.044);
--foreground: oklch(0.12 0.023 312.472);
--muted: oklch(0.959 0.003 289.412);
--muted-foreground: oklch(0.426 0.003 289.365);
--popover: oklch(0.98 0.009 311.003);
--popover-foreground: oklch(0.105 0.02 312.643);
--card: oklch(0.98 0.009 311.003);
--card-foreground: oklch(0.105 0.02 312.643);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.659 0.03 310.69);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.028 288.662);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.666 0.034 328.03);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.484 0.164 36.306);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.659 0.03 310.69);
--chart-1: oklch(0.659 0.03 310.69);
--chart-2: oklch(0.651 0.028 288.662);
--chart-3: oklch(0.666 0.034 328.03);
--chart-4: oklch(0.678 0.025 288.762);
--chart-5: oklch(0.654 0.04 310.554);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.02 312.343);
--foreground: oklch(0.984 0.001 311.071);
--muted: oklch(0.153 0.005 288.808);
--muted-foreground: oklch(0.755 0.002 289.423);
--popover: oklch(0.134 0.023 310.982);
--popover-foreground: oklch(0.992 0.001 311.078);
--card: oklch(0.134 0.023 310.982);
--card-foreground: oklch(0.992 0.001 311.078);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.659 0.03 310.69);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.651 0.028 288.662);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.666 0.034 328.03);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.627 0.216 35.549);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.659 0.03 310.69);
--chart-1: oklch(0.659 0.03 310.69);
--chart-2: oklch(0.651 0.028 288.662);
--chart-3: oklch(0.666 0.034 328.03);
--chart-4: oklch(0.678 0.025 288.762);
--chart-5: oklch(0.654 0.04 310.554);
}