Dishwasher for shadcn/ui

Dishwasher is a shadcn/ui theme built around a muted light cyan primary color (#f6f8f8) with muted light green accents (#f8f8f6). The light mode uses a neutral background (#f8fbfb). Dark mode keeps the muted light cyan primary (#f6f8f8) on a cyan-tinted background (#040d10).

Color palette

TokenLightDark
Background
#f8fbfbghostwhite
#040d10black
Foreground
#041115black
#fcfdfdwhite
Card
#f5f9faghostwhite
#051114black
Card foreground
#030e11black
#ffffffwhite
Popover
#f5f9faghostwhite
#051114black
Popover foreground
#030e11black
#ffffffwhite
Primary
#f6f8f8whitesmoke
#f6f8f8whitesmoke
Primary foreground
#262e31darkslategray
#262e31darkslategray
Secondary
#f8f6f8whitesmoke
#f8f6f8whitesmoke
Secondary foreground
#6a5364dimgray
#6a5364dimgray
Muted
#f1eef0whitesmoke
#110e10black
Muted foreground
#5c4757dimgray
#b8a3b3darkgray
Accent
#f8f8f6whitesmoke
#f8f8f6whitesmoke
Accent foreground
#2e3126darkslategray
#2e3126darkslategray
Destructive
#cb0b0bfirebrick
#f42f2fcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f6f8f8whitesmoke
#f6f8f8whitesmoke

Contrast

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

Light mode
Text on background18.39:1AAA
Text on card18.37:1AAA
Primary button12.97:1AAA
Secondary button6.45:1AA
Muted text7.32:1AAA
Accent12.49:1AAA
Destructive5.82:1AA
Dark mode
Text on background19.22:1AAA
Text on card19.18:1AAA
Primary button12.97:1AAA
Secondary button6.45:1AA
Muted text8.17:1AAA
Accent12.49:1AAA
Destructive3.97:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.003 219.527);
  --foreground: oklch(0.167 0.021 219.934);
  --muted: oklch(0.953 0.004 333.956);
  --muted-foreground: oklch(0.426 0.038 335.304);
  --popover: oklch(0.978 0.004 219.538);
  --popover-foreground: oklch(0.152 0.019 218.154);
  --card: oklch(0.978 0.004 219.538);
  --card-foreground: oklch(0.152 0.019 218.154);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.978 0.002 219.519);
  --primary-foreground: oklch(0.295 0.012 219.895);
  --secondary: oklch(0.976 0.003 333.923);
  --secondary-foreground: oklch(0.471 0.039 335.223);
  --accent: oklch(0.979 0.002 117.869);
  --accent-foreground: oklch(0.305 0.018 118.903);
  --destructive: oklch(0.533 0.214 28.802);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.978 0.002 219.519);
  --chart-1: oklch(0.978 0.002 219.519);
  --chart-2: oklch(0.976 0.003 333.923);
  --chart-3: oklch(0.979 0.002 117.869);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.978 0.002 219.522);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.152 0.017 218.268);
  --foreground: oklch(0.993 0.002 219.519);
  --muted: oklch(0.168 0.007 334.555);
  --muted-foreground: oklch(0.738 0.033 334.612);
  --popover: oklch(0.166 0.019 219.977);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.166 0.019 219.977);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.978 0.002 219.519);
  --primary-foreground: oklch(0.295 0.012 219.895);
  --secondary: oklch(0.976 0.003 333.923);
  --secondary-foreground: oklch(0.471 0.039 335.223);
  --accent: oklch(0.979 0.002 117.869);
  --accent-foreground: oklch(0.305 0.018 118.903);
  --destructive: oklch(0.626 0.23 27.093);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.978 0.002 219.519);
  --chart-1: oklch(0.978 0.002 219.519);
  --chart-2: oklch(0.976 0.003 333.923);
  --chart-3: oklch(0.979 0.002 117.869);
  --chart-4: oklch(1 0 180);
  --chart-5: oklch(0.978 0.002 219.522);
}