Light Pastel Green Boar is a shadcn/ui theme built around a light green primary color (#abf098) with light green accents (#98f0b1). The light mode uses a neutral background (#f9fcf8). Dark mode keeps the light green primary (#abf098) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fcf8mintcream | #000000black |
| Foreground | #000000black | #f9fcf8mintcream |
| Card | #f6fbf4whitesmoke | #030303black |
| Card foreground | #000000black | #fcfdfbsnow |
| Popover | #f9fcf8mintcream | #000000black |
| Popover foreground | #000000black | #f9fcf8mintcream |
| Primary | #abf098palegreen | #abf098palegreen |
| Primary foreground | #194c0bdarkgreen | #194c0bdarkgreen |
| Secondary | #d7f098khaki | #d7f098khaki |
| Secondary foreground | #394c0bdarkolivegreen | #394c0bdarkolivegreen |
| Muted | #eef0ealinen | #13150fblack |
| Muted foreground | #464b3adarkslategray | #c0c5b4silver |
| Accent | #98f0b1palegreen | #98f0b1palegreen |
| Accent foreground | #0b4c1ddarkgreen | #0b4c1ddarkgreen |
| Destructive | #661100maroon | #ff512etomato |
| Destructive foreground | #ffaa99lightsalmon | #000000black |
| Border | #e2e5e1gainsboro | #181b18black |
| Input | #e2e5e1gainsboro | #181b18black |
| Ring | #abf098palegreen | #abf098palegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.29:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.87:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.96:1 | AA |
| Text on background | 20.30:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 10.41:1 | AAA |
| Accent | 7.49:1 | AAA |
| Destructive | 6.46:1 | AA |
Paste this into your globals.css to use Light Pastel Green Boar in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.007 138.893);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.008 119.453);
--muted-foreground: oklch(0.403 0.029 120.541);
--popover: oklch(0.987 0.007 138.893);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.01 138.894);
--card-foreground: oklch(0 0 0);
--border: oklch(0.918 0.006 138.893);
--input: oklch(0.918 0.006 138.893);
--primary: oklch(0.889 0.136 139.033);
--primary-foreground: oklch(0.368 0.108 140.002);
--secondary: oklch(0.918 0.115 121.582);
--secondary-foreground: oklch(0.387 0.09 124.801);
--accent: oklch(0.884 0.122 152.282);
--accent-foreground: oklch(0.366 0.099 147.843);
--destructive: oklch(0.332 0.121 33.565);
--destructive-foreground: oklch(0.817 0.104 31.816);
--ring: oklch(0.889 0.136 139.033);
--chart-1: oklch(0.889 0.136 139.033);
--chart-2: oklch(0.918 0.115 121.582);
--chart-3: oklch(0.884 0.122 152.282);
--chart-4: oklch(0.928 0.101 121.249);
--chart-5: oklch(0.892 0.141 139.045);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.987 0.006 138.893);
--muted: oklch(0.191 0.012 120.41);
--muted-foreground: oklch(0.816 0.024 119.816);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.987 0.006 138.893);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.994 0.003 138.892);
--border: oklch(0.219 0.008 138.906);
--input: oklch(0.219 0.008 138.906);
--primary: oklch(0.889 0.136 139.033);
--primary-foreground: oklch(0.368 0.108 140.002);
--secondary: oklch(0.918 0.115 121.582);
--secondary-foreground: oklch(0.387 0.09 124.801);
--accent: oklch(0.884 0.122 152.282);
--accent-foreground: oklch(0.366 0.099 147.843);
--destructive: oklch(0.673 0.216 33.151);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.889 0.136 139.033);
--chart-1: oklch(0.889 0.136 139.033);
--chart-2: oklch(0.918 0.115 121.582);
--chart-3: oklch(0.884 0.122 152.282);
--chart-4: oklch(0.928 0.101 121.249);
--chart-5: oklch(0.892 0.141 139.045);
}