Salty Nordic Grass Green is a shadcn/ui theme built around a green primary color (#2dae58) with muted light blue accents (#c9d4de). The light mode uses a neutral background (#f9fafb). Dark mode keeps the green primary (#2dae58) on a neutral background (#f9fafb).
| Token | Light | Dark |
|---|---|---|
| Background | #f9fafbghostwhite | #f9fafbghostwhite |
| Foreground | #555768dimgray | #555768dimgray |
| Card | #f2f5f7whitesmoke | #f2f5f7whitesmoke |
| Card foreground | #494b5adarkslategray | #494b5adarkslategray |
| Popover | #eff2f5whitesmoke | #eff2f5whitesmoke |
| Popover foreground | #3e3f4cdarkslategray | #3e3f4cdarkslategray |
| Primary | #2dae58mediumseagreen | #2dae58mediumseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd2b9silver | #acd2b9silver |
| Secondary foreground | #1b3222darkslategray | #1b3222darkslategray |
| Muted | #e2e6e9gainsboro | #e2e6e9gainsboro |
| Muted foreground | #434d56darkslategray | #434d56darkslategray |
| Accent | #c9d4delightgrey | #c9d4delightgrey |
| Accent foreground | #2c3b49darkslategray | #2c3b49darkslategray |
| Destructive | #d92408firebrick | #d92408firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eaedf0lavender | #eaedf0lavender |
| Input | #e2e6e9gainsboro | #e2e6e9gainsboro |
| Ring | #2dae58mediumseagreen | #2dae58mediumseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.80:1 | AA |
| Text on card | 7.86:1 | AAA |
| Primary button | 2.86:1 | Fail |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 5.01:1 | AA |
| Text on background | 6.80:1 | AA |
| Text on card | 7.86:1 | AAA |
| Primary button | 2.86:1 | Fail |
| Secondary button | 8.33:1 | AAA |
| Muted text | 6.85:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 5.01:1 | AA |
Paste this into your globals.css to use Salty Nordic Grass Green in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.002 247.844);
--foreground: oklch(0.461 0.028 280.255);
--muted: oklch(0.922 0.005 247.882);
--muted-foreground: oklch(0.414 0.019 248.296);
--popover: oklch(0.96 0.005 247.881);
--popover-foreground: oklch(0.373 0.021 280.308);
--card: oklch(0.968 0.004 247.869);
--card-foreground: oklch(0.417 0.024 280.278);
--border: oklch(0.945 0.005 247.873);
--input: oklch(0.922 0.007 247.897);
--primary: oklch(0.664 0.166 149.788);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.83 0.054 155.869);
--secondary-foreground: oklch(0.292 0.04 153.977);
--accent: oklch(0.864 0.019 248.049);
--accent-foreground: oklch(0.344 0.032 248.785);
--destructive: oklch(0.568 0.216 31.169);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.664 0.166 149.788);
--chart-1: oklch(0.664 0.166 149.788);
--chart-2: oklch(0.83 0.054 155.869);
--chart-3: oklch(0.864 0.019 248.049);
--chart-4: oklch(0.851 0.047 156.081);
--chart-5: oklch(0.672 0.172 149.461);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.984 0.002 247.844);
--foreground: oklch(0.461 0.028 280.255);
--muted: oklch(0.922 0.005 247.882);
--muted-foreground: oklch(0.414 0.019 248.296);
--popover: oklch(0.96 0.005 247.881);
--popover-foreground: oklch(0.373 0.021 280.308);
--card: oklch(0.968 0.004 247.869);
--card-foreground: oklch(0.417 0.024 280.278);
--border: oklch(0.945 0.005 247.873);
--input: oklch(0.922 0.007 247.897);
--primary: oklch(0.664 0.166 149.788);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.83 0.054 155.869);
--secondary-foreground: oklch(0.292 0.04 153.977);
--accent: oklch(0.864 0.019 248.049);
--accent-foreground: oklch(0.344 0.032 248.785);
--destructive: oklch(0.568 0.216 31.169);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.664 0.166 149.788);
--chart-1: oklch(0.664 0.166 149.788);
--chart-2: oklch(0.83 0.054 155.869);
--chart-3: oklch(0.864 0.019 248.049);
--chart-4: oklch(0.851 0.047 156.081);
--chart-5: oklch(0.672 0.172 149.461);
}