Laundry is a shadcn/ui theme built around a muted deep green primary color (#132019) with muted deep orange accents (#201913). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the muted deep green primary (#132019) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfamintcream | #000000black |
| Foreground | #020905black | #fcfdfcwhite |
| Card | #f3fbf7mintcream | #030303black |
| Card foreground | #010402black | #ffffffwhite |
| Popover | #f3fbf7mintcream | #030303black |
| Popover foreground | #010402black | #ffffffwhite |
| Primary | #132019black | #132019black |
| Primary foreground | #9fc6b1darkgray | #9fc6b1darkgray |
| Secondary | #191320black | #191320black |
| Secondary foreground | #b19fc6darkgray | #b19fc6darkgray |
| Muted | #d8cde5gainsboro | #251a32darkslategray |
| Muted foreground | #544e5adimgray | #aaa5b1darkgray |
| Accent | #201913black | #201913black |
| Accent foreground | #c6b19ftan | #c6b19ftan |
| Destructive | #c03102firebrick | #fd490dorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #132019black | #132019black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.63:1 | AAA |
| Primary button | 8.95:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 8.43:1 | AAA |
| Destructive | 5.69:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.95:1 | AAA |
| Secondary button | 7.48:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 8.43:1 | AAA |
| Destructive | 3.43:1 | AA Large |
Paste this into your globals.css to use Laundry in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.007 162.442);
--foreground: oklch(0.125 0.02 162.651);
--muted: oklch(0.863 0.035 305.905);
--muted-foreground: oklch(0.434 0.02 305.834);
--popover: oklch(0.982 0.011 162.351);
--popover-foreground: oklch(0.099 0.016 162.651);
--card: oklch(0.982 0.011 162.351);
--card-foreground: oklch(0.099 0.016 162.651);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.229 0.023 159.772);
--primary-foreground: oklch(0.793 0.052 160.867);
--secondary: oklch(0.2 0.027 304.648);
--secondary-foreground: oklch(0.73 0.06 305.378);
--accent: oklch(0.219 0.016 61.107);
--accent-foreground: oklch(0.773 0.036 61.557);
--destructive: oklch(0.533 0.185 35.179);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.023 159.772);
--chart-1: oklch(0.229 0.023 159.772);
--chart-2: oklch(0.2 0.027 304.648);
--chart-3: oklch(0.219 0.016 61.107);
--chart-4: oklch(0.229 0.034 304.468);
--chart-5: oklch(0.231 0.026 159.443);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 162.597);
--muted: oklch(0.244 0.048 303.815);
--muted-foreground: oklch(0.73 0.018 306.118);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.229 0.023 159.772);
--primary-foreground: oklch(0.793 0.052 160.867);
--secondary: oklch(0.2 0.027 304.648);
--secondary-foreground: oklch(0.73 0.06 305.378);
--accent: oklch(0.219 0.016 61.107);
--accent-foreground: oklch(0.773 0.036 61.557);
--destructive: oklch(0.66 0.224 35.542);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.229 0.023 159.772);
--chart-1: oklch(0.229 0.023 159.772);
--chart-2: oklch(0.2 0.027 304.648);
--chart-3: oklch(0.219 0.016 61.107);
--chart-4: oklch(0.229 0.034 304.468);
--chart-5: oklch(0.231 0.026 159.443);
}