Sea Green Theme is a shadcn/ui theme built around a teal primary color (#25a3a7) with deep blue accents (#21354f). The light mode uses a blue-tinted background (#0b1119). Dark mode keeps the teal primary (#25a3a7) on a blue-tinted background (#0b1119).
| Token | Light | Dark |
|---|---|---|
| Background | #0b1119black | #0b1119black |
| Foreground | #25a3a7lightseagreen | #25a3a7lightseagreen |
| Card | #080c12black | #080c12black |
| Card foreground | #29b7bclightseagreen | #29b7bclightseagreen |
| Popover | #060a0eblack | #060a0eblack |
| Popover foreground | #2eccd1turquoise | #2eccd1turquoise |
| Primary | #25a3a7lightseagreen | #25a3a7lightseagreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd1d2lightsteelblue | #acd1d2lightsteelblue |
| Secondary foreground | #1b3132darkslategray | #1b3132darkslategray |
| Muted | #22262bdarkslategray | #22262bdarkslategray |
| Muted foreground | #9ba4b0darkgray | #9ba4b0darkgray |
| Accent | #21354fdarkslategray | #21354fdarkslategray |
| Accent foreground | #becfe4lightsteelblue | #becfe4lightsteelblue |
| Destructive | #ee1411red | #ee1411red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #151d28black | #151d28black |
| Input | #1a2532darkslategray | #1a2532darkslategray |
| Ring | #25a3a7lightseagreen | #25a3a7lightseagreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.20:1 | AA |
| Text on card | 8.02:1 | AAA |
| Primary button | 3.05:1 | AA Large |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 4.41:1 | AA Large |
| Text on background | 6.20:1 | AA |
| Text on card | 8.02:1 | AAA |
| Primary button | 3.05:1 | AA Large |
| Secondary button | 8.36:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.84:1 | AAA |
| Destructive | 4.41:1 | AA Large |
Paste this into your globals.css to use Sea Green Theme in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.175 0.02 255.356);
--foreground: oklch(0.653 0.103 198.524);
--muted: oklch(0.265 0.011 255.143);
--muted-foreground: oklch(0.716 0.021 255.091);
--popover: oklch(0.141 0.013 251.657);
--popover-foreground: oklch(0.77 0.123 198.546);
--card: oklch(0.153 0.015 254.274);
--card-foreground: oklch(0.712 0.113 198.536);
--border: oklch(0.229 0.024 255.33);
--input: oklch(0.26 0.029 255.352);
--primary: oklch(0.653 0.103 198.524);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.835 0.039 199.015);
--secondary-foreground: oklch(0.295 0.028 198.547);
--accent: oklch(0.325 0.053 255.546);
--accent-foreground: oklch(0.848 0.035 255.137);
--destructive: oklch(0.602 0.24 28.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.653 0.103 198.524);
--chart-1: oklch(0.653 0.103 198.524);
--chart-2: oklch(0.835 0.039 199.015);
--chart-3: oklch(0.325 0.053 255.546);
--chart-4: oklch(0.855 0.035 199.09);
--chart-5: oklch(0.661 0.106 198.567);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.175 0.02 255.356);
--foreground: oklch(0.653 0.103 198.524);
--muted: oklch(0.265 0.011 255.143);
--muted-foreground: oklch(0.716 0.021 255.091);
--popover: oklch(0.141 0.013 251.657);
--popover-foreground: oklch(0.77 0.123 198.546);
--card: oklch(0.153 0.015 254.274);
--card-foreground: oklch(0.712 0.113 198.536);
--border: oklch(0.229 0.024 255.33);
--input: oklch(0.26 0.029 255.352);
--primary: oklch(0.653 0.103 198.524);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.835 0.039 199.015);
--secondary-foreground: oklch(0.295 0.028 198.547);
--accent: oklch(0.325 0.053 255.546);
--accent-foreground: oklch(0.848 0.035 255.137);
--destructive: oklch(0.602 0.24 28.934);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.653 0.103 198.524);
--chart-1: oklch(0.653 0.103 198.524);
--chart-2: oklch(0.835 0.039 199.015);
--chart-3: oklch(0.325 0.053 255.546);
--chart-4: oklch(0.855 0.035 199.09);
--chart-5: oklch(0.661 0.106 198.567);
}