Worthless is a shadcn/ui theme built around a muted light teal primary color (#dde4e4) with muted light teal accents (#d4e1e2). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light teal primary (#dde4e4) on a neutral background (#030707).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030707black |
| Foreground | #020708black | #f8fbfbghostwhite |
| Card | #ffffffwhite | #030707black |
| Card foreground | #020708black | #f8fbfbghostwhite |
| Popover | #ffffffwhite | #030707black |
| Popover foreground | #020708black | #f8fbfbghostwhite |
| Primary | #dde4e4gainsboro | #dde4e4gainsboro |
| Primary foreground | #3f4f50darkslategray | #3f4f50darkslategray |
| Secondary | #d4e1e2gainsboro | #2e3738darkslategray |
| Secondary foreground | #354e50darkslategray | #c7d0d1lightgrey |
| Muted | #d2dfe0gainsboro | #1f2c2ddarkslategray |
| Muted foreground | #626a6adimgray | #959d9ddarkgray |
| Accent | #d4e1e2gainsboro | #2e3738darkslategray |
| Accent foreground | #354e50darkslategray | #c7d0d1lightgrey |
| Destructive | #6a2601maroon | #fd6412orangered |
| Destructive foreground | #fec09fnavajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dde4e4gainsboro | #dde4e4gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 6.67:1 | AA |
| Muted text | 4.04:1 | AA Large |
| Accent | 6.67:1 | AA |
| Destructive | 7.01:1 | AAA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 6.63:1 | AA |
| Secondary button | 7.74:1 | AAA |
| Muted text | 5.19:1 | AA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.98:1 | AA |
Paste this into your globals.css to use Worthless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.012 200.091);
--muted: oklch(0.893 0.014 202.052);
--muted-foreground: oklch(0.516 0.009 202.026);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.123 0.012 200.091);
--card: oklch(1 0 180);
--card-foreground: oklch(0.123 0.012 200.091);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.913 0.007 202.128);
--primary-foreground: oklch(0.414 0.02 201.765);
--secondary: oklch(0.901 0.014 202.048);
--secondary-foreground: oklch(0.404 0.03 201.613);
--accent: oklch(0.901 0.014 202.048);
--accent-foreground: oklch(0.404 0.03 201.613);
--destructive: oklch(0.365 0.107 43.144);
--destructive-foreground: oklch(0.857 0.084 49.502);
--ring: oklch(0.913 0.007 202.128);
--chart-1: oklch(0.913 0.007 202.128);
--chart-2: oklch(0.901 0.014 202.048);
--chart-3: oklch(0.901 0.014 202.048);
--chart-4: oklch(0.923 0.011 202.086);
--chart-5: oklch(0.914 0.009 202.107);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.009 200.537);
--foreground: oklch(0.987 0.003 202.18);
--muted: oklch(0.283 0.018 201.679);
--muted-foreground: oklch(0.688 0.009 202.08);
--popover: oklch(0.121 0.009 200.537);
--popover-foreground: oklch(0.987 0.003 202.18);
--card: oklch(0.121 0.009 200.537);
--card-foreground: oklch(0.987 0.003 202.18);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.913 0.007 202.128);
--primary-foreground: oklch(0.414 0.02 201.765);
--secondary: oklch(0.33 0.013 201.84);
--secondary-foreground: oklch(0.852 0.01 202.085);
--accent: oklch(0.33 0.013 201.84);
--accent-foreground: oklch(0.852 0.01 202.085);
--destructive: oklch(0.69 0.202 42.133);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.913 0.007 202.128);
--chart-1: oklch(0.913 0.007 202.128);
--chart-2: oklch(0.33 0.013 201.84);
--chart-3: oklch(0.33 0.013 201.84);
--chart-4: oklch(0.361 0.014 201.832);
--chart-5: oklch(0.914 0.009 202.107);
}