Wet for shadcn/ui

Wet is a shadcn/ui theme built around a muted indigo primary color (#595c88) with muted green accents (#5c8859). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted indigo primary (#595c88) on an indigo-tinted background (#06060f).

Color palette

TokenLightDark
Background
#fbfbfeghostwhite
#06060fblack
Foreground
#050610black
#f5f5fawhitesmoke
Card
#fbfbfeghostwhite
#06060fblack
Card foreground
#050610black
#f5f5fawhitesmoke
Popover
#fbfbfeghostwhite
#06060fblack
Popover foreground
#050610black
#f5f5fawhitesmoke
Primary
#595c88darkslateblue
#595c88darkslateblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#88595cdimgray
#88595cdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#efdcddmistyrose
#231011black
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#5c8859dimgray
#5c8859dimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#91130ddarkred
#eb2419crimson
Destructive foreground
#fbd7d5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#595c88darkslateblue
#595c88darkslateblue

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button6.36:1AA
Secondary button5.81:1AA
Muted text4.91:1AA
Accent4.11:1AA Large
Destructive6.82:1AA
Dark mode
Text on background18.55:1AAA
Text on card18.55:1AAA
Primary button6.36:1AA
Secondary button5.81:1AA
Muted text7.05:1AAA
Accent4.11:1AA Large
Destructive4.38:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.004 283.035);
  --foreground: oklch(0.125 0.024 278.128);
  --muted: oklch(0.91 0.022 12.934);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.989 0.004 283.035);
  --popover-foreground: oklch(0.125 0.024 278.128);
  --card: oklch(0.989 0.004 283.035);
  --card-foreground: oklch(0.125 0.024 278.128);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.49 0.07 280.315);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.515 0.063 15.109);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.581 0.086 142.83);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.423 0.16 29.185);
  --destructive-foreground: oklch(0.908 0.041 21.508);
  --ring: oklch(0.49 0.07 280.315);
  --chart-1: oklch(0.49 0.07 280.315);
  --chart-2: oklch(0.515 0.063 15.109);
  --chart-3: oklch(0.581 0.086 142.83);
  --chart-4: oklch(0.54 0.066 15.132);
  --chart-5: oklch(0.483 0.081 279.792);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.129 0.02 279.228);
  --foreground: oklch(0.972 0.006 283);
  --muted: oklch(0.201 0.034 16.277);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.129 0.02 279.228);
  --popover-foreground: oklch(0.972 0.006 283);
  --card: oklch(0.129 0.02 279.228);
  --card-foreground: oklch(0.972 0.006 283);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.49 0.07 280.315);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.515 0.063 15.109);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.581 0.086 142.83);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.602 0.231 29.257);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.49 0.07 280.315);
  --chart-1: oklch(0.49 0.07 280.315);
  --chart-2: oklch(0.515 0.063 15.109);
  --chart-3: oklch(0.581 0.086 142.83);
  --chart-4: oklch(0.54 0.066 15.132);
  --chart-5: oklch(0.483 0.081 279.792);
}