Wrinkle for shadcn/ui

Wrinkle is a shadcn/ui theme built around a muted light blue primary color (#bdc6d6) with muted light indigo accents (#c0bdd6). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the muted light blue primary (#bdc6d6) on a blue-tinted background (#050910).

Color palette

TokenLightDark
Background
#fbfcfewhite
#050910black
Foreground
#040910black
#f6f7f8whitesmoke
Card
#fbfcfewhite
#050910black
Card foreground
#040910black
#f6f7f8whitesmoke
Popover
#fbfcfewhite
#050910black
Popover foreground
#040910black
#f6f7f8whitesmoke
Primary
#bdc6d6lightsteelblue
#bdc6d6lightsteelblue
Primary foreground
#252d3cdarkslategray
#252d3cdarkslategray
Secondary
#bdd2d6lightsteelblue
#bdd2d6lightsteelblue
Secondary foreground
#25393cdarkslategray
#25393cdarkslategray
Muted
#e6eeeflavender
#101819black
Muted foreground
#494f50darkslategray
#afb5b6darkgray
Accent
#c0bdd6lightsteelblue
#c0bdd6lightsteelblue
Accent foreground
#28253cdarkslategray
#28253cdarkslategray
Destructive
#a4140afirebrick
#d91a0dfirebrick
Destructive foreground
#fde4e2mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bdc6d6lightsteelblue
#bdc6d6lightsteelblue

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button8.04:1AAA
Secondary button7.75:1AAA
Muted text7.09:1AAA
Accent8.10:1AAA
Destructive6.48:1AA
Dark mode
Text on background18.62:1AAA
Text on card18.62:1AAA
Primary button8.04:1AAA
Secondary button7.75:1AAA
Muted text8.66:1AAA
Accent8.10:1AAA
Destructive5.11:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 261.514);
  --foreground: oklch(0.136 0.02 255.286);
  --muted: oklch(0.944 0.009 207.893);
  --muted-foreground: oklch(0.423 0.009 207.86);
  --popover: oklch(0.991 0.002 261.514);
  --popover-foreground: oklch(0.136 0.02 255.286);
  --card: oklch(0.991 0.002 261.514);
  --card-foreground: oklch(0.136 0.02 255.286);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.825 0.024 261.48);
  --primary-foreground: oklch(0.298 0.028 261.244);
  --secondary: oklch(0.85 0.023 207.846);
  --secondary-foreground: oklch(0.328 0.025 207.956);
  --accent: oklch(0.809 0.035 291.73);
  --accent-foreground: oklch(0.28 0.041 289.607);
  --destructive: oklch(0.459 0.177 29.725);
  --destructive-foreground: oklch(0.939 0.028 22.571);
  --ring: oklch(0.825 0.024 261.48);
  --chart-1: oklch(0.825 0.024 261.48);
  --chart-2: oklch(0.85 0.023 207.846);
  --chart-3: oklch(0.809 0.035 291.73);
  --chart-4: oklch(0.872 0.02 207.854);
  --chart-5: oklch(0.823 0.027 261.472);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.018 256.21);
  --foreground: oklch(0.976 0.002 261.514);
  --muted: oklch(0.201 0.013 207.882);
  --muted-foreground: oklch(0.769 0.008 207.893);
  --popover: oklch(0.137 0.018 256.21);
  --popover-foreground: oklch(0.976 0.002 261.514);
  --card: oklch(0.137 0.018 256.21);
  --card-foreground: oklch(0.976 0.002 261.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.825 0.024 261.48);
  --primary-foreground: oklch(0.298 0.028 261.244);
  --secondary: oklch(0.85 0.023 207.846);
  --secondary-foreground: oklch(0.328 0.025 207.956);
  --accent: oklch(0.809 0.035 291.73);
  --accent-foreground: oklch(0.28 0.041 289.607);
  --destructive: oklch(0.564 0.22 29.752);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.825 0.024 261.48);
  --chart-1: oklch(0.825 0.024 261.48);
  --chart-2: oklch(0.85 0.023 207.846);
  --chart-3: oklch(0.809 0.035 291.73);
  --chart-4: oklch(0.872 0.02 207.854);
  --chart-5: oklch(0.823 0.027 261.472);
}