Sculpture for shadcn/ui

Sculpture is a shadcn/ui theme built around a vivid green primary color (#7af0ad) with vivid pink accents (#f07abd). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#7af0ad) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#051009black
#ffffffwhite
Card
#ffffffwhite
#000000black
Card foreground
#051009black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#051009black
#ffffffwhite
Primary
#7af0adlightgreen
#7af0adlightgreen
Primary foreground
#063219black
#063219black
Secondary
#f07abdhotpink
#f07abdhotpink
Secondary foreground
#32061fblack
#32061fblack
Muted
#f0eff0whitesmoke
#100f0fblack
Muted foreground
#494145darkslategray
#beb6bbsilver
Accent
#f07abdhotpink
#f07abdhotpink
Accent foreground
#32061fblack
#32061fblack
Destructive
#cb0b01firebrick
#fe261borangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7af0adlightgreen
#7af0adlightgreen

Contrast

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

Light mode
Text on background19.36:1AAA
Text on card19.36:1AAA
Primary button10.09:1AAA
Secondary button6.96:1AA
Muted text8.61:1AAA
Accent6.96:1AA
Destructive5.85:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button10.09:1AAA
Secondary button6.96:1AA
Muted text9.67:1AAA
Accent6.96:1AA
Destructive3.81:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.158 0.023 160.002);
  --muted: oklch(0.953 0.002 341.858);
  --muted-foreground: oklch(0.384 0.014 342.635);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.158 0.023 160.002);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.158 0.023 160.002);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.869 0.144 156.753);
  --primary-foreground: oklch(0.282 0.066 153.358);
  --secondary: oklch(0.734 0.163 346.782);
  --secondary-foreground: oklch(0.219 0.077 350.446);
  --accent: oklch(0.734 0.163 346.782);
  --accent-foreground: oklch(0.219 0.077 350.446);
  --destructive: oklch(0.532 0.214 29.709);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.144 156.753);
  --chart-1: oklch(0.869 0.144 156.753);
  --chart-2: oklch(0.734 0.163 346.782);
  --chart-3: oklch(0.734 0.163 346.782);
  --chart-4: oklch(0.758 0.147 346.102);
  --chart-5: oklch(0.874 0.148 156.568);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.168 0.003 342.241);
  --muted-foreground: oklch(0.785 0.011 342.151);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.869 0.144 156.753);
  --primary-foreground: oklch(0.282 0.066 153.358);
  --secondary: oklch(0.734 0.163 346.782);
  --secondary-foreground: oklch(0.219 0.077 350.446);
  --accent: oklch(0.734 0.163 346.782);
  --accent-foreground: oklch(0.219 0.077 350.446);
  --destructive: oklch(0.638 0.245 29.29);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.869 0.144 156.753);
  --chart-1: oklch(0.869 0.144 156.753);
  --chart-2: oklch(0.734 0.163 346.782);
  --chart-3: oklch(0.734 0.163 346.782);
  --chart-4: oklch(0.758 0.147 346.102);
  --chart-5: oklch(0.874 0.148 156.568);
}