Lavender Tonic Heron is a shadcn/ui theme built around a vivid light indigo primary color (#c7baf8) with vivid light green accents (#eaf8ba). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light indigo primary (#c7baf8) on an indigo-tinted background (#06040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #06040bblack |
| Foreground | #04020dblack | #fcfcfdwhite |
| Card | #fcfbfewhite | #06040bblack |
| Card foreground | #04020dblack | #fcfcfdwhite |
| Popover | #fcfbfewhite | #06040bblack |
| Popover foreground | #04020dblack | #fcfcfdwhite |
| Primary | #c7baf8lightsteelblue | #c7baf8lightsteelblue |
| Primary foreground | #220c73midnightblue | #220c73midnightblue |
| Secondary | #eaf8bapalegoldenrod | #eaf8bapalegoldenrod |
| Secondary foreground | #131702black | #131702black |
| Muted | #e6e7e4gainsboro | #1a1b18black |
| Muted foreground | #535841darkolivegreen | #b9bea7silver |
| Accent | #eaf8bapalegoldenrod | #eaf8bapalegoldenrod |
| Accent foreground | #131702black | #131702black |
| Destructive | #d44502orangered | #fd631corangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e4e4e7gainsboro | #201f23black |
| Input | #e4e4e7gainsboro | #201f23black |
| Ring | #c7baf8lightsteelblue | #c7baf8lightsteelblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.95:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 8.61:1 | AAA |
| Secondary button | 16.16:1 | AAA |
| Muted text | 5.95:1 | AA |
| Accent | 16.16:1 | AAA |
| Destructive | 4.52:1 | AA |
| Text on background | 19.87:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.61:1 | AAA |
| Secondary button | 16.16:1 | AAA |
| Muted text | 9.06:1 | AAA |
| Accent | 16.16:1 | AAA |
| Destructive | 6.96:1 | AA |
Paste this into your globals.css to use Lavender Tonic Heron in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 296.255);
--foreground: oklch(0.103 0.035 294.606);
--muted: oklch(0.926 0.003 116.398);
--muted-foreground: oklch(0.449 0.036 117.818);
--popover: oklch(0.989 0.004 296.255);
--popover-foreground: oklch(0.103 0.035 294.606);
--card: oklch(0.989 0.004 296.255);
--card-foreground: oklch(0.103 0.035 294.606);
--border: oklch(0.92 0.005 296.234);
--input: oklch(0.92 0.005 296.234);
--primary: oklch(0.821 0.087 294.337);
--primary-foreground: oklch(0.283 0.157 279.449);
--secondary: oklch(0.953 0.081 117.897);
--secondary-foreground: oklch(0.194 0.04 119.51);
--accent: oklch(0.953 0.081 117.897);
--accent-foreground: oklch(0.194 0.04 119.51);
--destructive: oklch(0.588 0.19 38.463);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.821 0.087 294.337);
--chart-1: oklch(0.821 0.087 294.337);
--chart-2: oklch(0.953 0.081 117.897);
--chart-3: oklch(0.953 0.081 117.897);
--chart-4: oklch(0.962 0.065 117.572);
--chart-5: oklch(0.818 0.09 294.252);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.117 0.019 295.702);
--foreground: oklch(0.992 0.001 296.313);
--muted: oklch(0.22 0.005 116.739);
--muted-foreground: oklch(0.791 0.032 117.068);
--popover: oklch(0.117 0.019 295.702);
--popover-foreground: oklch(0.992 0.001 296.313);
--card: oklch(0.117 0.019 295.702);
--card-foreground: oklch(0.992 0.001 296.313);
--border: oklch(0.242 0.009 295.659);
--input: oklch(0.242 0.009 295.659);
--primary: oklch(0.821 0.087 294.337);
--primary-foreground: oklch(0.283 0.157 279.449);
--secondary: oklch(0.953 0.081 117.897);
--secondary-foreground: oklch(0.194 0.04 119.51);
--accent: oklch(0.953 0.081 117.897);
--accent-foreground: oklch(0.194 0.04 119.51);
--destructive: oklch(0.689 0.202 40.882);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.821 0.087 294.337);
--chart-1: oklch(0.821 0.087 294.337);
--chart-2: oklch(0.953 0.081 117.897);
--chart-3: oklch(0.953 0.081 117.897);
--chart-4: oklch(0.962 0.065 117.572);
--chart-5: oklch(0.818 0.09 294.252);
}