Woeful is a shadcn/ui theme built around a neutral gray primary color (#929b9a) with neutral gray accents (#9b9a92). The light mode uses a neutral background (#fbfefd). Dark mode keeps the neutral gray primary (#929b9a) on a teal-tinted background (#070e0d).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #070e0dblack |
| Foreground | #04100fblack | #fcfdfdwhite |
| Card | #fbfefdwhite | #070e0dblack |
| Card foreground | #04100fblack | #fcfdfdwhite |
| Popover | #fbfefdwhite | #070e0dblack |
| Popover foreground | #04100fblack | #fcfdfdwhite |
| Primary | #929b9adarkgray | #929b9adarkgray |
| Primary foreground | #000000black | #000000black |
| Secondary | #9a929bdarkgray | #9a929bdarkgray |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7d9e8gainsboro | #251726black |
| Muted foreground | #483c48darkslategray | #c2b7c3silver |
| Accent | #9b9a92darkgray | #9b9a92darkgray |
| Accent foreground | #000000black | #000000black |
| Destructive | #b91e13firebrick | #de2417crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #929b9adarkgray | #929b9adarkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 7.35:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 7.68:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.16:1 | AAA |
| Text on card | 19.16:1 | AAA |
| Primary button | 7.35:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 8.81:1 | AAA |
| Accent | 7.43:1 | AAA |
| Destructive | 4.81:1 | AA |
Paste this into your globals.css to use Woeful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 193.561);
--foreground: oklch(0.161 0.018 191.707);
--muted: oklch(0.901 0.025 324.288);
--muted-foreground: oklch(0.374 0.025 324.508);
--popover: oklch(0.994 0.002 193.561);
--popover-foreground: oklch(0.161 0.018 191.707);
--card: oklch(0.994 0.002 193.561);
--card-foreground: oklch(0.161 0.018 191.707);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.681 0.01 193.328);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.67 0.015 324.261);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.011 104.254);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.506 0.19 29.583);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.681 0.01 193.328);
--chart-1: oklch(0.681 0.01 193.328);
--chart-2: oklch(0.67 0.015 324.261);
--chart-3: oklch(0.685 0.011 104.254);
--chart-4: oklch(0.696 0.014 324.246);
--chart-5: oklch(0.687 0.017 193.128);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.011 192.374);
--foreground: oklch(0.993 0.002 193.576);
--muted: oklch(0.23 0.034 324.934);
--muted-foreground: oklch(0.792 0.021 324.281);
--popover: oklch(0.154 0.011 192.374);
--popover-foreground: oklch(0.993 0.002 193.576);
--card: oklch(0.154 0.011 192.374);
--card-foreground: oklch(0.993 0.002 193.576);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.681 0.01 193.328);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.67 0.015 324.261);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.685 0.011 104.254);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.578 0.219 29.633);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.681 0.01 193.328);
--chart-1: oklch(0.681 0.01 193.328);
--chart-2: oklch(0.67 0.015 324.261);
--chart-3: oklch(0.685 0.011 104.254);
--chart-4: oklch(0.696 0.014 324.246);
--chart-5: oklch(0.687 0.017 193.128);
}