Surprise Amber Silverfish for shadcn/ui

Surprise Amber Silverfish is a shadcn/ui theme built around a vivid orange primary color (#edb478) with vivid violet accents (#b478ed). The light mode uses a neutral background (#fefcfb). Dark mode keeps the vivid orange primary (#edb478) on an orange-tinted background (#0f0a05).

Color palette

TokenLightDark
Background
#fefcfbsnow
#0f0a05black
Foreground
#000000black
#fdfcfcsnow
Card
#fefcfbsnow
#0f0a05black
Card foreground
#000000black
#fdfcfcsnow
Popover
#fefcfbsnow
#0f0a05black
Popover foreground
#000000black
#fdfcfcsnow
Primary
#edb478burlywood
#edb478burlywood
Primary foreground
#2d1a06black
#2d1a06black
Secondary
#78edb4aquamarine
#78edb4aquamarine
Secondary foreground
#062d1ablack
#062d1ablack
Muted
#dde9e3gainsboro
#16221cblack
Muted foreground
#5a5e5cdimgray
#a1a5a3darkgray
Accent
#b478edmediumpurple
#b478edmediumpurple
Accent foreground
#1a062dblack
#1a062dblack
Destructive
#793006saddlebrown
#f2610dorangered
Destructive foreground
#fbd0b6peachpuff
#000000black
Border
#eeedeclinen
#262421black
Input
#eeedeclinen
#262421black
Ring
#edb478burlywood
#edb478burlywood

Contrast

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

Light mode
Text on background20.58:1AAA
Text on card20.58:1AAA
Primary button9.05:1AAA
Secondary button10.39:1AAA
Muted text5.26:1AA
Accent6.20:1AA
Destructive6.58:1AA
Dark mode
Text on background19.20:1AAA
Text on card19.20:1AAA
Primary button9.05:1AAA
Secondary button10.39:1AAA
Muted text6.59:1AA
Accent6.20:1AA
Destructive6.49:1AA

CSS variables

Paste this into your globals.css to use Surprise Amber Silverfish in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 69.63);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.923 0.014 165.607);
  --muted-foreground: oklch(0.477 0.005 165.711);
  --popover: oklch(0.993 0.002 69.63);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.993 0.002 69.63);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.947 0.002 69.628);
  --input: oklch(0.947 0.002 69.628);
  --primary: oklch(0.81 0.101 67.461);
  --primary-foreground: oklch(0.239 0.044 65.231);
  --secondary: oklch(0.862 0.134 160.703);
  --secondary-foreground: oklch(0.264 0.056 157.705);
  --accent: oklch(0.683 0.174 306.194);
  --accent-foreground: oklch(0.185 0.075 303.72);
  --destructive: oklch(0.408 0.113 44.548);
  --destructive-foreground: oklch(0.887 0.06 51.721);
  --ring: oklch(0.81 0.101 67.461);
  --chart-1: oklch(0.81 0.101 67.461);
  --chart-2: oklch(0.862 0.134 160.703);
  --chart-3: oklch(0.683 0.174 306.194);
  --chart-4: oklch(0.873 0.122 161.409);
  --chart-5: oklch(0.812 0.104 67.323);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.014 72.617);
  --foreground: oklch(0.993 0.001 69.638);
  --muted: oklch(0.238 0.019 163.663);
  --muted-foreground: oklch(0.719 0.005 165.835);
  --popover: oklch(0.151 0.014 72.617);
  --popover-foreground: oklch(0.993 0.001 69.638);
  --card: oklch(0.151 0.014 72.617);
  --card-foreground: oklch(0.993 0.001 69.638);
  --border: oklch(0.261 0.006 69.414);
  --input: oklch(0.261 0.006 69.414);
  --primary: oklch(0.81 0.101 67.461);
  --primary-foreground: oklch(0.239 0.044 65.231);
  --secondary: oklch(0.862 0.134 160.703);
  --secondary-foreground: oklch(0.264 0.056 157.705);
  --accent: oklch(0.683 0.174 306.194);
  --accent-foreground: oklch(0.185 0.075 303.72);
  --destructive: oklch(0.67 0.195 42.868);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.81 0.101 67.461);
  --chart-1: oklch(0.81 0.101 67.461);
  --chart-2: oklch(0.862 0.134 160.703);
  --chart-3: oklch(0.683 0.174 306.194);
  --chart-4: oklch(0.873 0.122 161.409);
  --chart-5: oklch(0.812 0.104 67.323);
}