Impressive for shadcn/ui

Impressive is a shadcn/ui theme built around a vivid orange primary color (#b26410) with vivid violet accents (#6410b2). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#b26410) on an orange-tinted background (#0e0a06).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0a06black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#0e0a06black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#0e0a06black
Popover foreground
#000000black
#ffffffwhite
Primary
#b26410darkgoldenrod
#b26410darkgoldenrod
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#10b264mediumseagreen
#10b264mediumseagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eff5f2whitesmoke
#0a100dblack
Muted foreground
#5e6461dimgray
#9ba19edarkgray
Accent
#6410b2rebeccapurple
#6410b2rebeccapurple
Accent foreground
#faf6feghostwhite
#faf6feghostwhite
Destructive
#b54108firebrick
#f6702ctomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b26410darkgoldenrod
#b26410darkgoldenrod

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.45:1AA Large
Secondary button2.76:1Fail
Muted text5.49:1AA
Accent8.73:1AAA
Destructive5.61:1AA
Dark mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button4.45:1AA Large
Secondary button2.76:1Fail
Muted text7.31:1AAA
Accent8.73:1AAA
Destructive7.26:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.966 0.008 165.807);
  --muted-foreground: oklch(0.497 0.008 165.555);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.58 0.132 59.07);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.672 0.167 153.89);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.426 0.219 298.794);
  --accent-foreground: oklch(0.978 0.012 308.994);
  --destructive: oklch(0.532 0.161 40.698);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.58 0.132 59.07);
  --chart-1: oklch(0.58 0.132 59.07);
  --chart-2: oklch(0.672 0.167 153.89);
  --chart-3: oklch(0.426 0.219 298.794);
  --chart-4: oklch(0.711 0.177 153.797);
  --chart-5: oklch(0.584 0.135 58.369);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.15 0.012 71.993);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.164 0.011 164.002);
  --muted-foreground: oklch(0.703 0.008 165.72);
  --popover: oklch(0.15 0.012 71.993);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.15 0.012 71.993);
  --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.58 0.132 59.07);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.672 0.167 153.89);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.426 0.219 298.794);
  --accent-foreground: oklch(0.978 0.012 308.994);
  --destructive: oklch(0.697 0.182 43.736);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.58 0.132 59.07);
  --chart-1: oklch(0.58 0.132 59.07);
  --chart-2: oklch(0.672 0.167 153.89);
  --chart-3: oklch(0.426 0.219 298.794);
  --chart-4: oklch(0.711 0.177 153.797);
  --chart-5: oklch(0.584 0.135 58.369);
}