Peaceful Pastures Asp is a shadcn/ui theme built around a green primary color (#98d7ad) with muted light green accents (#c9d4cd). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the green primary (#98d7ad) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #020302black |
| Foreground | #051008black | #f9fbfamintcream |
| Card | #f4fbf6mintcream | #040705black |
| Card foreground | #040c06black | #fcfdfcwhite |
| Popover | #f4fbf6mintcream | #040705black |
| Popover foreground | #040c06black | #fcfdfcwhite |
| Primary | #98d7adlightgreen | #98d7adlightgreen |
| Primary foreground | #112c1ablack | #112c1ablack |
| Secondary | #c9d4cdlightgrey | #141514black |
| Secondary foreground | #303b34darkslategray | #aab1acdarkgray |
| Muted | #dbe6degainsboro | #19241dblack |
| Muted foreground | #4d5b52darkslategray | #a4b2a9darkgray |
| Accent | #c9d4cdlightgrey | #141514black |
| Accent foreground | #303b34darkslategray | #aab1acdarkgray |
| Destructive | #a33b0asaddlebrown | #e6530forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eaebealinen | #222523black |
| Input | #eaebealinen | #222523black |
| Ring | #98d7adlightgreen | #98d7adlightgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.71:1 | AAA |
| Text on card | 18.80:1 | AAA |
| Primary button | 9.05:1 | AAA |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.59:1 | AA |
| Accent | 7.64:1 | AAA |
| Destructive | 6.60:1 | AA |
| Text on background | 19.85:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 9.05:1 | AAA |
| Secondary button | 8.35:1 | AAA |
| Muted text | 7.23:1 | AAA |
| Accent | 8.35:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Peaceful Pastures Asp in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 157.138);
--foreground: oklch(0.157 0.024 155.687);
--muted: oklch(0.915 0.016 156.901);
--muted-foreground: oklch(0.456 0.022 156.239);
--popover: oklch(0.981 0.009 157.073);
--popover-foreground: oklch(0.141 0.02 156.766);
--card: oklch(0.981 0.009 157.073);
--card-foreground: oklch(0.141 0.02 156.766);
--border: oklch(0.94 0.002 157.216);
--input: oklch(0.94 0.002 157.216);
--primary: oklch(0.825 0.087 154.88);
--primary-foreground: oklch(0.266 0.047 152.775);
--secondary: oklch(0.859 0.015 156.905);
--secondary-foreground: oklch(0.341 0.021 155.959);
--accent: oklch(0.859 0.015 156.905);
--accent-foreground: oklch(0.341 0.021 155.959);
--destructive: oklch(0.493 0.148 40.375);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.087 154.88);
--chart-1: oklch(0.825 0.087 154.88);
--chart-2: oklch(0.859 0.015 156.905);
--chart-3: oklch(0.859 0.015 156.905);
--chart-4: oklch(0.882 0.013 156.972);
--chart-5: oklch(0.829 0.093 154.718);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.008 157.068);
--foreground: oklch(0.986 0.003 157.202);
--muted: oklch(0.248 0.022 155.311);
--muted-foreground: oklch(0.749 0.02 156.721);
--popover: oklch(0.12 0.01 157.068);
--popover-foreground: oklch(0.993 0.002 157.234);
--card: oklch(0.12 0.01 157.068);
--card-foreground: oklch(0.993 0.002 157.234);
--border: oklch(0.261 0.005 156.836);
--input: oklch(0.261 0.005 156.836);
--primary: oklch(0.825 0.087 154.88);
--primary-foreground: oklch(0.266 0.047 152.775);
--secondary: oklch(0.194 0.003 156.911);
--secondary-foreground: oklch(0.753 0.01 157.005);
--accent: oklch(0.194 0.003 156.911);
--accent-foreground: oklch(0.753 0.01 157.005);
--destructive: oklch(0.634 0.194 39.788);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.825 0.087 154.88);
--chart-1: oklch(0.825 0.087 154.88);
--chart-2: oklch(0.194 0.003 156.911);
--chart-3: oklch(0.194 0.003 156.911);
--chart-4: oklch(0.229 0.004 156.867);
--chart-5: oklch(0.829 0.093 154.718);
}