Debris is a shadcn/ui theme built around a muted pink primary color (#b6919c) with muted red accents (#b69891). The light mode uses a neutral background (#fefbfc). Dark mode keeps the muted pink primary (#b6919c) on a pink-tinted background (#100508).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #100508black |
| Foreground | #13060ablack | #faf9fasnow |
| Card | #fefbfcsnow | #100508black |
| Card foreground | #13060ablack | #faf9fasnow |
| Popover | #fefbfcsnow | #100508black |
| Popover foreground | #13060ablack | #faf9fasnow |
| Primary | #b6919crosybrown | #b6919crosybrown |
| Primary foreground | #0c0809black | #0c0809black |
| Secondary | #b691afdarkgray | #b691afdarkgray |
| Secondary foreground | #0c080bblack | #0c080bblack |
| Muted | #f4e6f2lavenderblush | #190b16black |
| Muted foreground | #594a56dimgray | #b5a6b2darkgray |
| Accent | #b69891rosybrown | #b69891rosybrown |
| Accent foreground | #0c0908black | #0c0908black |
| Destructive | #d30703red | #fb1713red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b6919crosybrown | #b6919crosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 6.88:1 | AA |
| Accent | 7.41:1 | AAA |
| Destructive | 5.52:1 | AA |
| Text on background | 19.12:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.11:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 8.23:1 | AAA |
| Accent | 7.41:1 | AAA |
| Destructive | 4.00:1 | AA Large |
Paste this into your globals.css to use Debris in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 355.733);
--foreground: oklch(0.147 0.026 358.837);
--muted: oklch(0.94 0.021 331.725);
--muted-foreground: oklch(0.429 0.027 332.279);
--popover: oklch(0.99 0.004 355.733);
--popover-foreground: oklch(0.147 0.026 358.837);
--card: oklch(0.99 0.004 355.733);
--card-foreground: oklch(0.147 0.026 358.837);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.694 0.047 357.489);
--primary-foreground: oklch(0.142 0.008 356.189);
--secondary: oklch(0.7 0.06 332.577);
--secondary-foreground: oklch(0.143 0.01 332.209);
--accent: oklch(0.703 0.037 32.772);
--accent-foreground: oklch(0.143 0.006 33.948);
--destructive: oklch(0.546 0.222 29.274);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.694 0.047 357.489);
--chart-1: oklch(0.694 0.047 357.489);
--chart-2: oklch(0.7 0.06 332.577);
--chart-3: oklch(0.703 0.037 32.772);
--chart-4: oklch(0.725 0.055 332.438);
--chart-5: oklch(0.691 0.054 357.778);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.024 356.942);
--foreground: oklch(0.984 0.001 355.65);
--muted: oklch(0.175 0.032 333.796);
--muted-foreground: oklch(0.741 0.024 331.855);
--popover: oklch(0.135 0.024 356.942);
--popover-foreground: oklch(0.984 0.001 355.65);
--card: oklch(0.135 0.024 356.942);
--card-foreground: oklch(0.984 0.001 355.65);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.694 0.047 357.489);
--primary-foreground: oklch(0.142 0.008 356.189);
--secondary: oklch(0.7 0.06 332.577);
--secondary-foreground: oklch(0.143 0.01 332.209);
--accent: oklch(0.703 0.037 32.772);
--accent-foreground: oklch(0.143 0.006 33.948);
--destructive: oklch(0.627 0.249 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.694 0.047 357.489);
--chart-1: oklch(0.694 0.047 357.489);
--chart-2: oklch(0.7 0.06 332.577);
--chart-3: oklch(0.703 0.037 32.772);
--chart-4: oklch(0.725 0.055 332.438);
--chart-5: oklch(0.691 0.054 357.778);
}