Worthless is a shadcn/ui theme built around a vivid blue primary color (#074192) with vivid green accents (#419207). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#074192) on a blue-tinted background (#04070b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04070bblack |
| Foreground | #010409black | #f8fafcghostwhite |
| Card | #ffffffwhite | #04070bblack |
| Card foreground | #010409black | #f8fafcghostwhite |
| Popover | #ffffffwhite | #04070bblack |
| Popover foreground | #010409black | #f8fafcghostwhite |
| Primary | #074192midnightblue | #074192midnightblue |
| Primary foreground | #cee2fdlavender | #cee2fdlavender |
| Secondary | #920741brown | #920741brown |
| Secondary foreground | #fdcee2mistyrose | #fdcee2mistyrose |
| Muted | #e5e1e3gainsboro | #1e1a1cblack |
| Muted foreground | #6d5f65dimgray | #a09298rosybrown |
| Accent | #419207forestgreen | #419207forestgreen |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #b91f04firebrick | #fa3714orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #074192midnightblue | #074192midnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.53:1 | AAA |
| Text on card | 20.53:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 4.65:1 | AA |
| Accent | 3.92:1 | AA Large |
| Destructive | 6.44:1 | AA |
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.30:1 | AAA |
| Secondary button | 6.48:1 | AA |
| Muted text | 5.79:1 | AA |
| Accent | 3.92:1 | AA Large |
| Destructive | 3.73:1 | AA Large |
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.107 0.019 244.631);
--muted: oklch(0.913 0.005 349.838);
--muted-foreground: oklch(0.501 0.02 350.782);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.107 0.019 244.631);
--card: oklch(1 0 180);
--card-foreground: oklch(0.107 0.019 244.631);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.395 0.145 259.032);
--primary-foreground: oklch(0.906 0.043 256.784);
--secondary: oklch(0.427 0.167 5.947);
--secondary-foreground: oklch(0.898 0.058 351.396);
--accent: oklch(0.586 0.176 137.159);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.506 0.191 31.678);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.145 259.032);
--chart-1: oklch(0.395 0.145 259.032);
--chart-2: oklch(0.427 0.167 5.947);
--chart-3: oklch(0.586 0.176 137.159);
--chart-4: oklch(0.457 0.18 6.235);
--chart-5: oklch(0.395 0.149 259.189);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.127 0.012 250.503);
--foreground: oklch(0.983 0.003 256.664);
--muted: oklch(0.223 0.008 350.634);
--muted-foreground: oklch(0.674 0.019 350.442);
--popover: oklch(0.127 0.012 250.503);
--popover-foreground: oklch(0.983 0.003 256.664);
--card: oklch(0.127 0.012 250.503);
--card-foreground: oklch(0.983 0.003 256.664);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.395 0.145 259.032);
--primary-foreground: oklch(0.906 0.043 256.784);
--secondary: oklch(0.427 0.167 5.947);
--secondary-foreground: oklch(0.898 0.058 351.396);
--accent: oklch(0.586 0.176 137.159);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.641 0.234 31.957);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.145 259.032);
--chart-1: oklch(0.395 0.145 259.032);
--chart-2: oklch(0.427 0.167 5.947);
--chart-3: oklch(0.586 0.176 137.159);
--chart-4: oklch(0.457 0.18 6.235);
--chart-5: oklch(0.395 0.149 259.189);
}