Unused is a shadcn/ui theme built around a near-black primary color (#050406) with near-black accents (#050604). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the near-black primary (#050406) on a neutral background (#040307).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f7fdghostwhite | #040307black |
| Foreground | #04020dblack | #ffffffwhite |
| Card | #f8f7fdghostwhite | #040307black |
| Card foreground | #04020dblack | #ffffffwhite |
| Popover | #f8f7fdghostwhite | #040307black |
| Popover foreground | #04020dblack | #ffffffwhite |
| Primary | #050406black | #050406black |
| Primary foreground | #9792aadarkgray | #9792aadarkgray |
| Secondary | #050604black | #050604black |
| Secondary foreground | #a5aa92darkgray | #a5aa92darkgray |
| Muted | #edefe6linen | #171910black |
| Muted foreground | #42433ddarkslategray | #c1c2bcsilver |
| Accent | #050604black | #050604black |
| Accent foreground | #a5aa92darkgray | #a5aa92darkgray |
| Destructive | #822503saddlebrown | #f04405orangered |
| Destructive foreground | #fecbb9peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #050406black | #050406black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 8.47:1 | AAA |
| Destructive | 6.54:1 | AA |
| Text on background | 20.58:1 | AAA |
| Text on card | 20.58:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 8.47:1 | AAA |
| Muted text | 9.90:1 | AAA |
| Accent | 8.47:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Unused in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 295.432);
--foreground: oklch(0.105 0.032 293.748);
--muted: oklch(0.949 0.012 115.812);
--muted-foreground: oklch(0.379 0.011 116.097);
--popover: oklch(0.979 0.008 295.432);
--popover-foreground: oklch(0.105 0.032 293.748);
--card: oklch(0.979 0.008 295.432);
--card-foreground: oklch(0.105 0.032 293.748);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.112 0.004 295.418);
--primary-foreground: oklch(0.673 0.034 294.631);
--secondary: oklch(0.119 0.004 115.72);
--secondary-foreground: oklch(0.727 0.033 116.413);
--accent: oklch(0.119 0.004 115.72);
--accent-foreground: oklch(0.727 0.033 116.413);
--destructive: oklch(0.407 0.134 37.129);
--destructive-foreground: oklch(0.882 0.063 40.931);
--ring: oklch(0.112 0.004 295.418);
--chart-1: oklch(0.112 0.004 295.418);
--chart-2: oklch(0.119 0.004 115.72);
--chart-3: oklch(0.119 0.004 115.72);
--chart-4: oklch(0.163 0.006 116.291);
--chart-5: oklch(0.111 0.005 295.375);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.017 294.834);
--foreground: oklch(1 0 180);
--muted: oklch(0.208 0.017 117.108);
--muted-foreground: oklch(0.813 0.009 115.779);
--popover: oklch(0.102 0.017 294.834);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.102 0.017 294.834);
--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.112 0.004 295.418);
--primary-foreground: oklch(0.673 0.034 294.631);
--secondary: oklch(0.119 0.004 115.72);
--secondary-foreground: oklch(0.727 0.033 116.413);
--accent: oklch(0.119 0.004 115.72);
--accent-foreground: oklch(0.727 0.033 116.413);
--destructive: oklch(0.633 0.216 35.747);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.112 0.004 295.418);
--chart-1: oklch(0.112 0.004 295.418);
--chart-2: oklch(0.119 0.004 115.72);
--chart-3: oklch(0.119 0.004 115.72);
--chart-4: oklch(0.163 0.006 116.291);
--chart-5: oklch(0.111 0.005 295.375);
}