Synthetic Spearmint Swordtail is a shadcn/ui theme built around a vivid green primary color (#37fb7f) with vivid teal accents (#37fbe1). The light mode uses a neutral background (#f6fdf9). Dark mode keeps the vivid green primary (#37fb7f) on a green-tinted background (#050a07).
| Token | Light | Dark |
|---|---|---|
| Background | #f6fdf9mintcream | #050a07black |
| Foreground | #05150bblack | #f5faf7whitesmoke |
| Card | #f2fdf6mintcream | #070d09black |
| Card foreground | #041009black | #f8fcf9mintcream |
| Popover | #f6fdf9mintcream | #050a07black |
| Popover foreground | #05150bblack | #f5faf7whitesmoke |
| Primary | #37fb7fspringgreen | #37fb7fspringgreen |
| Primary foreground | #000000black | #000000black |
| Secondary | #51fb37limegreen | #51fb37limegreen |
| Secondary foreground | #000000black | #000000black |
| Muted | #eff7edhoneydew | #091208black |
| Muted foreground | #394937darkslategray | #b9c8b6silver |
| Accent | #37fbe1turquoise | #37fbe1turquoise |
| Accent foreground | #000000black | #000000black |
| Destructive | #a71d11firebrick | #ec4b3ctomato |
| Destructive foreground | #fdeeeclinen | #ffffffwhite |
| Border | #e6eae7lavender | #202723darkslategray |
| Input | #e6eae7lavender | #202723darkslategray |
| Ring | #37fb7fspringgreen | #37fb7fspringgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.23:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 15.25:1 | AAA |
| Secondary button | 15.19:1 | AAA |
| Muted text | 8.80:1 | AAA |
| Accent | 16.03:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 18.89:1 | AAA |
| Text on card | 18.91:1 | AAA |
| Primary button | 15.25:1 | AAA |
| Secondary button | 15.19:1 | AAA |
| Muted text | 10.91:1 | AAA |
| Accent | 16.03:1 | AAA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Synthetic Spearmint Swordtail in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 158.515);
--foreground: oklch(0.176 0.031 155.398);
--muted: oklch(0.967 0.016 141.547);
--muted-foreground: oklch(0.385 0.036 141.333);
--popover: oklch(0.989 0.009 158.515);
--popover-foreground: oklch(0.176 0.031 155.398);
--card: oklch(0.983 0.014 158.41);
--card-foreground: oklch(0.159 0.026 156.893);
--border: oklch(0.934 0.006 158.574);
--input: oklch(0.934 0.006 158.574);
--primary: oklch(0.869 0.224 150.062);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.867 0.265 141.33);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.89 0.151 181.172);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.471 0.175 30.025);
--destructive-foreground: oklch(0.96 0.017 23.757);
--ring: oklch(0.869 0.224 150.062);
--chart-1: oklch(0.869 0.224 150.062);
--chart-2: oklch(0.867 0.265 141.33);
--chart-3: oklch(0.89 0.151 181.172);
--chart-4: oklch(0.872 0.254 141.215);
--chart-5: oklch(0.876 0.229 149.834);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.011 158.593);
--foreground: oklch(0.98 0.007 158.574);
--muted: oklch(0.168 0.024 140.932);
--muted-foreground: oklch(0.816 0.03 141.489);
--popover: oklch(0.137 0.011 158.593);
--popover-foreground: oklch(0.98 0.007 158.574);
--card: oklch(0.152 0.013 157.78);
--card-foreground: oklch(0.987 0.004 158.623);
--border: oklch(0.265 0.013 157.599);
--input: oklch(0.265 0.013 157.599);
--primary: oklch(0.869 0.224 150.062);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.867 0.265 141.33);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.89 0.151 181.172);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.637 0.2 29.042);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.869 0.224 150.062);
--chart-1: oklch(0.869 0.224 150.062);
--chart-2: oklch(0.867 0.265 141.33);
--chart-3: oklch(0.89 0.151 181.172);
--chart-4: oklch(0.872 0.254 141.215);
--chart-5: oklch(0.876 0.229 149.834);
}