Destroyer is a shadcn/ui theme built around a deep teal primary color (#092a1b) with muted light teal accents (#c8d5cf). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep teal primary (#092a1b) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010403black |
| Foreground | #030805black | #f5f9f8whitesmoke |
| Card | #ffffffwhite | #010403black |
| Card foreground | #030805black | #f5f9f8whitesmoke |
| Popover | #ffffffwhite | #010403black |
| Popover foreground | #030805black | #f5f9f8whitesmoke |
| Primary | #092a1bblack | #092a1bblack |
| Primary foreground | #2ed188mediumseagreen | #2ed188mediumseagreen |
| Secondary | #dfe2e1gainsboro | #141a17black |
| Secondary foreground | #444b48darkslategray | #a6bab1darkgray |
| Muted | #d2eadfgainsboro | #152d22black |
| Muted foreground | #5d6f67dimgray | #90a29adarkseagreen |
| Accent | #c8d5cflightgrey | #23382fdarkslategray |
| Accent foreground | #2e3d36darkslategray | #bad4c8silver |
| Destructive | #d12610firebrick | #ef452etomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #092a1bblack | #092a1bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 6.85:1 | AA |
| Muted text | 4.20:1 | AA Large |
| Accent | 7.56:1 | AAA |
| Destructive | 5.26:1 | AA |
| Text on background | 19.40:1 | AAA |
| Text on card | 19.40:1 | AAA |
| Primary button | 7.80:1 | AAA |
| Secondary button | 8.64:1 | AAA |
| Muted text | 5.45:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Destroyer in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.123 0.014 168.017);
--muted: oklch(0.916 0.029 166.908);
--muted-foreground: oklch(0.525 0.025 166.399);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.123 0.014 168.017);
--card: oklch(1 0 180);
--card-foreground: oklch(0.123 0.014 168.017);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.256 0.047 160.532);
--primary-foreground: oklch(0.763 0.167 157.839);
--secondary: oklch(0.91 0.004 167.698);
--secondary-foreground: oklch(0.405 0.011 167.066);
--accent: oklch(0.862 0.017 167.263);
--accent-foreground: oklch(0.345 0.023 165.831);
--destructive: oklch(0.555 0.207 30.956);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.256 0.047 160.532);
--chart-1: oklch(0.256 0.047 160.532);
--chart-2: oklch(0.91 0.004 167.698);
--chart-3: oklch(0.862 0.017 167.263);
--chart-4: oklch(0.933 0.003 167.729);
--chart-5: oklch(0.258 0.049 160.227);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.011 168.021);
--foreground: oklch(0.98 0.005 167.671);
--muted: oklch(0.274 0.036 163.304);
--muted-foreground: oklch(0.696 0.024 166.83);
--popover: oklch(0.098 0.011 168.021);
--popover-foreground: oklch(0.98 0.005 167.671);
--card: oklch(0.098 0.011 168.021);
--card-foreground: oklch(0.98 0.005 167.671);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.256 0.047 160.532);
--primary-foreground: oklch(0.763 0.167 157.839);
--secondary: oklch(0.21 0.01 166.371);
--secondary-foreground: oklch(0.771 0.026 166.846);
--accent: oklch(0.321 0.032 164.668);
--accent-foreground: oklch(0.847 0.032 166.73);
--destructive: oklch(0.636 0.21 30.91);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.256 0.047 160.532);
--chart-1: oklch(0.256 0.047 160.532);
--chart-2: oklch(0.21 0.01 166.371);
--chart-3: oklch(0.321 0.032 164.668);
--chart-4: oklch(0.245 0.013 166.22);
--chart-5: oklch(0.258 0.049 160.227);
}