Imperturbable is a shadcn/ui theme built around a near-black primary color (#000000) with muted light red accents (#ddd5d5). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the near-black primary (#000000) on a red-tinted background (#0a0505).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7f7snow | #0a0505black |
| Foreground | #110303black | #fbf8f8snow |
| Card | #fdf7f7snow | #0a0505black |
| Card foreground | #110303black | #fbf8f8snow |
| Popover | #fdf7f7snow | #0a0505black |
| Popover foreground | #110303black | #fbf8f8snow |
| Primary | #000000black | #000000black |
| Primary foreground | #999999darkgray | #999999darkgray |
| Secondary | #ddd5d5gainsboro | #201818black |
| Secondary foreground | #473939darkslategray | #bfababdarkgray |
| Muted | #f2e9e9linen | #160d0dblack |
| Muted foreground | #636363dimgray | #9c9c9cdarkgray |
| Accent | #ddd5d5gainsboro | #201818black |
| Accent foreground | #473939darkslategray | #bfababdarkgray |
| Destructive | #b01d0cfirebrick | #ef2b15orangered |
| Destructive foreground | #fef2f1seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #000000black | #000000black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.11:1 | AAA |
| Text on card | 19.11:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.58:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 7.58:1 | AAA |
| Destructive | 6.32:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 6.95:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 4.18:1 | AA Large |
Paste this into your globals.css to use Imperturbable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.006 17.252);
--foreground: oklch(0.129 0.032 22.66);
--muted: oklch(0.94 0.01 17.329);
--muted-foreground: oklch(0.501 0 180);
--popover: oklch(0.981 0.006 17.252);
--popover-foreground: oklch(0.129 0.032 22.66);
--card: oklch(0.981 0.006 17.252);
--card-foreground: oklch(0.129 0.032 22.66);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0.878 0.009 17.333);
--secondary-foreground: oklch(0.359 0.02 18.121);
--accent: oklch(0.878 0.009 17.333);
--accent-foreground: oklch(0.359 0.02 18.121);
--destructive: oklch(0.489 0.184 30.51);
--destructive-foreground: oklch(0.97 0.013 25.104);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0.878 0.009 17.333);
--chart-3: oklch(0.878 0.009 17.333);
--chart-4: oklch(0.903 0.007 17.293);
--chart-5: oklch(0 0 0);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.011 18.726);
--foreground: oklch(0.983 0.003 17.211);
--muted: oklch(0.173 0.015 18.762);
--muted-foreground: oklch(0.691 0 180);
--popover: oklch(0.125 0.011 18.726);
--popover-foreground: oklch(0.983 0.003 17.211);
--card: oklch(0.125 0.011 18.726);
--card-foreground: oklch(0.983 0.003 17.211);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0 0 0);
--primary-foreground: oklch(0.683 0 180);
--secondary: oklch(0.22 0.012 18.079);
--secondary-foreground: oklch(0.759 0.022 17.654);
--accent: oklch(0.22 0.012 18.079);
--accent-foreground: oklch(0.759 0.022 17.654);
--destructive: oklch(0.613 0.23 30.512);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0 0 0);
--chart-1: oklch(0 0 0);
--chart-2: oklch(0.22 0.012 18.079);
--chart-3: oklch(0.22 0.012 18.079);
--chart-4: oklch(0.251 0.014 18.159);
--chart-5: oklch(0 0 0);
}