Jellyfish is a shadcn/ui theme built around a light violet primary color (#f2e7f9) with light purple accents (#f9e7f7). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light violet primary (#f2e7f9) on a neutral background (#060307).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #060307black |
| Foreground | #000000black | #fdfcfdwhite |
| Card | #fdfbfewhite | #060307black |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #fdfbfewhite | #060307black |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #f2e7f9lavender | #f2e7f9lavender |
| Primary foreground | #63238brebeccapurple | #63238brebeccapurple |
| Secondary | #e9e7f9lavender | #e9e7f9lavender |
| Secondary foreground | #2f238bdarkslateblue | #2f238bdarkslateblue |
| Muted | #d4d3dflightgrey | #22202cdarkslategray |
| Muted foreground | #3d3d43darkslategray | #bdbcc2silver |
| Accent | #f9e7f7lavenderblush | #f9e7f7lavenderblush |
| Accent foreground | #8b237fpurple | #8b237fpurple |
| Destructive | #a9270afirebrick | #f1380eorangered |
| Destructive foreground | #feebe7linen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f2e7f9lavender | #f2e7f9lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.41:1 | AAA |
| Text on card | 20.41:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 6.70:1 | AA |
| Destructive | 6.13:1 | AA |
| Text on background | 20.05:1 | AAA |
| Text on card | 20.05:1 | AAA |
| Primary button | 8.16:1 | AAA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 8.49:1 | AAA |
| Accent | 6.70:1 | AA |
| Destructive | 3.95:1 | AA Large |
Paste this into your globals.css to use Jellyfish in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 312.958);
--foreground: oklch(0 0 0);
--muted: oklch(0.87 0.017 291.414);
--muted-foreground: oklch(0.361 0.011 291.206);
--popover: oklch(0.99 0.004 312.958);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.99 0.004 312.958);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.941 0.027 312.789);
--primary-foreground: oklch(0.405 0.165 308.885);
--secondary: oklch(0.934 0.025 291.276);
--secondary-foreground: oklch(0.348 0.163 278.987);
--accent: oklch(0.946 0.029 329.487);
--accent-foreground: oklch(0.457 0.172 333.251);
--destructive: oklch(0.482 0.17 33.179);
--destructive-foreground: oklch(0.954 0.021 32.677);
--ring: oklch(0.941 0.027 312.789);
--chart-1: oklch(0.941 0.027 312.789);
--chart-2: oklch(0.934 0.025 291.276);
--chart-3: oklch(0.946 0.029 329.487);
--chart-4: oklch(0.967 0.012 291.54);
--chart-5: oklch(0.94 0.029 312.779);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.107 0.017 314.336);
--foreground: oklch(0.992 0.001 312.979);
--muted: oklch(0.251 0.023 289.982);
--muted-foreground: oklch(0.798 0.009 291.568);
--popover: oklch(0.107 0.017 314.336);
--popover-foreground: oklch(0.992 0.001 312.979);
--card: oklch(0.107 0.017 314.336);
--card-foreground: oklch(0.992 0.001 312.979);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.941 0.027 312.789);
--primary-foreground: oklch(0.405 0.165 308.885);
--secondary: oklch(0.934 0.025 291.276);
--secondary-foreground: oklch(0.348 0.163 278.987);
--accent: oklch(0.946 0.029 329.487);
--accent-foreground: oklch(0.457 0.172 333.251);
--destructive: oklch(0.625 0.225 32.904);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.941 0.027 312.789);
--chart-1: oklch(0.941 0.027 312.789);
--chart-2: oklch(0.934 0.025 291.276);
--chart-3: oklch(0.946 0.029 329.487);
--chart-4: oklch(0.967 0.012 291.54);
--chart-5: oklch(0.94 0.029 312.779);
}