Worthless is a shadcn/ui theme built around a near-black primary color (#020302) with muted light green accents (#c9d4ca). The light mode uses a neutral background (#fbfefb). Dark mode keeps the near-black primary (#020302) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020803black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f6fdf7mintcream | #030c04black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbfefbwhite | #020803black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #020302black | #020302black |
| Primary foreground | #7abd7fdarkseagreen | #7abd7fdarkseagreen |
| Secondary | #e5e6e5gainsboro | #182019black |
| Secondary foreground | #4b4e4bdarkslategray | #aac0acdarkgray |
| Muted | #d4e8d6gainsboro | #172b19black |
| Muted foreground | #495049darkslategray | #afb6afdarkgray |
| Accent | #c9d4calightgrey | #2a412cdarkslategray |
| Accent foreground | #303b31darkslategray | #c4d9c6lightgrey |
| Destructive | #ce1d0dfirebrick | #f24131tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #020302black | #020302black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.68:1 | AAA |
| Text on card | 20.36:1 | AAA |
| Primary button | 9.24:1 | AAA |
| Secondary button | 6.73:1 | AA |
| Muted text | 6.44:1 | AA |
| Accent | 7.65:1 | AAA |
| Destructive | 5.50:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 9.24:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 7.24:1 | AAA |
| Accent | 7.42:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Worthless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 148.006);
--foreground: oklch(0 0 0);
--muted: oklch(0.911 0.032 147.684);
--muted-foreground: oklch(0.423 0.015 147.683);
--popover: oklch(0.994 0.005 148.006);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.011 147.948);
--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.095 0.011 147.264);
--primary-foreground: oklch(0.738 0.112 146.294);
--secondary: oklch(0.924 0.002 148.045);
--secondary-foreground: oklch(0.42 0.006 147.912);
--accent: oklch(0.859 0.018 147.847);
--accent-foreground: oklch(0.34 0.024 147.278);
--destructive: oklch(0.545 0.21 30.092);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.011 147.264);
--chart-1: oklch(0.095 0.011 147.264);
--chart-2: oklch(0.924 0.002 148.045);
--chart-3: oklch(0.859 0.018 147.847);
--chart-4: oklch(0.947 0.001 148.051);
--chart-5: oklch(0.095 0.012 147.192);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.023 146.689);
--foreground: oklch(1 0 180);
--muted: oklch(0.266 0.042 146.198);
--muted-foreground: oklch(0.769 0.013 147.885);
--popover: oklch(0.122 0.023 146.689);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.027 146.64);
--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.095 0.011 147.264);
--primary-foreground: oklch(0.738 0.112 146.294);
--secondary: oklch(0.233 0.019 147.163);
--secondary-foreground: oklch(0.786 0.037 147.551);
--accent: oklch(0.35 0.047 146.508);
--accent-foreground: oklch(0.865 0.035 147.628);
--destructive: oklch(0.637 0.216 29.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.011 147.264);
--chart-1: oklch(0.095 0.011 147.264);
--chart-2: oklch(0.233 0.019 147.163);
--chart-3: oklch(0.35 0.047 146.508);
--chart-4: oklch(0.268 0.023 147.095);
--chart-5: oklch(0.095 0.012 147.192);
}