Sea Fantasy Bug for shadcn/ui

Sea Fantasy Bug is a shadcn/ui theme built around a teal primary color (#239395) with blue accents (#235a95). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#239395) on a neutral background (#030808).

Color palette

TokenLightDark
Background
#ffffffwhite
#030808black
Foreground
#030c0cblack
#f9fbfbghostwhite
Card
#fcfcfcsnow
#040b0bblack
Card foreground
#020808black
#fcfdfdwhite
Popover
#ffffffwhite
#030808black
Popover foreground
#030c0cblack
#f9fbfbghostwhite
Primary
#239395darkcyan
#239395darkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#23955eseagreen
#23955eseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eff0f0whitesmoke
#0f100fblack
Muted foreground
#556d61dimgray
#92aa9edarkseagreen
Accent
#235a95darkslateblue
#235a95darkslateblue
Accent foreground
#eef5fbaliceblue
#eef5fbaliceblue
Destructive
#a62a08firebrick
#f55529tomato
Destructive foreground
#fee8e2mistyrose
#000000black
Border
#eef1f1whitesmoke
#202727darkslategray
Input
#eef1f1whitesmoke
#202727darkslategray
Ring
#239395darkcyan
#239395darkcyan

Contrast

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

Light mode
Text on background19.77:1AAA
Text on card19.74:1AAA
Primary button3.70:1AA Large
Secondary button3.80:1AA Large
Muted text4.92:1AA
Accent6.44:1AA
Destructive6.05:1AA
Dark mode
Text on background19.45:1AAA
Text on card19.45:1AAA
Primary button3.70:1AA Large
Secondary button3.80:1AA Large
Muted text7.68:1AAA
Accent6.44:1AA
Destructive6.20:1AA

CSS variables

Paste this into your globals.css to use Sea Fantasy Bug in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.144 0.016 196.653);
  --muted: oklch(0.955 0.002 165.964);
  --muted-foreground: oklch(0.511 0.033 164.167);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.144 0.016 196.653);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.125 0.014 196.552);
  --border: oklch(0.956 0.003 198.312);
  --input: oklch(0.956 0.003 198.312);
  --primary: oklch(0.605 0.095 196.684);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.594 0.13 156.779);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.462 0.112 252.741);
  --accent-foreground: oklch(0.966 0.011 249.755);
  --destructive: oklch(0.479 0.165 34.456);
  --destructive-foreground: oklch(0.946 0.025 35.95);
  --ring: oklch(0.605 0.095 196.684);
  --chart-1: oklch(0.605 0.095 196.684);
  --chart-2: oklch(0.594 0.13 156.779);
  --chart-3: oklch(0.462 0.112 252.741);
  --chart-4: oklch(0.629 0.138 156.692);
  --chart-5: oklch(0.612 0.097 196.689);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.012 196.769);
  --foreground: oklch(0.987 0.003 198.318);
  --muted: oklch(0.171 0.003 165.557);
  --muted-foreground: oklch(0.716 0.031 164.825);
  --popover: oklch(0.124 0.012 196.769);
  --popover-foreground: oklch(0.987 0.003 198.318);
  --card: oklch(0.142 0.014 196.84);
  --card-foreground: oklch(0.993 0.001 198.34);
  --border: oklch(0.267 0.01 197.824);
  --input: oklch(0.267 0.01 197.824);
  --primary: oklch(0.605 0.095 196.684);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.594 0.13 156.779);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.462 0.112 252.741);
  --accent-foreground: oklch(0.966 0.011 249.755);
  --destructive: oklch(0.661 0.204 35.655);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.605 0.095 196.684);
  --chart-1: oklch(0.605 0.095 196.684);
  --chart-2: oklch(0.594 0.13 156.779);
  --chart-3: oklch(0.462 0.112 252.741);
  --chart-4: oklch(0.629 0.138 156.692);
  --chart-5: oklch(0.612 0.097 196.689);
}