Damp is a shadcn/ui theme built around a vivid light red primary color (#fef0f3) with muted red accents (#c5aaae). The light mode uses a neutral background (#fdfcfc). Dark mode keeps the vivid light red primary (#fef0f3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfcfcsnow | #000000black |
| Foreground | #090102black | #fdfcfcsnow |
| Card | #fdfcfcsnow | #000000black |
| Card foreground | #090102black | #fdfcfcsnow |
| Popover | #fdfcfcsnow | #000000black |
| Popover foreground | #090102black | #fdfcfcsnow |
| Primary | #fef0f3lavenderblush | #fef0f3lavenderblush |
| Primary foreground | #b30923firebrick | #b30923firebrick |
| Secondary | #d3c5c7lightgrey | #372f30darkslategray |
| Secondary foreground | #3a2c2edarkslategray | #d0c8c9lightgrey |
| Muted | #f4f0f1whitesmoke | #0f0b0bblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #c5aaaedarkgray | #4f3b3edarkslategray |
| Accent foreground | #24191bblack | #e3d9dagainsboro |
| Destructive | #a70702darkred | #fd3c35tomato |
| Destructive foreground | #ffdddcmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fef0f3lavenderblush | #fef0f3lavenderblush |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.13:1 | AAA |
| Text on card | 20.13:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 5.75:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.23:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.50:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 7.93:1 | AAA |
| Muted text | 7.58:1 | AAA |
| Accent | 7.53:1 | AAA |
| Destructive | 3.57:1 | AA Large |
Paste this into your globals.css to use Damp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 6.64);
--foreground: oklch(0.101 0.025 7.745);
--muted: oklch(0.959 0.004 6.705);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.991 0.002 6.64);
--popover-foreground: oklch(0.101 0.025 7.745);
--card: oklch(0.991 0.002 6.64);
--card-foreground: oklch(0.101 0.025 7.745);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.968 0.015 6.987);
--primary-foreground: oklch(0.487 0.193 23.633);
--secondary: oklch(0.836 0.015 7.048);
--secondary-foreground: oklch(0.31 0.02 8.183);
--accent: oklch(0.763 0.032 7.642);
--accent-foreground: oklch(0.228 0.019 8.663);
--destructive: oklch(0.459 0.185 29.562);
--destructive-foreground: oklch(0.925 0.038 20.207);
--ring: oklch(0.968 0.015 6.987);
--chart-1: oklch(0.968 0.015 6.987);
--chart-2: oklch(0.836 0.015 7.048);
--chart-3: oklch(0.763 0.032 7.642);
--chart-4: oklch(0.861 0.013 6.966);
--chart-5: oklch(0.968 0.016 7);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.991 0.002 6.637);
--muted: oklch(0.154 0.007 7.686);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.991 0.002 6.637);
--card: oklch(0 0 0);
--card-foreground: oklch(0.991 0.002 6.637);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.968 0.015 6.987);
--primary-foreground: oklch(0.487 0.193 23.633);
--secondary: oklch(0.314 0.012 7.548);
--secondary-foreground: oklch(0.839 0.009 6.872);
--accent: oklch(0.374 0.03 8.565);
--accent-foreground: oklch(0.893 0.011 6.907);
--destructive: oklch(0.652 0.229 27.764);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.968 0.015 6.987);
--chart-1: oklch(0.968 0.015 6.987);
--chart-2: oklch(0.314 0.012 7.548);
--chart-3: oklch(0.374 0.03 8.565);
--chart-4: oklch(0.343 0.014 7.577);
--chart-5: oklch(0.968 0.016 7);
}