Too Dark Tonight Rhinoceros is a shadcn/ui theme built around a vivid indigo primary color (#1c19b8) with muted light indigo accents (#c8c8d5). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#1c19b8) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #000000black |
| Foreground | #000000black | #f7f7f8whitesmoke |
| Card | #f7f7fdghostwhite | #030303black |
| Card foreground | #000000black | #f9f9faghostwhite |
| Popover | #fbfbfeghostwhite | #000000black |
| Popover foreground | #000000black | #f7f7f8whitesmoke |
| Primary | #1c19b8mediumblue | #1c19b8mediumblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c8c8d5lightgrey | #141415black |
| Secondary foreground | #2f2f3ddarkslategray | #ababb0darkgray |
| Muted | #ececeewhitesmoke | #111113black |
| Muted foreground | #5b5b71dimgray | #8e8ea4lightslategray |
| Accent | #c8c8d5lightgrey | #141415black |
| Accent foreground | #2f2f3ddarkslategray | #ababb0darkgray |
| Destructive | #892d06saddlebrown | #e14a09orangered |
| Destructive foreground | #fdd5c4peachpuff | #ffffffwhite |
| Border | #eeeef2whitesmoke | #22222bdarkslategray |
| Input | #eeeef2whitesmoke | #22222bdarkslategray |
| Ring | #1c19b8mediumblue | #1c19b8mediumblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.34:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 11.16:1 | AAA |
| Secondary button | 7.97:1 | AAA |
| Muted text | 5.60:1 | AA |
| Accent | 7.97:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.61:1 | AAA |
| Text on card | 19.65:1 | AAA |
| Primary button | 11.16:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 5.89:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.04:1 | AA Large |
Paste this into your globals.css to use Too Dark Tonight Rhinoceros in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 287.104);
--foreground: oklch(0 0 0);
--muted: oklch(0.944 0.003 287.114);
--muted-foreground: oklch(0.479 0.036 285.727);
--popover: oklch(0.989 0.004 287.104);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.978 0.007 287.035);
--card-foreground: oklch(0 0 0);
--border: oklch(0.95 0.005 287.075);
--input: oklch(0.95 0.005 287.075);
--primary: oklch(0.378 0.229 268.627);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.838 0.017 286.785);
--secondary-foreground: oklch(0.31 0.025 285.618);
--accent: oklch(0.838 0.017 286.785);
--accent-foreground: oklch(0.31 0.025 285.618);
--destructive: oklch(0.431 0.133 39.198);
--destructive-foreground: oklch(0.902 0.05 44.508);
--ring: oklch(0.378 0.229 268.627);
--chart-1: oklch(0.378 0.229 268.627);
--chart-2: oklch(0.838 0.017 286.785);
--chart-3: oklch(0.838 0.017 286.785);
--chart-4: oklch(0.864 0.015 286.859);
--chart-5: oklch(0.378 0.235 267.866);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.002 287.132);
--muted: oklch(0.178 0.004 286.713);
--muted-foreground: oklch(0.654 0.033 286.21);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.002 287.132);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.001 287.145);
--border: oklch(0.255 0.017 285.877);
--input: oklch(0.255 0.017 285.877);
--primary: oklch(0.378 0.229 268.627);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.191 0.002 286.934);
--secondary-foreground: oklch(0.743 0.007 286.997);
--accent: oklch(0.191 0.002 286.934);
--accent-foreground: oklch(0.743 0.007 286.997);
--destructive: oklch(0.616 0.197 38.166);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.378 0.229 268.627);
--chart-1: oklch(0.378 0.229 268.627);
--chart-2: oklch(0.191 0.002 286.934);
--chart-3: oklch(0.191 0.002 286.934);
--chart-4: oklch(0.224 0.003 286.903);
--chart-5: oklch(0.378 0.235 267.866);
}