Single Amber Glow for shadcn/ui

Single Amber Glow is a shadcn/ui theme built around a vivid orange primary color (#f59a38) with vivid blue accents (#3893f5). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid orange primary (#f59a38) on an orange-tinted background (#0b0804).

Color palette

TokenLightDark
Background
#fcfaf8snow
#0b0804black
Foreground
#080502black
#ffffffwhite
Card
#fcfaf8snow
#0b0804black
Card foreground
#080502black
#ffffffwhite
Popover
#fcfaf8snow
#0b0804black
Popover foreground
#080502black
#ffffffwhite
Primary
#f59a38coral
#f59a38coral
Primary foreground
#000000black
#000000black
Secondary
#3893f5dodgerblue
#3893f5dodgerblue
Secondary foreground
#000000black
#000000black
Muted
#d7dee4gainsboro
#1b2128black
Muted foreground
#474a4ddarkslategray
#b2b5b8silver
Accent
#3893f5dodgerblue
#3893f5dodgerblue
Accent foreground
#000000black
#000000black
Destructive
#7f130bmaroon
#ed3d31crimson
Destructive foreground
#fac6c2pink
#ffffffwhite
Border
#e4e1dcgainsboro
#201c18black
Input
#e4e1dcgainsboro
#201c18black
Ring
#f59a38coral
#f59a38coral

Contrast

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

Light mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button9.51:1AAA
Secondary button6.67:1AA
Muted text6.55:1AA
Accent6.67:1AA
Destructive6.98:1AA
Dark mode
Text on background20.00:1AAA
Text on card20.00:1AAA
Primary button9.51:1AAA
Secondary button6.67:1AA
Muted text7.88:1AAA
Accent6.67:1AA
Destructive3.95:1AA Large

CSS variables

Paste this into your globals.css to use Single Amber Glow in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 69.61);
  --foreground: oklch(0.12 0.014 78.149);
  --muted: oklch(0.897 0.012 249.771);
  --muted-foreground: oklch(0.407 0.006 249.794);
  --popover: oklch(0.986 0.004 69.61);
  --popover-foreground: oklch(0.12 0.014 78.149);
  --card: oklch(0.986 0.004 69.61);
  --card-foreground: oklch(0.12 0.014 78.149);
  --border: oklch(0.91 0.007 69.575);
  --input: oklch(0.91 0.007 69.575);
  --primary: oklch(0.762 0.152 63);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.658 0.168 253.087);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.658 0.168 253.087);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.385 0.143 29.525);
  --destructive-foreground: oklch(0.87 0.06 23.109);
  --ring: oklch(0.762 0.152 63);
  --chart-1: oklch(0.762 0.152 63);
  --chart-2: oklch(0.658 0.168 253.087);
  --chart-3: oklch(0.658 0.168 253.087);
  --chart-4: oklch(0.68 0.157 252.447);
  --chart-5: oklch(0.766 0.156 62.579);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.136 0.012 75.805);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.244 0.016 250.221);
  --muted-foreground: oklch(0.772 0.005 249.716);
  --popover: oklch(0.136 0.012 75.805);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.136 0.012 75.805);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.23 0.009 69.221);
  --input: oklch(0.23 0.009 69.221);
  --primary: oklch(0.762 0.152 63);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.658 0.168 253.087);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.658 0.168 253.087);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.625 0.214 28.902);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.762 0.152 63);
  --chart-1: oklch(0.762 0.152 63);
  --chart-2: oklch(0.658 0.168 253.087);
  --chart-3: oklch(0.658 0.168 253.087);
  --chart-4: oklch(0.68 0.157 252.447);
  --chart-5: oklch(0.766 0.156 62.579);
}