Unused is a shadcn/ui theme built around a vivid red primary color (#fd0d0d) with vivid teal accents (#0dfdfd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#fd0d0d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #120303black | #ffffffwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #120303black | #ffffffwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #120303black | #ffffffwhite |
| Primary | #fd0d0dred | #fd0d0dred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #0dfdfdaqua | #0dfdfdaqua |
| Secondary foreground | #013d3ddarkslategray | #013d3ddarkslategray |
| Muted | #d6dcdcgainsboro | #232929darkslategray |
| Muted foreground | #596969dimgray | #96a6a6darkgray |
| Accent | #0dfdfdaqua | #0dfdfdaqua |
| Accent foreground | #013d3ddarkslategray | #013d3ddarkslategray |
| Destructive | #d51a01firebrick | #fe3e25orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fd0d0dred | #fd0d0dred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 9.45:1 | AAA |
| Muted text | 4.13:1 | AA Large |
| Accent | 9.45:1 | AAA |
| Destructive | 5.27:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 4.02:1 | AA Large |
| Secondary button | 9.45:1 | AAA |
| Muted text | 5.82:1 | AA |
| Accent | 9.45:1 | AAA |
| Destructive | 3.54:1 | AA Large |
Paste this into your globals.css to use Unused in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.128 0.034 23.116);
--muted: oklch(0.889 0.007 197.037);
--muted-foreground: oklch(0.507 0.019 196.574);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.128 0.034 23.116);
--card: oklch(1 0 180);
--card-foreground: oklch(0.128 0.034 23.116);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.626 0.253 28.913);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.899 0.153 194.781);
--secondary-foreground: oklch(0.325 0.055 194.781);
--accent: oklch(0.899 0.153 194.781);
--accent-foreground: oklch(0.325 0.055 194.781);
--destructive: oklch(0.556 0.218 30.694);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.253 28.913);
--chart-1: oklch(0.626 0.253 28.913);
--chart-2: oklch(0.899 0.153 194.781);
--chart-3: oklch(0.899 0.153 194.781);
--chart-4: oklch(0.9 0.151 194.804);
--chart-5: oklch(0.632 0.257 29.015);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.276 0.009 196.66);
--muted-foreground: oklch(0.712 0.017 196.767);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.626 0.253 28.913);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.899 0.153 194.781);
--secondary-foreground: oklch(0.325 0.055 194.781);
--accent: oklch(0.899 0.153 194.781);
--accent-foreground: oklch(0.325 0.055 194.781);
--destructive: oklch(0.654 0.23 31.037);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.626 0.253 28.913);
--chart-1: oklch(0.626 0.253 28.913);
--chart-2: oklch(0.899 0.153 194.781);
--chart-3: oklch(0.899 0.153 194.781);
--chart-4: oklch(0.9 0.151 194.804);
--chart-5: oklch(0.632 0.257 29.015);
}