Black is Back Opossum is a shadcn/ui theme built around a deep blue primary color (#121a21) with deep orange accents (#211a12). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep blue primary (#121a21) on a neutral background (#010304).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #010304black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #010304black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #010304black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #121a21black | #121a21black |
| Primary foreground | #9cb3c9lightsteelblue | #9cb3c9lightsteelblue |
| Secondary | #211a12black | #211a12black |
| Secondary foreground | #c9b39ctan | #c9b39ctan |
| Muted | #e2dbd5gainsboro | #2a241dblack |
| Muted foreground | #4b4744darkslategray | #bbb8b4silver |
| Accent | #211a12black | #211a12black |
| Accent foreground | #c9b39ctan | #c9b39ctan |
| Destructive | #9c3607saddlebrown | #db4c0achocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eef0f1whitesmoke | #1c1f22black |
| Input | #eef0f1whitesmoke | #1c1f22black |
| Ring | #121a21black | #121a21black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 6.72:1 | AA |
| Accent | 8.55:1 | AAA |
| Destructive | 7.12:1 | AAA |
| Text on background | 20.70:1 | AAA |
| Text on card | 20.70:1 | AAA |
| Primary button | 8.14:1 | AAA |
| Secondary button | 8.55:1 | AAA |
| Muted text | 7.78:1 | AAA |
| Accent | 8.55:1 | AAA |
| Destructive | 4.14:1 | AA Large |
Paste this into your globals.css to use Black is Back Opossum in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.896 0.011 67.683);
--muted-foreground: oklch(0.402 0.008 67.609);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.954 0.003 247.85);
--input: oklch(0.954 0.003 247.85);
--primary: oklch(0.212 0.019 248.742);
--primary-foreground: oklch(0.755 0.042 248.379);
--secondary: oklch(0.222 0.019 66.619);
--secondary-foreground: oklch(0.779 0.041 67.158);
--accent: oklch(0.222 0.019 66.619);
--accent-foreground: oklch(0.779 0.041 67.158);
--destructive: oklch(0.475 0.145 40.06);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.212 0.019 248.742);
--chart-1: oklch(0.212 0.019 248.742);
--chart-2: oklch(0.222 0.019 66.619);
--chart-3: oklch(0.222 0.019 66.619);
--chart-4: oklch(0.257 0.023 66.475);
--chart-5: oklch(0.211 0.021 248.844);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.089 0.009 240.751);
--foreground: oklch(1 0 180);
--muted: oklch(0.264 0.015 67.092);
--muted-foreground: oklch(0.783 0.006 67.731);
--popover: oklch(0.089 0.009 240.751);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.089 0.009 240.751);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.007 248.144);
--input: oklch(0.236 0.007 248.144);
--primary: oklch(0.212 0.019 248.742);
--primary-foreground: oklch(0.755 0.042 248.379);
--secondary: oklch(0.222 0.019 66.619);
--secondary-foreground: oklch(0.779 0.041 67.158);
--accent: oklch(0.222 0.019 66.619);
--accent-foreground: oklch(0.779 0.041 67.158);
--destructive: oklch(0.608 0.189 39.387);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.212 0.019 248.742);
--chart-1: oklch(0.212 0.019 248.742);
--chart-2: oklch(0.222 0.019 66.619);
--chart-3: oklch(0.222 0.019 66.619);
--chart-4: oklch(0.257 0.023 66.475);
--chart-5: oklch(0.211 0.021 248.844);
}