JellyFish for shadcn/ui

JellyFish is a shadcn/ui theme built around a vivid teal primary color (#00ffff) with vivid deep indigo accents (#00007a). The light mode uses an indigo-tinted background (#00002e). Dark mode keeps the vivid teal primary (#00ffff) on an indigo-tinted background (#00002e).

Color palette

TokenLightDark
Background
#00002eblack
#00002eblack
Foreground
#ffffffwhite
#ffffffwhite
Card
#000024black
#000024black
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#00001fblack
#00001fblack
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#00ffffcyan
#00ffffcyan
Primary foreground
#003333darkslategray
#003333darkslategray
Secondary
#2d5353darkslategray
#2d5353darkslategray
Secondary foreground
#cde4e4gainsboro
#cde4e4gainsboro
Muted
#22222bdarkslategray
#22222bdarkslategray
Muted foreground
#9b9bb0darkgray
#9b9bb0darkgray
Accent
#00007anavy
#00007anavy
Accent foreground
#adadfflightsteelblue
#adadfflightsteelblue
Destructive
#ee3717orangered
#ee3717orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#040444midnightblue
#040444midnightblue
Input
#040452midnightblue
#040452midnightblue
Ring
#00ffffcyan
#00ffffcyan

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.20:1AAA
Text on card20.48:1AAA
Primary button11.00:1AAA
Secondary button6.40:1AA
Muted text5.81:1AA
Accent7.94:1AAA
Destructive4.05:1AA Large
Dark mode
Text on background20.20:1AAA
Text on card20.48:1AAA
Primary button11.00:1AAA
Secondary button6.40:1AA
Muted text5.81:1AA
Accent7.94:1AAA
Destructive4.05:1AA Large

CSS variables

Paste this into your globals.css to use JellyFish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.136 0.094 264.052);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.255 0.017 285.115);
  --muted-foreground: oklch(0.697 0.031 285.565);
  --popover: oklch(0.107 0.074 264.052);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.117 0.081 264.052);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.185 0.114 267.76);
  --input: oklch(0.209 0.131 267.187);
  --primary: oklch(0.905 0.155 194.769);
  --primary-foreground: oklch(0.291 0.05 194.769);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.263 0.182 264.052);
  --accent-foreground: oklch(0.78 0.116 283.395);
  --destructive: oklch(0.619 0.222 32.084);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.905 0.155 194.769);
  --chart-1: oklch(0.905 0.155 194.769);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.263 0.182 264.052);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.916 0.157 194.766);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.094 264.052);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.255 0.017 285.115);
  --muted-foreground: oklch(0.697 0.031 285.565);
  --popover: oklch(0.107 0.074 264.052);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.117 0.081 264.052);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.185 0.114 267.76);
  --input: oklch(0.209 0.131 267.187);
  --primary: oklch(0.905 0.155 194.769);
  --primary-foreground: oklch(0.291 0.05 194.769);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.263 0.182 264.052);
  --accent-foreground: oklch(0.78 0.116 283.395);
  --destructive: oklch(0.619 0.222 32.084);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.905 0.155 194.769);
  --chart-1: oklch(0.905 0.155 194.769);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.263 0.182 264.052);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.916 0.157 194.766);
}