verde is a shadcn/ui theme built around a muted green primary color (#5d896b) with muted teal accents (#5d8981). The light mode uses a neutral background (#fbfefc). Dark mode keeps the muted green primary (#5d896b) on a green-tinted background (#060f09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #060f09black |
| Foreground | #000000black | #f6f9f7whitesmoke |
| Card | #fbfefcwhite | #060f09black |
| Card foreground | #000000black | #f6f9f7whitesmoke |
| Popover | #fbfefcwhite | #060f09black |
| Popover foreground | #000000black | #f6f9f7whitesmoke |
| Primary | #5d896bdimgray | #5d896bdimgray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #65895ddimgray | #65895ddimgray |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f0f5efwhitesmoke | #0b100ablack |
| Muted foreground | #3f4e3bdarkslategray | #b4c4b1silver |
| Accent | #5d8981slategray | #5d8981slategray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #75200bmaroon | #ec5732tomato |
| Destructive foreground | #f8c6b9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5d896bdimgray | #5d896bdimgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.67:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 4.01:1 | AA Large |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 8.05:1 | AAA |
| Accent | 3.93:1 | AA Large |
| Destructive | 7.01:1 | AAA |
| Text on background | 18.37:1 | AAA |
| Text on card | 18.37:1 | AAA |
| Primary button | 4.01:1 | AA Large |
| Secondary button | 3.98:1 | AA Large |
| Muted text | 10.51:1 | AAA |
| Accent | 3.93:1 | AA Large |
| Destructive | 3.51:1 | AA Large |
Paste this into your globals.css to use verde in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 156.479);
--foreground: oklch(0 0 0);
--muted: oklch(0.965 0.009 139.982);
--muted-foreground: oklch(0.406 0.037 139.919);
--popover: oklch(0.994 0.004 156.479);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.994 0.004 156.479);
--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.588 0.066 154.078);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0.076 139.909);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.594 0.05 181.847);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.378 0.122 34.577);
--destructive-foreground: oklch(0.867 0.061 34.396);
--ring: oklch(0.588 0.066 154.078);
--chart-1: oklch(0.588 0.066 154.078);
--chart-2: oklch(0.59 0.076 139.909);
--chart-3: oklch(0.594 0.05 181.847);
--chart-4: oklch(0.618 0.08 139.909);
--chart-5: oklch(0.594 0.076 153.688);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.02 155.25);
--foreground: oklch(0.979 0.004 156.487);
--muted: oklch(0.164 0.014 139.927);
--muted-foreground: oklch(0.802 0.032 139.956);
--popover: oklch(0.155 0.02 155.25);
--popover-foreground: oklch(0.979 0.004 156.487);
--card: oklch(0.155 0.02 155.25);
--card-foreground: oklch(0.979 0.004 156.487);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.588 0.066 154.078);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.59 0.076 139.909);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.594 0.05 181.847);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.65 0.191 35.023);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.588 0.066 154.078);
--chart-1: oklch(0.588 0.066 154.078);
--chart-2: oklch(0.59 0.076 139.909);
--chart-3: oklch(0.594 0.05 181.847);
--chart-4: oklch(0.618 0.08 139.909);
--chart-5: oklch(0.594 0.076 153.688);
}