Lacquered Liquorice Rhinoceros is a shadcn/ui theme built around a neutral gray primary color (#383838) with muted light red accents (#d0b3b3). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#383838) on a red-tinted background (#100404).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #100404black |
| Foreground | #150505black | #ffffffwhite |
| Card | #fcfcfcsnow | #140505black |
| Card foreground | #110404black | #ffffffwhite |
| Popover | #fcfcfcsnow | #140505black |
| Popover foreground | #110404black | #ffffffwhite |
| Primary | #383838darkslategray | #383838darkslategray |
| Primary foreground | #d1d1d1lightgrey | #d1d1d1lightgrey |
| Secondary | #e0d2d2lightgrey | #2e2929darkslategray |
| Secondary foreground | #4b3434darkslategray | #c7c1c1silver |
| Muted | #efe1e1mistyrose | #1e1010black |
| Muted foreground | #574747darkslategray | #b8a8a8darkgray |
| Accent | #d0b3b3silver | #423333darkslategray |
| Accent foreground | #331f1fblack | #d9cecelightgrey |
| Destructive | #d93802orangered | #fd4508orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f3f2f2whitesmoke | #231f1fblack |
| Input | #f3f2f2whitesmoke | #231f1fblack |
| Ring | #383838darkslategray | #383838darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.70:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.76:1 | AAA |
| Muted text | 6.90:1 | AA |
| Accent | 7.96:1 | AAA |
| Destructive | 4.64:1 | AA |
| Text on background | 20.13:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 8.06:1 | AAA |
| Muted text | 8.09:1 | AAA |
| Accent | 7.78:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Lacquered Liquorice Rhinoceros in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.143 0.032 21.878);
--muted: oklch(0.922 0.015 17.421);
--muted-foreground: oklch(0.415 0.022 18.058);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.131 0.028 21.593);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.131 0.028 21.593);
--border: oklch(0.961 0.001 17.182);
--input: oklch(0.961 0.001 17.182);
--primary: oklch(0.341 0 158.199);
--primary-foreground: oklch(0.861 0 180);
--secondary: oklch(0.874 0.015 17.45);
--secondary-foreground: oklch(0.353 0.033 18.867);
--accent: oklch(0.793 0.034 17.892);
--accent-foreground: oklch(0.264 0.031 19.314);
--destructive: oklch(0.584 0.204 34.939);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0 158.199);
--chart-1: oklch(0.341 0 158.199);
--chart-2: oklch(0.874 0.015 17.45);
--chart-3: oklch(0.793 0.034 17.892);
--chart-4: oklch(0.9 0.012 17.382);
--chart-5: oklch(0.338 0.005 17.391);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.024 20.908);
--foreground: oklch(1 0 180);
--muted: oklch(0.193 0.023 19.335);
--muted-foreground: oklch(0.745 0.018 17.572);
--popover: oklch(0.144 0.028 21.172);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.144 0.028 21.172);
--card-foreground: oklch(1 0 180);
--border: oklch(0.245 0.005 17.504);
--input: oklch(0.245 0.005 17.504);
--primary: oklch(0.341 0 158.199);
--primary-foreground: oklch(0.861 0 180);
--secondary: oklch(0.286 0.006 17.532);
--secondary-foreground: oklch(0.817 0.007 17.291);
--accent: oklch(0.338 0.022 18.302);
--accent-foreground: oklch(0.861 0.013 17.4);
--destructive: oklch(0.656 0.227 35.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.341 0 158.199);
--chart-1: oklch(0.341 0 158.199);
--chart-2: oklch(0.286 0.006 17.532);
--chart-3: oklch(0.338 0.022 18.302);
--chart-4: oklch(0.316 0.007 17.547);
--chart-5: oklch(0.338 0.005 17.391);
}