Jellyfish is a shadcn/ui theme built around a deep teal primary color (#125438) with muted teal accents (#a6c9bb). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the deep teal primary (#125438) on a neutral background (#020806).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #020806black |
| Foreground | #010906black | #f6f9f8whitesmoke |
| Card | #f5faf8mintcream | #040c08black |
| Card foreground | #010403black | #f9fbfamintcream |
| Popover | #f5faf8mintcream | #040c08black |
| Popover foreground | #010403black | #f9fbfamintcream |
| Primary | #125438darkslategray | #125438darkslategray |
| Primary foreground | #abedd1powderblue | #abedd1powderblue |
| Secondary | #c6d7d0lightgrey | #121715black |
| Secondary foreground | #2c3f37darkslategray | #a4b7afdarkgray |
| Muted | #e7f4eehoneydew | #0b1813black |
| Muted foreground | #4b6259dimgray | #9db4aadarkgray |
| Accent | #a6c9bbsilver | #243830darkslategray |
| Accent foreground | #172620black | #bbd3c9silver |
| Destructive | #870903darkred | #eb1005red |
| Destructive foreground | #fec1belightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #125438darkslategray | #125438darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.41:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 7.50:1 | AAA |
| Muted text | 5.80:1 | AA |
| Accent | 8.78:1 | AAA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.07:1 | AAA |
| Text on card | 19.07:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 8.61:1 | AAA |
| Muted text | 8.24:1 | AAA |
| Accent | 7.89:1 | AAA |
| Destructive | 4.55:1 | AA |
Paste this into your globals.css to use Jellyfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 169.559);
--foreground: oklch(0.126 0.019 169.988);
--muted: oklch(0.955 0.015 169.21);
--muted-foreground: oklch(0.475 0.031 167.662);
--popover: oklch(0.98 0.006 169.502);
--popover-foreground: oklch(0.1 0.015 169.988);
--card: oklch(0.98 0.006 169.502);
--card-foreground: oklch(0.1 0.015 169.988);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.397 0.079 160.853);
--primary-foreground: oklch(0.894 0.076 166.985);
--secondary: oklch(0.865 0.021 168.959);
--secondary-foreground: oklch(0.349 0.028 167.112);
--accent: oklch(0.807 0.043 168.048);
--accent-foreground: oklch(0.253 0.024 166.597);
--destructive: oklch(0.396 0.156 29.794);
--destructive-foreground: oklch(0.865 0.07 22.066);
--ring: oklch(0.397 0.079 160.853);
--chart-1: oklch(0.397 0.079 160.853);
--chart-2: oklch(0.865 0.021 168.959);
--chart-3: oklch(0.807 0.043 168.048);
--chart-4: oklch(0.886 0.018 169.092);
--chart-5: oklch(0.401 0.082 160.466);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.014 169.911);
--foreground: oklch(0.979 0.003 169.576);
--muted: oklch(0.196 0.021 166.059);
--muted-foreground: oklch(0.749 0.028 168.559);
--popover: oklch(0.141 0.017 169.608);
--popover-foreground: oklch(0.986 0.002 169.608);
--card: oklch(0.141 0.017 169.608);
--card-foreground: oklch(0.986 0.002 169.608);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.397 0.079 160.853);
--primary-foreground: oklch(0.894 0.076 166.985);
--secondary: oklch(0.198 0.009 168.393);
--secondary-foreground: oklch(0.763 0.024 168.731);
--accent: oklch(0.321 0.03 166.649);
--accent-foreground: oklch(0.846 0.03 168.629);
--destructive: oklch(0.594 0.239 29.558);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.397 0.079 160.853);
--chart-1: oklch(0.397 0.079 160.853);
--chart-2: oklch(0.198 0.009 168.393);
--chart-3: oklch(0.321 0.03 166.649);
--chart-4: oklch(0.233 0.011 168.233);
--chart-5: oklch(0.401 0.082 160.466);
}