Wee is a shadcn/ui theme built around a blue primary color (#3f6ee4) with yellow accents (#e4b53f). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the blue primary (#3f6ee4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #000000black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f4f6fawhitesmoke | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8f9fcghostwhite | #000000black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #3f6ee4royalblue | #3f6ee4royalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e4b53fgoldenrod | #e4b53fgoldenrod |
| Secondary foreground | #000000black | #000000black |
| Muted | #f3efe8linen | #17140cblack |
| Muted foreground | #5c574ddimgray | #b2aea3darkgray |
| Accent | #e4b53fgoldenrod | #e4b53fgoldenrod |
| Accent foreground | #000000black | #000000black |
| Destructive | #cf0c02firebrick | #fd2217red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #3f6ee4royalblue | #3f6ee4royalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 4.61:1 | AA |
| Secondary button | 10.96:1 | AAA |
| Muted text | 6.27:1 | AA |
| Accent | 10.96:1 | AAA |
| Destructive | 5.66:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.61:1 | AA |
| Secondary button | 10.96:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 10.96:1 | AAA |
| Destructive | 3.88: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 268.764);
--foreground: oklch(0 0 0);
--muted: oklch(0.954 0.011 88.861);
--muted-foreground: oklch(0.459 0.018 88.984);
--popover: oklch(0.982 0.004 268.764);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.973 0.006 268.749);
--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.57 0.187 264.816);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.795 0.141 86.456);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.795 0.141 86.456);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.54 0.217 29.66);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.57 0.187 264.816);
--chart-1: oklch(0.57 0.187 264.816);
--chart-2: oklch(0.795 0.141 86.456);
--chart-3: oklch(0.795 0.141 86.456);
--chart-4: oklch(0.808 0.135 87.151);
--chart-5: oklch(0.569 0.193 264.656);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.015 88.981);
--muted-foreground: oklch(0.752 0.016 88.915);
--popover: oklch(0 0 0);
--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.57 0.187 264.816);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.795 0.141 86.456);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.795 0.141 86.456);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.634 0.246 29.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.57 0.187 264.816);
--chart-1: oklch(0.57 0.187 264.816);
--chart-2: oklch(0.795 0.141 86.456);
--chart-3: oklch(0.795 0.141 86.456);
--chart-4: oklch(0.808 0.135 87.151);
--chart-5: oklch(0.569 0.193 264.656);
}