Waiver is a shadcn/ui theme built around a muted teal primary color (#8da5a1) with muted red accents (#a58d91). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the muted teal primary (#8da5a1) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #020807black |
| Foreground | #010908black | #f9fbfamintcream |
| Card | #f8fcfbmintcream | #040c0ablack |
| Card foreground | #010504black | #fcfdfdwhite |
| Popover | #f8fcfbmintcream | #040c0ablack |
| Popover foreground | #010504black | #fcfdfdwhite |
| Primary | #8da5a1darkseagreen | #8da5a1darkseagreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #a58d91rosybrown | #a58d91rosybrown |
| Secondary foreground | #000000black | #000000black |
| Muted | #eae1e3gainsboro | #1e1517black |
| Muted foreground | #5c5153dimgray | #aea3a5darkgray |
| Accent | #a58d91rosybrown | #a58d91rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #e35502orangered | #fc5e03orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8da5a1darkseagreen | #8da5a1darkseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.78:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 5.93:1 | AA |
| Accent | 6.81:1 | AA |
| Destructive | 3.77:1 | AA Large |
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 6.81:1 | AA |
| Muted text | 7.30:1 | AAA |
| Accent | 6.81:1 | AA |
| Destructive | 6.76:1 | AA |
Paste this into your globals.css to use Waiver in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 184.258);
--foreground: oklch(0.128 0.019 184.004);
--muted: oklch(0.917 0.01 4.607);
--muted-foreground: oklch(0.448 0.014 5.133);
--popover: oklch(0.987 0.004 184.204);
--popover-foreground: oklch(0.102 0.015 184.004);
--card: oklch(0.987 0.004 184.204);
--card-foreground: oklch(0.102 0.015 184.004);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.703 0.028 183.209);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.666 0.03 5.49);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.666 0.03 5.49);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.631 0.191 41.587);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.703 0.028 183.209);
--chart-1: oklch(0.703 0.028 183.209);
--chart-2: oklch(0.666 0.03 5.49);
--chart-3: oklch(0.666 0.03 5.49);
--chart-4: oklch(0.692 0.028 5.35);
--chart-5: oklch(0.708 0.035 182.942);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 184.087);
--foreground: oklch(0.986 0.001 184.273);
--muted: oklch(0.208 0.015 6.223);
--muted-foreground: oklch(0.725 0.012 4.761);
--popover: oklch(0.143 0.015 183.579);
--popover-foreground: oklch(0.993 0.001 184.292);
--card: oklch(0.143 0.015 183.579);
--card-foreground: oklch(0.993 0.001 184.292);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.703 0.028 183.209);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.666 0.03 5.49);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.666 0.03 5.49);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.682 0.208 41.342);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.703 0.028 183.209);
--chart-1: oklch(0.703 0.028 183.209);
--chart-2: oklch(0.666 0.03 5.49);
--chart-3: oklch(0.666 0.03 5.49);
--chart-4: oklch(0.692 0.028 5.35);
--chart-5: oklch(0.708 0.035 182.942);
}