Wick for shadcn/ui

Wick is a shadcn/ui theme built around a near-white primary color (#f5f5f5) with near-white accents (#f5f5f5). The light mode uses a neutral background (#f7fdfa). Dark mode keeps the near-white primary (#f5f5f5) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#f7fdfamintcream
#010403black
Foreground
#000000black
#fcfdfcwhite
Card
#f3fcf7mintcream
#030805black
Card foreground
#000000black
#ffffffwhite
Popover
#f3fcf7mintcream
#030805black
Popover foreground
#000000black
#ffffffwhite
Primary
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Primary foreground
#5b5d5cdimgray
#5b5d5cdimgray
Secondary
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Secondary foreground
#5d5b5cdimgray
#5d5b5cdimgray
Muted
#e1dbdegainsboro
#241e21black
Muted foreground
#453a40darkslategray
#c5babfsilver
Accent
#f5f5f5whitesmoke
#f5f5f5whitesmoke
Accent foreground
#5d5b5cdimgray
#5d5b5cdimgray
Destructive
#d30703red
#fb120ered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5f5f5whitesmoke
#f5f5f5whitesmoke

Contrast

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

Light mode
Text on background20.35:1AAA
Text on card20.03:1AAA
Primary button6.07:1AA
Secondary button6.16:1AA
Muted text7.96:1AAA
Accent6.16:1AA
Destructive5.52:1AA
Dark mode
Text on background20.20:1AAA
Text on card20.21:1AAA
Primary button6.07:1AA
Secondary button6.16:1AA
Muted text8.66:1AAA
Accent6.16:1AA
Destructive4.03:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.007 164.955);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.897 0.007 345.34);
  --muted-foreground: oklch(0.363 0.019 346.432);
  --popover: oklch(0.982 0.011 164.857);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.982 0.011 164.857);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.97 0 165.137);
  --primary-foreground: oklch(0.475 0.003 164.992);
  --secondary: oklch(0.969 0 345.151);
  --secondary-foreground: oklch(0.473 0.003 345.296);
  --accent: oklch(0.969 0 345.151);
  --accent-foreground: oklch(0.473 0.003 345.296);
  --destructive: oklch(0.546 0.222 29.274);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0 165.137);
  --chart-1: oklch(0.97 0 165.137);
  --chart-2: oklch(0.969 0 345.151);
  --chart-3: oklch(0.969 0 345.151);
  --chart-4: oklch(0.992 0 345.146);
  --chart-5: oklch(0.97 0.001 165.116);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.097 0.011 165.272);
  --foreground: oklch(0.993 0.001 165.112);
  --muted: oklch(0.244 0.009 346.125);
  --muted-foreground: oklch(0.799 0.015 345.632);
  --popover: oklch(0.123 0.014 165.272);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.123 0.014 165.272);
  --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.97 0 165.137);
  --primary-foreground: oklch(0.475 0.003 164.992);
  --secondary: oklch(0.969 0 345.151);
  --secondary-foreground: oklch(0.473 0.003 345.296);
  --accent: oklch(0.969 0 345.151);
  --accent-foreground: oklch(0.473 0.003 345.296);
  --destructive: oklch(0.625 0.251 29.044);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.97 0 165.137);
  --chart-1: oklch(0.97 0 165.137);
  --chart-2: oklch(0.969 0 345.151);
  --chart-3: oklch(0.969 0 345.151);
  --chart-4: oklch(0.992 0 345.146);
  --chart-5: oklch(0.97 0.001 165.116);
}