Irrigation is a shadcn/ui theme built around a light purple primary color (#ecdcef) with light green accents (#dfefdc). The light mode uses a neutral background (#fcf7fd). Dark mode keeps the light purple primary (#ecdcef) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7fdghostwhite | #040104black |
| Foreground | #120514black | #fdfcfdwhite |
| Card | #fcf7fdghostwhite | #040104black |
| Card foreground | #120514black | #fdfcfdwhite |
| Popover | #fcf7fdghostwhite | #040104black |
| Popover foreground | #120514black | #fdfcfdwhite |
| Primary | #ecdceflavender | #ecdceflavender |
| Primary foreground | #613069darkslateblue | #613069darkslateblue |
| Secondary | #dfefdcgainsboro | #dfefdcgainsboro |
| Secondary foreground | #132310black | #132310black |
| Muted | #d7e1d6gainsboro | #20291eblack |
| Muted foreground | #3f413edarkslategray | #bec1besilver |
| Accent | #dfefdcgainsboro | #dfefdcgainsboro |
| Accent foreground | #132310black | #132310black |
| Destructive | #6c1704maroon | #f64923orangered |
| Destructive foreground | #fbb6a7lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecdceflavender | #ecdceflavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.74:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 7.52:1 | AAA |
| Secondary button | 13.71:1 | AAA |
| Muted text | 7.67:1 | AAA |
| Accent | 13.71:1 | AAA |
| Destructive | 7.01:1 | AAA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 7.52:1 | AAA |
| Secondary button | 13.71:1 | AAA |
| Muted text | 8.24:1 | AAA |
| Accent | 13.71:1 | AAA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Irrigation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.011 321.623);
--foreground: oklch(0.149 0.038 322.407);
--muted: oklch(0.899 0.019 141.534);
--muted-foreground: oklch(0.372 0.005 141.553);
--popover: oklch(0.981 0.011 321.623);
--popover-foreground: oklch(0.149 0.038 322.407);
--card: oklch(0.981 0.011 321.623);
--card-foreground: oklch(0.149 0.038 322.407);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.913 0.031 321.685);
--primary-foreground: oklch(0.398 0.107 322.136);
--secondary: oklch(0.935 0.031 141.5);
--secondary-foreground: oklch(0.235 0.041 141.14);
--accent: oklch(0.935 0.031 141.5);
--accent-foreground: oklch(0.235 0.041 141.14);
--destructive: oklch(0.35 0.121 33.734);
--destructive-foreground: oklch(0.838 0.084 33.032);
--ring: oklch(0.913 0.031 321.685);
--chart-1: oklch(0.913 0.031 321.685);
--chart-2: oklch(0.935 0.031 141.5);
--chart-3: oklch(0.935 0.031 141.5);
--chart-4: oklch(0.954 0.021 141.53);
--chart-5: oklch(0.913 0.033 321.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.021 323.529);
--foreground: oklch(0.992 0.001 321.596);
--muted: oklch(0.269 0.025 141.333);
--muted-foreground: oklch(0.807 0.004 141.577);
--popover: oklch(0.084 0.021 323.529);
--popover-foreground: oklch(0.992 0.001 321.596);
--card: oklch(0.084 0.021 323.529);
--card-foreground: oklch(0.992 0.001 321.596);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.913 0.031 321.685);
--primary-foreground: oklch(0.398 0.107 322.136);
--secondary: oklch(0.935 0.031 141.5);
--secondary-foreground: oklch(0.235 0.041 141.14);
--accent: oklch(0.935 0.031 141.5);
--accent-foreground: oklch(0.235 0.041 141.14);
--destructive: oklch(0.65 0.215 33.752);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.913 0.031 321.685);
--chart-1: oklch(0.913 0.031 321.685);
--chart-2: oklch(0.935 0.031 141.5);
--chart-3: oklch(0.935 0.031 141.5);
--chart-4: oklch(0.954 0.021 141.53);
--chart-5: oklch(0.913 0.033 321.693);
}