Impressionable for shadcn/ui

Impressionable is a shadcn/ui theme built around a near-white primary color (#ffffff) with near-white accents (#ffffff). The light mode uses a neutral background (#fdf7f7). Dark mode keeps the near-white primary (#ffffff) on a red-tinted background (#0c0404).

Color palette

TokenLightDark
Background
#fdf7f7snow
#0c0404black
Foreground
#150404black
#faf4f4whitesmoke
Card
#fdf7f7snow
#0c0404black
Card foreground
#150404black
#faf4f4whitesmoke
Popover
#fdf7f7snow
#0c0404black
Popover foreground
#150404black
#faf4f4whitesmoke
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#ffffffwhite
#ffffffwhite
Secondary foreground
#333333darkslategray
#333333darkslategray
Muted
#ead7d7gainsboro
#281515black
Muted foreground
#5b5252dimgray
#ada4a4darkgray
Accent
#ffffffwhite
#ffffffwhite
Accent foreground
#333333darkslategray
#333333darkslategray
Destructive
#812904saddlebrown
#f85a16orangered
Destructive foreground
#fdcebapeachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background18.87:1AAA
Text on card18.87:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text5.47:1AA
Accent12.63:1AAA
Destructive6.53:1AA
Dark mode
Text on background18.70:1AAA
Text on card18.70:1AAA
Primary button12.63:1AAA
Secondary button12.63:1AAA
Muted text7.12:1AAA
Accent12.63:1AAA
Destructive6.46:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.006 17.255);
  --foreground: oklch(0.142 0.034 22.265);
  --muted: oklch(0.894 0.021 17.553);
  --muted-foreground: oklch(0.448 0.011 17.587);
  --popover: oklch(0.981 0.006 17.255);
  --popover-foreground: oklch(0.142 0.034 22.265);
  --card: oklch(0.981 0.006 17.255);
  --card-foreground: oklch(0.142 0.034 22.265);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.411 0.128 39.216);
  --destructive-foreground: oklch(0.887 0.06 44.423);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.019 20.328);
  --foreground: oklch(0.973 0.007 17.27);
  --muted: oklch(0.223 0.031 19.839);
  --muted-foreground: oklch(0.726 0.01 17.388);
  --popover: oklch(0.12 0.019 20.328);
  --popover-foreground: oklch(0.973 0.007 17.27);
  --card: oklch(0.12 0.019 20.328);
  --card-foreground: oklch(0.973 0.007 17.27);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(1 0 180);
  --secondary-foreground: oklch(0.321 0 180);
  --accent: oklch(1 0 180);
  --accent-foreground: oklch(0.321 0 180);
  --destructive: oklch(0.671 0.205 39.322);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(1 0 180);
  --chart-3: oklch(1 0 180);
  --chart-4: oklch(1.023 0 180);
  --chart-5: oklch(1 0 180);
}