Worthless is a shadcn/ui theme built around a light purple primary color (#efbdef) with light teal accents (#bdefef). The light mode uses a neutral background (#fdf7fd). Dark mode keeps the light purple primary (#efbdef) on a purple-tinted background (#0d070d).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fdsnow | #0d070dblack |
| Foreground | #0d020eblack | #fbf8fbsnow |
| Card | #fdf7fdsnow | #0d070dblack |
| Card foreground | #0d020eblack | #fbf8fbsnow |
| Popover | #fdf7fdsnow | #0d070dblack |
| Popover foreground | #0d020eblack | #fbf8fbsnow |
| Primary | #efbdefthistle | #efbdefthistle |
| Primary foreground | #621763indigo | #621763indigo |
| Secondary | #efefbdpalegoldenrod | #efefbdpalegoldenrod |
| Secondary foreground | #111004black | #111004black |
| Muted | #e5e5e1gainsboro | #1e1e1ablack |
| Muted foreground | #4c4b39darkolivegreen | #c6c6b3silver |
| Accent | #bdefefpaleturquoise | #bdefefpaleturquoise |
| Accent foreground | #041110black | #041110black |
| Destructive | #d54b10chocolate | #ef682etomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #efbdefthistle | #efbdefthistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.27:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 16.12:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 15.38:1 | AAA |
| Destructive | 4.31:1 | AA Large |
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 16.12:1 | AAA |
| Muted text | 9.63:1 | AAA |
| Accent | 15.38:1 | AAA |
| Destructive | 6.70:1 | AA |
Paste this into your globals.css to use Worthless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.982 0.009 325.166);
--foreground: oklch(0.121 0.041 327.266);
--muted: oklch(0.921 0.006 105.731);
--muted-foreground: oklch(0.409 0.029 106.813);
--popover: oklch(0.982 0.009 325.166);
--popover-foreground: oklch(0.121 0.041 327.266);
--card: oklch(0.982 0.009 325.166);
--card-foreground: oklch(0.121 0.041 327.266);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.858 0.087 325.775);
--primary-foreground: oklch(0.364 0.141 327.281);
--secondary: oklch(0.939 0.064 106.773);
--secondary-foreground: oklch(0.17 0.026 108.078);
--accent: oklch(0.918 0.052 195.021);
--accent-foreground: oklch(0.163 0.02 194.101);
--destructive: oklch(0.598 0.184 39.133);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.087 325.775);
--chart-1: oklch(0.858 0.087 325.775);
--chart-2: oklch(0.939 0.064 106.773);
--chart-3: oklch(0.918 0.052 195.021);
--chart-4: oklch(0.951 0.053 106.56);
--chart-5: oklch(0.857 0.091 325.806);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.018 325.954);
--foreground: oklch(0.983 0.005 325.135);
--muted: oklch(0.234 0.008 106.226);
--muted-foreground: oklch(0.821 0.025 106.146);
--popover: oklch(0.141 0.018 325.954);
--popover-foreground: oklch(0.983 0.005 325.135);
--card: oklch(0.141 0.018 325.954);
--card-foreground: oklch(0.983 0.005 325.135);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.858 0.087 325.775);
--primary-foreground: oklch(0.364 0.141 327.281);
--secondary: oklch(0.939 0.064 106.773);
--secondary-foreground: oklch(0.17 0.026 108.078);
--accent: oklch(0.918 0.052 195.021);
--accent-foreground: oklch(0.163 0.02 194.101);
--destructive: oklch(0.677 0.181 41.418);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.858 0.087 325.775);
--chart-1: oklch(0.858 0.087 325.775);
--chart-2: oklch(0.939 0.064 106.773);
--chart-3: oklch(0.918 0.052 195.021);
--chart-4: oklch(0.951 0.053 106.56);
--chart-5: oklch(0.857 0.091 325.806);
}