Personal Reasonable Black Russian is a shadcn/ui theme built around a neutral gray primary color (#242429) with neutral gray accents (#292924). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the neutral gray primary (#242429) on a neutral background (#010104).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #010104black |
| Foreground | #040416black | #f9f9faghostwhite |
| Card | #f7f7fdghostwhite | #030307black |
| Card foreground | #030311black | #fcfcfdwhite |
| Popover | #fbfbfeghostwhite | #010104black |
| Popover foreground | #040416black | #f9f9faghostwhite |
| Primary | #242429darkslategray | #242429darkslategray |
| Primary foreground | #bbbbc3silver | #bbbbc3silver |
| Secondary | #292924darkslategray | #292924darkslategray |
| Secondary foreground | #c3c3bbsilver | #c3c3bbsilver |
| Muted | #e4e4e2gainsboro | #1d1d1bblack |
| Muted foreground | #5a5a49darkolivegreen | #b6b6a5darkgray |
| Accent | #292924darkslategray | #292924darkslategray |
| Accent foreground | #c3c3bbsilver | #c3c3bbsilver |
| Destructive | #aa3909saddlebrown | #f35916orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e1e1e5gainsboro | #1a1a1eblack |
| Input | #e1e1e5gainsboro | #1a1a1eblack |
| Ring | #242429darkslategray | #242429darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 5.52:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.38:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 8.10:1 | AAA |
| Secondary button | 8.28:1 | AAA |
| Muted text | 8.18:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 3.37:1 | AA Large |
Paste this into your globals.css to use Personal Reasonable Black Russian in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.003 286.337);
--foreground: oklch(0.121 0.043 277.99);
--muted: oklch(0.919 0.004 106.473);
--muted-foreground: oklch(0.462 0.025 107.357);
--popover: oklch(0.989 0.003 286.337);
--popover-foreground: oklch(0.121 0.043 277.99);
--card: oklch(0.979 0.007 286.272);
--card-foreground: oklch(0.111 0.037 278.498);
--border: oklch(0.912 0.005 286.309);
--input: oklch(0.912 0.005 286.309);
--primary: oklch(0.262 0.008 285.799);
--primary-foreground: oklch(0.796 0.011 286.154);
--secondary: oklch(0.277 0.008 106.924);
--secondary-foreground: oklch(0.815 0.011 106.631);
--accent: oklch(0.277 0.008 106.924);
--accent-foreground: oklch(0.815 0.011 106.631);
--destructive: oklch(0.502 0.156 38.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.262 0.008 285.799);
--chart-1: oklch(0.262 0.008 285.799);
--chart-2: oklch(0.277 0.008 106.924);
--chart-3: oklch(0.277 0.008 106.924);
--chart-4: oklch(0.31 0.01 106.947);
--chart-5: oklch(0.258 0.013 285.468);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.079 0.013 283.058);
--foreground: oklch(0.984 0.001 286.375);
--muted: oklch(0.232 0.005 106.805);
--muted-foreground: oklch(0.77 0.023 106.92);
--popover: oklch(0.079 0.013 283.058);
--popover-foreground: oklch(0.984 0.001 286.375);
--card: oklch(0.1 0.016 283.058);
--card-foreground: oklch(0.992 0.001 286.387);
--border: oklch(0.221 0.006 285.856);
--input: oklch(0.221 0.006 285.856);
--primary: oklch(0.262 0.008 285.799);
--primary-foreground: oklch(0.796 0.011 286.154);
--secondary: oklch(0.277 0.008 106.924);
--secondary-foreground: oklch(0.815 0.011 106.631);
--accent: oklch(0.277 0.008 106.924);
--accent-foreground: oklch(0.815 0.011 106.631);
--destructive: oklch(0.661 0.201 39.387);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.262 0.008 285.799);
--chart-1: oklch(0.262 0.008 285.799);
--chart-2: oklch(0.277 0.008 106.924);
--chart-3: oklch(0.277 0.008 106.924);
--chart-4: oklch(0.31 0.01 106.947);
--chart-5: oklch(0.258 0.013 285.468);
}