Capture Mollusk for shadcn/ui

Capture Mollusk is a shadcn/ui theme built around a teal primary color (#3cb9a0) with neutral gray accents (#dce0df). The light mode uses a neutral background (#f6fdfc). Dark mode keeps the teal primary (#3cb9a0) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f6fdfcmintcream
#010403black
Foreground
#04100eblack
#f9fbfamintcream
Card
#f6fdfcmintcream
#010403black
Card foreground
#04100eblack
#f9fbfamintcream
Popover
#f6fdfcmintcream
#010403black
Popover foreground
#04100eblack
#f9fbfamintcream
Primary
#3cb9a0lightseagreen
#3cb9a0lightseagreen
Primary foreground
#0a1f1bblack
#0a1f1bblack
Secondary
#dce0dfgainsboro
#243330darkslategray
Secondary foreground
#404a48darkslategray
#bacfcbsilver
Muted
#dce0dfgainsboro
#1f2322black
Muted foreground
#565d5bdimgray
#a2a9a8darkgray
Accent
#dce0dfgainsboro
#243330darkslategray
Accent foreground
#404a48darkslategray
#bacfcbsilver
Destructive
#972c02saddlebrown
#ec4504orangered
Destructive foreground
#fedbcdbisque
#ffffffwhite
Border
#e5ebealavender
#18201eblack
Input
#e5ebealavender
#18201eblack
Ring
#3cb9a0lightseagreen
#3cb9a0lightseagreen

Contrast

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

Light mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button7.04:1AAA
Secondary button6.88:1AA
Muted text5.05:1AA
Accent6.88:1AA
Destructive6.06:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button7.04:1AAA
Secondary button8.08:1AAA
Muted text6.64:1AA
Accent8.08:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.008 182.97);
  --foreground: oklch(0.16 0.019 180.748);
  --muted: oklch(0.902 0.004 183.073);
  --muted-foreground: oklch(0.471 0.009 182.641);
  --popover: oklch(0.99 0.008 182.97);
  --popover-foreground: oklch(0.16 0.019 180.748);
  --card: oklch(0.99 0.008 182.97);
  --card-foreground: oklch(0.16 0.019 180.748);
  --border: oklch(0.935 0.007 182.992);
  --input: oklch(0.935 0.007 182.992);
  --primary: oklch(0.711 0.115 176.686);
  --primary-foreground: oklch(0.22 0.028 178.774);
  --secondary: oklch(0.903 0.005 183.028);
  --secondary-foreground: oklch(0.399 0.013 182.279);
  --accent: oklch(0.903 0.005 183.028);
  --accent-foreground: oklch(0.399 0.013 182.279);
  --destructive: oklch(0.454 0.148 37.533);
  --destructive-foreground: oklch(0.917 0.044 42.773);
  --ring: oklch(0.711 0.115 176.686);
  --chart-1: oklch(0.711 0.115 176.686);
  --chart-2: oklch(0.903 0.005 183.028);
  --chart-3: oklch(0.903 0.005 183.028);
  --chart-4: oklch(0.926 0.004 183.068);
  --chart-5: oklch(0.72 0.119 176.331);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.012 183.027);
  --foreground: oklch(0.986 0.001 183.147);
  --muted: oklch(0.252 0.005 182.632);
  --muted-foreground: oklch(0.73 0.008 182.87);
  --popover: oklch(0.099 0.012 183.027);
  --popover-foreground: oklch(0.986 0.001 183.147);
  --card: oklch(0.099 0.012 183.027);
  --card-foreground: oklch(0.986 0.001 183.147);
  --border: oklch(0.234 0.011 181.848);
  --input: oklch(0.234 0.011 181.848);
  --primary: oklch(0.711 0.115 176.686);
  --primary-foreground: oklch(0.22 0.028 178.774);
  --secondary: oklch(0.307 0.021 181.119);
  --secondary-foreground: oklch(0.837 0.024 182.401);
  --accent: oklch(0.307 0.021 181.119);
  --accent-foreground: oklch(0.837 0.024 182.401);
  --destructive: oklch(0.629 0.212 36.499);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.711 0.115 176.686);
  --chart-1: oklch(0.711 0.115 176.686);
  --chart-2: oklch(0.307 0.021 181.119);
  --chart-3: oklch(0.307 0.021 181.119);
  --chart-4: oklch(0.34 0.025 181.044);
  --chart-5: oklch(0.72 0.119 176.331);
}