Herbs is a shadcn/ui theme built around a light orange primary color (#eeb7a5) with light yellow accents (#eedca5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light orange primary (#eeb7a5) on an orange-tinted background (#0c0603).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0c0603black |
| Foreground | #140906black | #f8f7f6whitesmoke |
| Card | #ffffffwhite | #0c0603black |
| Card foreground | #140906black | #f8f7f6whitesmoke |
| Popover | #ffffffwhite | #0c0603black |
| Popover foreground | #140906black | #f8f7f6whitesmoke |
| Primary | #eeb7a5lightpink | #eeb7a5lightpink |
| Primary foreground | #512010maroon | #512010maroon |
| Secondary | #eea5b7lightpink | #eea5b7lightpink |
| Secondary foreground | #511020maroon | #511020maroon |
| Muted | #e4ced3lightgrey | #311b21black |
| Muted foreground | #494143darkslategray | #beb6b8silver |
| Accent | #eedca5palegoldenrod | #eedca5palegoldenrod |
| Accent foreground | #514110darkolivegreen | #514110darkolivegreen |
| Destructive | #c0270cfirebrick | #e12e0eorangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #eeb7a5lightpink | #eeb7a5lightpink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 7.27:1 | AAA |
| Destructive | 5.94:1 | AA |
| Text on background | 18.85:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 7.65:1 | AAA |
| Secondary button | 7.40:1 | AAA |
| Muted text | 8.05:1 | AAA |
| Accent | 7.27:1 | AAA |
| Destructive | 4.55:1 | AA |
Paste this into your globals.css to use Herbs in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.155 0.021 42.469);
--muted: oklch(0.87 0.026 0.69);
--muted-foreground: oklch(0.383 0.012 0.721);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.155 0.021 42.469);
--card: oklch(1 0 180);
--card-foreground: oklch(0.155 0.021 42.469);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.825 0.069 39.229);
--primary-foreground: oklch(0.313 0.079 38.575);
--secondary: oklch(0.797 0.089 2.894);
--secondary-foreground: oklch(0.294 0.096 11.096);
--accent: oklch(0.895 0.073 91.815);
--accent-foreground: oklch(0.383 0.069 89.701);
--destructive: oklch(0.525 0.191 31.944);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.069 39.229);
--chart-1: oklch(0.825 0.069 39.229);
--chart-2: oklch(0.797 0.089 2.894);
--chart-3: oklch(0.895 0.073 91.815);
--chart-4: oklch(0.825 0.075 2.343);
--chart-5: oklch(0.825 0.072 39.226);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.015 46.467);
--foreground: oklch(0.977 0.002 39.496);
--muted: oklch(0.255 0.036 3.74);
--muted-foreground: oklch(0.784 0.01 0.217);
--popover: oklch(0.128 0.015 46.467);
--popover-foreground: oklch(0.977 0.002 39.496);
--card: oklch(0.128 0.015 46.467);
--card-foreground: oklch(0.977 0.002 39.496);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.825 0.069 39.229);
--primary-foreground: oklch(0.313 0.079 38.575);
--secondary: oklch(0.797 0.089 2.894);
--secondary-foreground: oklch(0.294 0.096 11.096);
--accent: oklch(0.895 0.073 91.815);
--accent-foreground: oklch(0.383 0.069 89.701);
--destructive: oklch(0.591 0.217 31.864);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.069 39.229);
--chart-1: oklch(0.825 0.069 39.229);
--chart-2: oklch(0.797 0.089 2.894);
--chart-3: oklch(0.895 0.073 91.815);
--chart-4: oklch(0.825 0.075 2.343);
--chart-5: oklch(0.825 0.072 39.226);
}