Honey is a shadcn/ui theme built around a vivid deep red primary color (#2c0205) with vivid deep indigo accents (#02052c). The light mode uses a neutral background (#fefbfb). Dark mode keeps the vivid deep red primary (#2c0205) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #040101black | #fdfcfcsnow |
| Card | #fdf7f7snow | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fefbfbsnow | #000000black |
| Popover foreground | #040101black | #fdfcfcsnow |
| Primary | #2c0205black | #2c0205black |
| Primary foreground | #f76972salmon | #f76972salmon |
| Secondary | #052c02black | #052c02black |
| Secondary foreground | #1bed0clime | #1bed0clime |
| Muted | #ddf0dbgainsboro | #11240fblack |
| Muted foreground | #3b4a3adarkslategray | #b6c5b5silver |
| Accent | #02052cblack | #02052cblack |
| Accent foreground | #cacdfclavender | #cacdfclavender |
| Destructive | #931910darkred | #e94135tomato |
| Destructive foreground | #fbdcdamistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2c0205black | #2c0205black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 9.66:1 | AAA |
| Muted text | 7.86:1 | AAA |
| Accent | 12.86:1 | AAA |
| Destructive | 6.85:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 9.66:1 | AAA |
| Muted text | 9.10:1 | AAA |
| Accent | 12.86:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Honey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 12.493);
--foreground: oklch(0.082 0.016 14.734);
--muted: oklch(0.935 0.034 143.443);
--muted-foreground: oklch(0.392 0.033 143.188);
--popover: oklch(0.99 0.003 12.493);
--popover-foreground: oklch(0.082 0.016 14.734);
--card: oklch(0.981 0.006 12.562);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.189 0.069 22.079);
--primary-foreground: oklch(0.699 0.175 18.792);
--secondary: oklch(0.255 0.08 141.653);
--secondary-foreground: oklch(0.822 0.276 142.268);
--accent: oklch(0.151 0.078 268.033);
--accent-foreground: oklch(0.861 0.065 281.721);
--destructive: oklch(0.429 0.158 29.455);
--destructive-foreground: oklch(0.92 0.034 22.662);
--ring: oklch(0.189 0.069 22.079);
--chart-1: oklch(0.189 0.069 22.079);
--chart-2: oklch(0.255 0.08 141.653);
--chart-3: oklch(0.151 0.078 268.033);
--chart-4: oklch(0.305 0.098 141.849);
--chart-5: oklch(0.189 0.072 22.475);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 12.443);
--muted: oklch(0.236 0.045 142.585);
--muted-foreground: oklch(0.806 0.027 143.455);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 12.443);
--card: oklch(0.092 0 180);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.189 0.069 22.079);
--primary-foreground: oklch(0.699 0.175 18.792);
--secondary: oklch(0.255 0.08 141.653);
--secondary-foreground: oklch(0.822 0.276 142.268);
--accent: oklch(0.151 0.078 268.033);
--accent-foreground: oklch(0.861 0.065 281.721);
--destructive: oklch(0.621 0.206 28.642);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.189 0.069 22.079);
--chart-1: oklch(0.189 0.069 22.079);
--chart-2: oklch(0.255 0.08 141.653);
--chart-3: oklch(0.151 0.078 268.033);
--chart-4: oklch(0.305 0.098 141.849);
--chart-5: oklch(0.189 0.072 22.475);
}