Wet for shadcn/ui

Wet is a shadcn/ui theme built around a muted light indigo primary color (#c6c4cf) with muted light indigo accents (#d1cddf). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light indigo primary (#c6c4cf) on a neutral background (#040307).

Color palette

TokenLightDark
Background
#ffffffwhite
#040307black
Foreground
#040208black
#f6f5fawhitesmoke
Card
#fcfcfcsnow
#06050bblack
Card foreground
#020104black
#f9f8fcghostwhite
Popover
#ffffffwhite
#040307black
Popover foreground
#040208black
#f6f5fawhitesmoke
Primary
#c6c4cfsilver
#c6c4cfsilver
Primary foreground
#2e2c35darkslategray
#2e2c35darkslategray
Secondary
#e9e8eelavender
#333333darkslategray
Secondary foreground
#4b455edarkslategray
#cccccclightgrey
Muted
#d5d1e6gainsboro
#2e1919black
Muted foreground
#605b71dimgray
#a48e8erosybrown
Accent
#d1cddflightgrey
#4e4646darkslategray
Accent foreground
#36304bdarkslategray
#e5e1e1gainsboro
Destructive
#640f02maroon
#f52505orangered
Destructive foreground
#fda89blightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c6c4cfsilver
#c6c4cfsilver

Contrast

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

Light mode
Text on background20.64:1AAA
Text on card20.37:1AAA
Primary button7.99:1AAA
Secondary button7.43:1AAA
Muted text4.34:1AA Large
Accent8.05:1AAA
Destructive6.98:1AA
Dark mode
Text on background18.94:1AAA
Text on card19.23:1AAA
Primary button7.99:1AAA
Secondary button7.86:1AAA
Muted text5.37:1AA
Accent7.10:1AAA
Destructive4.08:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.099 0.02 295.594);
  --muted: oklch(0.87 0.03 295.706);
  --muted-foreground: oklch(0.483 0.036 294.948);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.099 0.02 295.594);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.078 0.016 295.594);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.826 0.015 295.999);
  --primary-foreground: oklch(0.298 0.018 295.243);
  --secondary: oklch(0.932 0.008 296.168);
  --secondary-foreground: oklch(0.407 0.041 294.442);
  --accent: oklch(0.858 0.025 295.799);
  --accent-foreground: oklch(0.327 0.047 293.543);
  --destructive: oklch(0.327 0.12 32.235);
  --destructive-foreground: oklch(0.812 0.103 29.092);
  --ring: oklch(0.826 0.015 295.999);
  --chart-1: oklch(0.826 0.015 295.999);
  --chart-2: oklch(0.932 0.008 296.168);
  --chart-3: oklch(0.858 0.025 295.799);
  --chart-4: oklch(0.958 0.005 296.232);
  --chart-5: oklch(0.822 0.02 295.897);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.104 0.014 295.855);
  --foreground: oklch(0.971 0.007 296.192);
  --muted: oklch(0.243 0.035 19.884);
  --muted-foreground: oklch(0.666 0.027 17.852);
  --popover: oklch(0.104 0.014 295.855);
  --popover-foreground: oklch(0.971 0.007 296.192);
  --card: oklch(0.119 0.016 295.838);
  --card-foreground: oklch(0.981 0.005 296.239);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.826 0.015 295.999);
  --primary-foreground: oklch(0.298 0.018 295.243);
  --secondary: oklch(0.321 0 180);
  --secondary-foreground: oklch(0.845 0 164.055);
  --accent: oklch(0.401 0.012 17.666);
  --accent-foreground: oklch(0.913 0.004 17.224);
  --destructive: oklch(0.62 0.239 30.987);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.826 0.015 295.999);
  --chart-1: oklch(0.826 0.015 295.999);
  --chart-2: oklch(0.321 0 180);
  --chart-3: oklch(0.401 0.012 17.666);
  --chart-4: oklch(0.351 0 167.471);
  --chart-5: oklch(0.822 0.02 295.897);
}