Unused is a shadcn/ui theme built around a vivid yellow primary color (#b29b06) with muted light yellow accents (#eeede7). The light mode uses a neutral background (#fbfbf8). Dark mode keeps the vivid yellow primary (#b29b06) on a yellow-tinted background (#0c0b04).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbf8snow | #0c0b04black |
| Foreground | #0d0b03black | #fdfdfcwhite |
| Card | #fbfbf8snow | #0c0b04black |
| Card foreground | #0d0b03black | #fdfdfcwhite |
| Popover | #fbfbf8snow | #0c0b04black |
| Popover foreground | #0d0b03black | #fdfdfcwhite |
| Primary | #b29b06darkgoldenrod | #b29b06darkgoldenrod |
| Primary foreground | #000000black | #000000black |
| Secondary | #eeede7linen | #2f2e22darkslategray |
| Secondary foreground | #242319black | #ccc9b8silver |
| Muted | #f5f3eblinen | #14130ablack |
| Muted foreground | #5a5744darkolivegreen | #bbb8a5darkgray |
| Accent | #eeede7linen | #2f2e22darkslategray |
| Accent foreground | #242319black | #ccc9b8silver |
| Destructive | #d8150efirebrick | #f0170fred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b29b06darkgoldenrod | #b29b06darkgoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 13.51:1 | AAA |
| Muted text | 6.56:1 | AA |
| Accent | 13.51:1 | AAA |
| Destructive | 5.22:1 | AA |
| Text on background | 19.42:1 | AAA |
| Text on card | 19.42:1 | AAA |
| Primary button | 7.59:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 9.32:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 4.35:1 | AA Large |
Paste this into your globals.css to use Unused in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.004 99.395);
--foreground: oklch(0.149 0.022 102.744);
--muted: oklch(0.964 0.011 99.512);
--muted-foreground: oklch(0.454 0.03 100.201);
--popover: oklch(0.988 0.004 99.395);
--popover-foreground: oklch(0.149 0.022 102.744);
--card: oklch(0.988 0.004 99.395);
--card-foreground: oklch(0.149 0.022 102.744);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.689 0.142 98.477);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.946 0.009 99.48);
--secondary-foreground: oklch(0.254 0.018 100.26);
--accent: oklch(0.946 0.009 99.48);
--accent-foreground: oklch(0.254 0.018 100.26);
--destructive: oklch(0.559 0.221 29.17);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.689 0.142 98.477);
--chart-1: oklch(0.689 0.142 98.477);
--chart-2: oklch(0.946 0.009 99.48);
--chart-3: oklch(0.946 0.009 99.48);
--chart-4: oklch(0.967 0.006 99.426);
--chart-5: oklch(0.696 0.144 98.304);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.146 0.017 102.265);
--foreground: oklch(0.994 0.002 99.372);
--muted: oklch(0.185 0.016 100.422);
--muted-foreground: oklch(0.78 0.027 99.82);
--popover: oklch(0.146 0.017 102.265);
--popover-foreground: oklch(0.994 0.002 99.372);
--card: oklch(0.146 0.017 102.265);
--card-foreground: oklch(0.994 0.002 99.372);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.689 0.142 98.477);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.298 0.02 100.202);
--secondary-foreground: oklch(0.833 0.023 99.738);
--accent: oklch(0.298 0.02 100.202);
--accent-foreground: oklch(0.833 0.023 99.738);
--destructive: oklch(0.605 0.24 29.199);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.689 0.142 98.477);
--chart-1: oklch(0.689 0.142 98.477);
--chart-2: oklch(0.298 0.02 100.202);
--chart-3: oklch(0.298 0.02 100.202);
--chart-4: oklch(0.331 0.023 100.228);
--chart-5: oklch(0.696 0.144 98.304);
}