Underclothes is a shadcn/ui theme built around a neutral gray primary color (#6e7368) with neutral gray accents (#697368). The light mode uses a neutral background (#fdfefb). Dark mode keeps the neutral gray primary (#6e7368) on a green-tinted background (#0b0e06).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #0b0e06black |
| Foreground | #0b1202black | #fdfdfcwhite |
| Card | #fafcf8snow | #0d1208black |
| Card foreground | #080e02black | #ffffffwhite |
| Popover | #fafcf8snow | #0d1208black |
| Popover foreground | #080e02black | #ffffffwhite |
| Primary | #6e7368dimgray | #6e7368dimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #737268dimgray | #737268dimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e2e2dfgainsboro | #20201dblack |
| Muted foreground | #696963dimgray | #9c9c96darkgray |
| Accent | #697368dimgray | #697368dimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #971c0cdarkred | #e72c13orangered |
| Destructive foreground | #fcddd9mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6e7368dimgray | #6e7368dimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.77:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 4.85:1 | AA |
| Secondary button | 4.82:1 | AA |
| Muted text | 4.25:1 | AA Large |
| Accent | 4.93:1 | AA |
| Destructive | 6.61:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.00:1 | AAA |
| Primary button | 4.85:1 | AA |
| Secondary button | 4.82:1 | AA |
| Muted text | 5.90:1 | AA |
| Accent | 4.93:1 | AA |
| Destructive | 4.40:1 | AA Large |
Paste this into your globals.css to use Underclothes in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 125.781);
--foreground: oklch(0.17 0.036 126.721);
--muted: oklch(0.912 0.005 103.191);
--muted-foreground: oklch(0.518 0.009 103.388);
--popover: oklch(0.989 0.006 125.824);
--popover-foreground: oklch(0.151 0.031 125.216);
--card: oklch(0.989 0.006 125.824);
--card-foreground: oklch(0.151 0.031 125.216);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.549 0.018 126.172);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.551 0.015 103.566);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.544 0.021 143.432);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.44 0.16 31.026);
--destructive-foreground: oklch(0.923 0.035 26.732);
--ring: oklch(0.549 0.018 126.172);
--chart-1: oklch(0.549 0.018 126.172);
--chart-2: oklch(0.551 0.015 103.566);
--chart-3: oklch(0.544 0.021 143.432);
--chart-4: oklch(0.578 0.016 103.569);
--chart-5: oklch(0.556 0.028 126.425);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.157 0.018 126.329);
--foreground: oklch(0.993 0.001 125.759);
--muted: oklch(0.243 0.006 103.535);
--muted-foreground: oklch(0.69 0.008 103.305);
--popover: oklch(0.172 0.02 127.213);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.172 0.02 127.213);
--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.549 0.018 126.172);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.551 0.015 103.566);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.544 0.021 143.432);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.6 0.224 30.956);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.549 0.018 126.172);
--chart-1: oklch(0.549 0.018 126.172);
--chart-2: oklch(0.551 0.015 103.566);
--chart-3: oklch(0.544 0.021 143.432);
--chart-4: oklch(0.578 0.016 103.569);
--chart-5: oklch(0.556 0.028 126.425);
}