Democratic Palm Breeze is a shadcn/ui theme built around a light green primary color (#d9e1c7) with light violet accents (#cec7e1). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the light green primary (#d9e1c7) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcf8snow | #030401black |
| Foreground | #070902black | #fafbf9snow |
| Card | #f9faf4whitesmoke | #060803black |
| Card foreground | #030401black | #fdfdfcwhite |
| Popover | #f9faf4whitesmoke | #060803black |
| Popover foreground | #030401black | #fdfdfcwhite |
| Primary | #d9e1c7lightgrey | #d9e1c7lightgrey |
| Primary foreground | #424c29darkolivegreen | #424c29darkolivegreen |
| Secondary | #cec7e1thistle | #cec7e1thistle |
| Secondary foreground | #33294cdarkslategray | #33294cdarkslategray |
| Muted | #eeedf3whitesmoke | #0e0c12black |
| Muted foreground | #57545fdimgray | #a3a0abdarkgray |
| Accent | #cec7e1thistle | #cec7e1thistle |
| Accent foreground | #33294cdarkslategray | #33294cdarkslategray |
| Destructive | #bd2214firebrick | #de2817crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e2e4ddgainsboro | #20221bblack |
| Input | #e2e4ddgainsboro | #20221bblack |
| Ring | #d9e1c7lightgrey | #d9e1c7lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.40:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 8.22:1 | AAA |
| Destructive | 6.16:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 6.75:1 | AA |
| Secondary button | 8.22:1 | AAA |
| Muted text | 7.55:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 4.76:1 | AA |
Paste this into your globals.css to use Democratic Palm Breeze in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.005 119.397);
--foreground: oklch(0.131 0.022 119.274);
--muted: oklch(0.948 0.008 299.161);
--muted-foreground: oklch(0.452 0.018 298.634);
--popover: oklch(0.983 0.008 119.445);
--popover-foreground: oklch(0.104 0.018 119.274);
--card: oklch(0.983 0.008 119.445);
--card-foreground: oklch(0.104 0.018 119.274);
--border: oklch(0.915 0.01 119.493);
--input: oklch(0.915 0.01 119.493);
--primary: oklch(0.896 0.036 119.99);
--primary-foreground: oklch(0.399 0.056 121.901);
--secondary: oklch(0.843 0.037 298.555);
--secondary-foreground: oklch(0.31 0.063 295.568);
--accent: oklch(0.843 0.037 298.555);
--accent-foreground: oklch(0.31 0.063 295.568);
--destructive: oklch(0.517 0.192 30.031);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.036 119.99);
--chart-1: oklch(0.896 0.036 119.99);
--chart-2: oklch(0.843 0.037 298.555);
--chart-3: oklch(0.843 0.037 298.555);
--chart-4: oklch(0.871 0.03 298.713);
--chart-5: oklch(0.899 0.039 120.056);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.101 0.013 119.281);
--foreground: oklch(0.986 0.002 119.343);
--muted: oklch(0.161 0.012 297.969);
--muted-foreground: oklch(0.713 0.016 298.926);
--popover: oklch(0.127 0.016 119.281);
--popover-foreground: oklch(0.993 0.001 119.323);
--card: oklch(0.127 0.016 119.281);
--card-foreground: oklch(0.993 0.001 119.323);
--border: oklch(0.248 0.014 120.268);
--input: oklch(0.248 0.014 120.268);
--primary: oklch(0.896 0.036 119.99);
--primary-foreground: oklch(0.399 0.056 121.901);
--secondary: oklch(0.843 0.037 298.555);
--secondary-foreground: oklch(0.31 0.063 295.568);
--accent: oklch(0.843 0.037 298.555);
--accent-foreground: oklch(0.31 0.063 295.568);
--destructive: oklch(0.58 0.217 30.056);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.896 0.036 119.99);
--chart-1: oklch(0.896 0.036 119.99);
--chart-2: oklch(0.843 0.037 298.555);
--chart-3: oklch(0.843 0.037 298.555);
--chart-4: oklch(0.871 0.03 298.713);
--chart-5: oklch(0.899 0.039 120.056);
}