Wee is a shadcn/ui theme built around a muted red primary color (#b78b8a) with muted teal accents (#8ab7b7). The light mode uses a neutral background (#fcf8f8). Dark mode keeps the muted red primary (#b78b8a) on a red-tinted background (#0a0505).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8f8snow | #0a0505black |
| Foreground | #040101black | #f8f6f6whitesmoke |
| Card | #fcf8f8snow | #0a0505black |
| Card foreground | #040101black | #f8f6f6whitesmoke |
| Popover | #fcf8f8snow | #0a0505black |
| Popover foreground | #040101black | #f8f6f6whitesmoke |
| Primary | #b78b8arosybrown | #b78b8arosybrown |
| Primary foreground | #090606black | #090606black |
| Secondary | #8ab7b7darkgray | #8ab7b7darkgray |
| Secondary foreground | #060909black | #060909black |
| Muted | #dce5e5gainsboro | #1a2323black |
| Muted foreground | #454a4adarkslategray | #b5babasilver |
| Accent | #8ab7b7darkgray | #8ab7b7darkgray |
| Accent foreground | #060909black | #060909black |
| Destructive | #9d2207firebrick | #e6320aorangered |
| Destructive foreground | #fddfd8mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b78b8arosybrown | #b78b8arosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 9.04:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 9.04:1 | AAA |
| Destructive | 6.28:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.79:1 | AA |
| Secondary button | 9.04:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 9.04:1 | AAA |
| Destructive | 4.34:1 | AA Large |
Paste this into your globals.css to use Wee in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.004 18.42);
--foreground: oklch(0.082 0.016 22.837);
--muted: oklch(0.915 0.01 198.194);
--muted-foreground: oklch(0.405 0.007 198.094);
--popover: oklch(0.982 0.004 18.42);
--popover-foreground: oklch(0.082 0.016 22.837);
--card: oklch(0.982 0.004 18.42);
--card-foreground: oklch(0.082 0.016 22.837);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.678 0.055 19.714);
--primary-foreground: oklch(0.127 0.008 19.559);
--secondary: oklch(0.746 0.047 197.487);
--secondary-foreground: oklch(0.137 0.007 197.478);
--accent: oklch(0.746 0.047 197.487);
--accent-foreground: oklch(0.137 0.007 197.478);
--destructive: oklch(0.455 0.162 33.103);
--destructive-foreground: oklch(0.926 0.035 32.717);
--ring: oklch(0.678 0.055 19.714);
--chart-1: oklch(0.678 0.055 19.714);
--chart-2: oklch(0.746 0.047 197.487);
--chart-3: oklch(0.746 0.047 197.487);
--chart-4: oklch(0.767 0.044 197.569);
--chart-5: oklch(0.675 0.062 19.919);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.01 19.994);
--foreground: oklch(0.976 0.002 18.397);
--muted: oklch(0.248 0.014 197.594);
--muted-foreground: oklch(0.786 0.006 198.243);
--popover: oklch(0.126 0.01 19.994);
--popover-foreground: oklch(0.976 0.002 18.397);
--card: oklch(0.126 0.01 19.994);
--card-foreground: oklch(0.976 0.002 18.397);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.678 0.055 19.714);
--primary-foreground: oklch(0.127 0.008 19.559);
--secondary: oklch(0.746 0.047 197.487);
--secondary-foreground: oklch(0.137 0.007 197.478);
--accent: oklch(0.746 0.047 197.487);
--accent-foreground: oklch(0.137 0.007 197.478);
--destructive: oklch(0.602 0.219 32.707);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.678 0.055 19.714);
--chart-1: oklch(0.678 0.055 19.714);
--chart-2: oklch(0.746 0.047 197.487);
--chart-3: oklch(0.746 0.047 197.487);
--chart-4: oklch(0.767 0.044 197.569);
--chart-5: oklch(0.675 0.062 19.919);
}