Drkryz Coffee Dark is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted deep orange accents (#3f3531). The light mode uses an orange-tinted background (#141110). Dark mode keeps the near-white primary (#ffffff) on an orange-tinted background (#141110).
| Token | Light | Dark |
|---|---|---|
| Background | #141110black | #141110black |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #0e0c0bblack | #0e0c0bblack |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #0b0a09black | #0b0a09black |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #2b2422darkslategray | #2b2422darkslategray |
| Muted foreground | #b0a09bdarkgray | #b0a09bdarkgray |
| Accent | #3f3531darkslategray | #3f3531darkslategray |
| Accent foreground | #d7cecclightgrey | #d7cecclightgrey |
| Destructive | #ef4434tomato | #ef4434tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #1f1e1eblack | #1f1e1eblack |
| Input | #272625darkslategray | #272625darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.81:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.80:1 | AA Large |
| Text on background | 18.81:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.72:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Drkryz Coffee Dark in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.18 0.006 39.341);
--foreground: oklch(1 0 180);
--muted: oklch(0.267 0.011 39.306);
--muted-foreground: oklch(0.719 0.02 39.355);
--popover: oklch(0.145 0.004 40.232);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.004 39.36);
--card-foreground: oklch(1 0 180);
--border: oklch(0.237 0.002 39.466);
--input: oklch(0.269 0.002 39.464);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.338 0.016 39.295);
--accent-foreground: oklch(0.858 0.01 39.436);
--destructive: oklch(0.634 0.21 29.396);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.338 0.016 39.295);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.18 0.006 39.341);
--foreground: oklch(1 0 180);
--muted: oklch(0.267 0.011 39.306);
--muted-foreground: oklch(0.719 0.02 39.355);
--popover: oklch(0.145 0.004 40.232);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.157 0.004 39.36);
--card-foreground: oklch(1 0 180);
--border: oklch(0.237 0.002 39.466);
--input: oklch(0.269 0.002 39.464);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.338 0.016 39.295);
--accent-foreground: oklch(0.858 0.01 39.436);
--destructive: oklch(0.634 0.21 29.396);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.338 0.016 39.295);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}