Spring Frost Pig is a shadcn/ui theme built around a vivid green primary color (#89ff4d) with near-white accents (#f1f1f1). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#89ff4d) on a blue-tinted background (#181c1f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #181c1fblack |
| Foreground | #0d0d0dblack | #fafafasnow |
| Card | #ffffffwhite | #181c1fblack |
| Card foreground | #0d0d0dblack | #fafafasnow |
| Popover | #ffffffwhite | #181c1fblack |
| Popover foreground | #0d0d0dblack | #fafafasnow |
| Primary | #89ff4dgreenyellow | #89ff4dgreenyellow |
| Primary foreground | #282828darkslategray | #282828darkslategray |
| Secondary | #282828darkslategray | #ffffffwhite |
| Secondary foreground | #ffffffwhite | #0f0f0fblack |
| Muted | #e4e4e4gainsboro | #2f2f2fdarkslategray |
| Muted foreground | #737373dimgray | #7b7783gray |
| Accent | #f1f1f1whitesmoke | #2f2f2fdarkslategray |
| Accent foreground | #0d0d0dblack | #fafafasnow |
| Destructive | #ec3532crimson | #ec3532crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #dededegainsboro | #3d3d3ddarkslategray |
| Input | #d9d9d9gainsboro | #2d2c30darkslategray |
| Ring | #89ff4dgreenyellow | #89ff4dgreenyellow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 11.56:1 | AAA |
| Secondary button | 14.66:1 | AAA |
| Muted text | 3.71:1 | AA Large |
| Accent | 17.25:1 | AAA |
| Destructive | 4.10:1 | AA Large |
| Text on background | 16.42:1 | AAA |
| Text on card | 16.42:1 | AAA |
| Primary button | 11.56:1 | AAA |
| Secondary button | 19.16:1 | AAA |
| Muted text | 3.06:1 | AA Large |
| Accent | 12.81:1 | AAA |
| Destructive | 4.09:1 | AA Large |
Paste this into your globals.css to use Spring Frost Pig in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.158 0 169.695);
--muted: oklch(0.917 0 172.875);
--muted-foreground: oklch(0.555 0 173.991);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.158 0 169.695);
--card: oklch(1 0 180);
--card-foreground: oklch(0.158 0 169.695);
--border: oklch(0.9 0 180);
--input: oklch(0.885 0 180);
--primary: oklch(0.897 0.236 137.148);
--primary-foreground: oklch(0.277 0 172.875);
--secondary: oklch(0.279 0 206.565);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.959 0 187.595);
--accent-foreground: oklch(0.158 0 169.695);
--destructive: oklch(0.617 0.219 27.199);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.236 137.148);
--chart-1: oklch(0.897 0.236 137.148);
--chart-2: oklch(0.279 0 206.565);
--chart-3: oklch(0.959 0 187.595);
--chart-4: oklch(0.309 0 192.529);
--chart-5: oklch(0.903 0.241 137.24);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.224 0.008 240.266);
--foreground: oklch(0.985 0 180);
--muted: oklch(0.305 0 171.87);
--muted-foreground: oklch(0.576 0.02 300.948);
--popover: oklch(0.224 0.008 240.266);
--popover-foreground: oklch(0.985 0 180);
--card: oklch(0.224 0.008 240.266);
--card-foreground: oklch(0.985 0 180);
--border: oklch(0.359 0 213.69);
--input: oklch(0.296 0.007 297.423);
--primary: oklch(0.897 0.236 137.148);
--primary-foreground: oklch(0.277 0 172.875);
--secondary: oklch(1 0 180);
--secondary-foreground: oklch(0.168 0 180);
--accent: oklch(0.305 0 171.87);
--accent-foreground: oklch(0.985 0 180);
--destructive: oklch(0.617 0.219 27.163);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.897 0.236 137.148);
--chart-1: oklch(0.897 0.236 137.148);
--chart-2: oklch(1 0 180);
--chart-3: oklch(0.305 0 171.87);
--chart-4: oklch(1.023 0 180);
--chart-5: oklch(0.903 0.241 137.24);
}