Damp is a shadcn/ui theme built around a muted orange primary color (#977f63) with muted yellow accents (#959763). The light mode uses a neutral background (#fefdfb). Dark mode keeps the muted orange primary (#977f63) on a neutral background (#070503).
| Token | Light | Dark |
|---|---|---|
| Background | #fefdfbsnow | #070503black |
| Foreground | #000000black | #ffffffwhite |
| Card | #fefdfbsnow | #070503black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefdfbsnow | #070503black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #977f63gray | #977f63gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #976463gray | #976463gray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2d0cflightgrey | #301d1dblack |
| Muted foreground | #4a4040darkslategray | #bfb6b5silver |
| Accent | #959763gray | #959763gray |
| Accent foreground | #000000black | #000000black |
| Destructive | #a50e09darkred | #f43a34crimson |
| Destructive foreground | #fde3e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #977f63gray | #977f63gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 4.83:1 | AA |
| Muted text | 6.74:1 | AA |
| Accent | 6.90:1 | AA |
| Destructive | 6.48:1 | AA |
| Text on background | 20.31:1 | AAA |
| Text on card | 20.31:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 4.83:1 | AA |
| Muted text | 8.00:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Damp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 71.433);
--foreground: oklch(0 0 0);
--muted: oklch(0.872 0.021 19.946);
--muted-foreground: oklch(0.382 0.013 20.098);
--popover: oklch(0.993 0.002 71.433);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.993 0.002 71.433);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.611 0.05 70.409);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.558 0.066 21.574);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.663 0.072 109.84);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.458 0.181 29.143);
--destructive-foreground: oklch(0.937 0.029 20.062);
--ring: oklch(0.611 0.05 70.409);
--chart-1: oklch(0.611 0.05 70.409);
--chart-2: oklch(0.558 0.066 21.574);
--chart-3: oklch(0.663 0.072 109.84);
--chart-4: oklch(0.584 0.064 21.398);
--chart-5: oklch(0.615 0.057 70.192);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.011 77.873);
--foreground: oklch(1 0 180);
--muted: oklch(0.256 0.029 21.497);
--muted-foreground: oklch(0.783 0.011 19.798);
--popover: oklch(0.119 0.011 77.873);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.119 0.011 77.873);
--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.611 0.05 70.409);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.558 0.066 21.574);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.663 0.072 109.84);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.635 0.223 27.727);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.611 0.05 70.409);
--chart-1: oklch(0.611 0.05 70.409);
--chart-2: oklch(0.558 0.066 21.574);
--chart-3: oklch(0.663 0.072 109.84);
--chart-4: oklch(0.584 0.064 21.398);
--chart-5: oklch(0.615 0.057 70.192);
}