Impressive for shadcn/ui

Impressive is a shadcn/ui theme built around a muted green primary color (#b0c4b5) with muted teal accents (#b0c4bf). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the muted green primary (#b0c4b5) on a green-tinted background (#050f08).

Color palette

TokenLightDark
Background
#f8fcf9mintcream
#050f08black
Foreground
#020d05black
#f9fbf9mintcream
Card
#f8fcf9mintcream
#050f08black
Card foreground
#020d05black
#f9fbf9mintcream
Popover
#f8fcf9mintcream
#050f08black
Popover foreground
#020d05black
#f9fbf9mintcream
Primary
#b0c4b5silver
#b0c4b5silver
Primary foreground
#1c261fblack
#1c261fblack
Secondary
#b5c4b0silver
#b5c4b0silver
Secondary foreground
#1f261cblack
#1f261cblack
Muted
#ebf2e8linen
#0f170dblack
Muted foreground
#404e3cdarkslategray
#b6c3b1silver
Accent
#b0c4bfsilver
#b0c4bfsilver
Accent foreground
#1c2624black
#1c2624black
Destructive
#7f2d0asaddlebrown
#d44c11chocolate
Destructive foreground
#fad3c2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0c4b5silver
#b0c4b5silver

Contrast

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

Light mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button8.50:1AAA
Secondary button8.52:1AAA
Muted text7.75:1AAA
Accent8.53:1AAA
Destructive6.60:1AA
Dark mode
Text on background18.70:1AAA
Text on card18.70:1AAA
Primary button8.50:1AAA
Secondary button8.52:1AAA
Muted text9.95:1AAA
Accent8.53:1AAA
Destructive4.33:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 153.794);
  --foreground: oklch(0.143 0.027 152.813);
  --muted: oklch(0.953 0.015 137.791);
  --muted-foreground: oklch(0.406 0.034 137.923);
  --popover: oklch(0.987 0.005 153.794);
  --popover-foreground: oklch(0.143 0.027 152.813);
  --card: oklch(0.987 0.005 153.794);
  --card-foreground: oklch(0.143 0.027 152.813);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.802 0.031 153.199);
  --primary-foreground: oklch(0.257 0.02 152.488);
  --secondary: oklch(0.804 0.033 137.835);
  --secondary-foreground: oklch(0.258 0.021 137.918);
  --accent: oklch(0.805 0.024 179.006);
  --accent-foreground: oklch(0.259 0.015 178.13);
  --destructive: oklch(0.414 0.121 40.118);
  --destructive-foreground: oklch(0.895 0.05 44.503);
  --ring: oklch(0.802 0.031 153.199);
  --chart-1: oklch(0.802 0.031 153.199);
  --chart-2: oklch(0.804 0.033 137.835);
  --chart-3: oklch(0.805 0.024 179.006);
  --chart-4: oklch(0.826 0.029 137.825);
  --chart-5: oklch(0.804 0.037 153.063);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.156 0.023 152.5);
  --foreground: oklch(0.986 0.003 153.827);
  --muted: oklch(0.193 0.023 138.01);
  --muted-foreground: oklch(0.802 0.029 137.825);
  --popover: oklch(0.156 0.023 152.5);
  --popover-foreground: oklch(0.986 0.003 153.827);
  --card: oklch(0.156 0.023 152.5);
  --card-foreground: oklch(0.986 0.003 153.827);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.802 0.031 153.199);
  --primary-foreground: oklch(0.257 0.02 152.488);
  --secondary: oklch(0.804 0.033 137.835);
  --secondary-foreground: oklch(0.258 0.021 137.918);
  --accent: oklch(0.805 0.024 179.006);
  --accent-foreground: oklch(0.259 0.015 178.13);
  --destructive: oklch(0.597 0.183 39.284);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.802 0.031 153.199);
  --chart-1: oklch(0.802 0.031 153.199);
  --chart-2: oklch(0.804 0.033 137.835);
  --chart-3: oklch(0.805 0.024 179.006);
  --chart-4: oklch(0.826 0.029 137.825);
  --chart-5: oklch(0.804 0.037 153.063);
}