Sturgeon is a shadcn/ui theme built around a muted light green primary color (#d9e5d2) with muted light green accents (#d2e5d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#d9e5d2) on a green-tinted background (#091005).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #091005black |
| Foreground | #060d03black | #f7f8f6whitesmoke |
| Card | #fcfcfcsnow | #0b1306black |
| Card foreground | #040802black | #fafbf9snow |
| Popover | #ffffffwhite | #091005black |
| Popover foreground | #060d03black | #f7f8f6whitesmoke |
| Primary | #d9e5d2gainsboro | #d9e5d2gainsboro |
| Primary foreground | #3d5431darkolivegreen | #3d5431darkolivegreen |
| Secondary | #e2e5d2gainsboro | #e2e5d2gainsboro |
| Secondary foreground | #4e5431darkolivegreen | #4e5431darkolivegreen |
| Muted | #f3f5ealinen | #13150ablack |
| Muted foreground | #6a6e53dimgray | #a8ac91darkgray |
| Accent | #d2e5d5gainsboro | #d2e5d5gainsboro |
| Accent foreground | #315436darkslategray | #315436darkslategray |
| Destructive | #b61d0cfirebrick | #f24d3atomato |
| Destructive foreground | #fef6f5lavenderblush | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d9e5d2gainsboro | #d9e5d2gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.68:1 | AAA |
| Text on card | 19.74:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.19:1 | AA |
| Muted text | 4.80:1 | AA |
| Accent | 6.46:1 | AA |
| Destructive | 6.21:1 | AA |
| Text on background | 18.17:1 | AAA |
| Text on card | 18.18:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.19:1 | AA |
| Muted text | 7.90:1 | AAA |
| Accent | 6.46:1 | AA |
| Destructive | 3.55:1 | AA Large |
Paste this into your globals.css to use Sturgeon in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.028 132.658);
--muted: oklch(0.966 0.014 113.573);
--muted-foreground: oklch(0.529 0.041 114.747);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.028 132.658);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.127 0.024 132.436);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.906 0.028 134.395);
--primary-foreground: oklch(0.416 0.061 135.203);
--secondary: oklch(0.913 0.025 113.814);
--secondary-foreground: oklch(0.43 0.053 115.637);
--accent: oklch(0.902 0.029 149.82);
--accent-foreground: oklch(0.409 0.063 147.966);
--destructive: oklch(0.499 0.189 30.498);
--destructive-foreground: oklch(0.98 0.009 25.064);
--ring: oklch(0.906 0.028 134.395);
--chart-1: oklch(0.906 0.028 134.395);
--chart-2: oklch(0.913 0.025 113.814);
--chart-3: oklch(0.902 0.029 149.82);
--chart-4: oklch(0.932 0.02 113.696);
--chart-5: oklch(0.908 0.031 134.416);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.026 133.663);
--foreground: oklch(0.979 0.003 134.237);
--muted: oklch(0.188 0.02 115.296);
--muted-foreground: oklch(0.733 0.038 114.274);
--popover: oklch(0.159 0.026 133.663);
--popover-foreground: oklch(0.979 0.003 134.237);
--card: oklch(0.175 0.03 134.638);
--card-foreground: oklch(0.986 0.002 134.231);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.906 0.028 134.395);
--primary-foreground: oklch(0.416 0.061 135.203);
--secondary: oklch(0.913 0.025 113.814);
--secondary-foreground: oklch(0.43 0.053 115.637);
--accent: oklch(0.902 0.029 149.82);
--accent-foreground: oklch(0.409 0.063 147.966);
--destructive: oklch(0.65 0.205 29.909);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.906 0.028 134.395);
--chart-1: oklch(0.906 0.028 134.395);
--chart-2: oklch(0.913 0.025 113.814);
--chart-3: oklch(0.902 0.029 149.82);
--chart-4: oklch(0.932 0.02 113.696);
--chart-5: oklch(0.908 0.031 134.416);
}