Impressionable for shadcn/ui

Impressionable is a shadcn/ui theme built around a neutral gray primary color (#d3ced4) with neutral gray accents (#d4ced2). The light mode uses a neutral background (#fbf8fc). Dark mode keeps the neutral gray primary (#d3ced4) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbf8fcghostwhite
#000000black
Foreground
#000000black
#fbf8fcghostwhite
Card
#faf4fbghostwhite
#030303black
Card foreground
#000000black
#fdfcfdwhite
Popover
#faf4fbghostwhite
#030303black
Popover foreground
#000000black
#fdfcfdwhite
Primary
#d3ced4lightgrey
#d3ced4lightgrey
Primary foreground
#3a353bdarkslategray
#3a353bdarkslategray
Secondary
#d0ced4lightgrey
#d0ced4lightgrey
Secondary foreground
#37353bdarkslategray
#37353bdarkslategray
Muted
#e7e4eclavender
#16131bblack
Muted foreground
#3d3748darkslategray
#bcb7c8silver
Accent
#d4ced2lightgrey
#d4ced2lightgrey
Accent foreground
#3b3539darkslategray
#3b3539darkslategray
Destructive
#c34409chocolate
#f45810orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#d3ced4lightgrey
#d3ced4lightgrey

Contrast

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

Light mode
Text on background19.91:1AAA
Text on card19.38:1AAA
Primary button7.74:1AAA
Secondary button7.78:1AAA
Muted text9.10:1AAA
Accent7.74:1AAA
Destructive5.06:1AA
Dark mode
Text on background19.93:1AAA
Text on card20.20:1AAA
Primary button7.74:1AAA
Secondary button7.78:1AAA
Muted text9.39:1AAA
Accent7.74:1AAA
Destructive3.35:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.982 0.007 320.542);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.924 0.01 301.316);
  --muted-foreground: oklch(0.351 0.029 300.139);
  --popover: oklch(0.973 0.01 320.548);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.973 0.01 320.548);
  --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.858 0.009 320.548);
  --primary-foreground: oklch(0.336 0.014 320.595);
  --secondary: oklch(0.856 0.008 301.347);
  --secondary-foreground: oklch(0.333 0.012 300.909);
  --accent: oklch(0.858 0.008 337.449);
  --accent-foreground: oklch(0.337 0.012 337.976);
  --destructive: oklch(0.558 0.172 39.594);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.009 320.548);
  --chart-1: oklch(0.858 0.009 320.548);
  --chart-2: oklch(0.856 0.008 301.347);
  --chart-3: oklch(0.858 0.008 337.449);
  --chart-4: oklch(0.88 0.006 301.375);
  --chart-5: oklch(0.856 0.014 320.556);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.983 0.005 320.54);
  --muted: oklch(0.194 0.015 300.238);
  --muted-foreground: oklch(0.789 0.024 301.005);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(0.991 0.003 320.536);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.991 0.003 320.536);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.858 0.009 320.548);
  --primary-foreground: oklch(0.336 0.014 320.595);
  --secondary: oklch(0.856 0.008 301.347);
  --secondary-foreground: oklch(0.333 0.012 300.909);
  --accent: oklch(0.858 0.008 337.449);
  --accent-foreground: oklch(0.337 0.012 337.976);
  --destructive: oklch(0.662 0.203 39.794);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.858 0.009 320.548);
  --chart-1: oklch(0.858 0.009 320.548);
  --chart-2: oklch(0.856 0.008 301.347);
  --chart-3: oklch(0.858 0.008 337.449);
  --chart-4: oklch(0.88 0.006 301.375);
  --chart-5: oklch(0.856 0.014 320.556);
}