Fading Horizon Reindeer for shadcn/ui

Fading Horizon Reindeer is a shadcn/ui theme built around a deep violet primary color (#4b2169) with muted violet accents (#c1b2cd). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep violet primary (#4b2169) on a violet-tinted background (#0b070e).

Color palette

TokenLightDark
Background
#ffffffwhite
#0b070eblack
Foreground
#030105black
#f8f6f8whitesmoke
Card
#ffffffwhite
#0b070eblack
Card foreground
#030105black
#f8f6f8whitesmoke
Popover
#ffffffwhite
#0b070eblack
Popover foreground
#030105black
#f8f6f8whitesmoke
Primary
#4b2169indigo
#4b2169indigo
Primary foreground
#e1cdefgainsboro
#e1cdefgainsboro
Secondary
#d0c9d4lightgrey
#29282adarkslategray
Secondary foreground
#372f3cdarkslategray
#c2c0c4silver
Muted
#e9e1eflavender
#18101eblack
Muted foreground
#53475cdarkslategray
#afa3b8darkgray
Accent
#c1b2cdsilver
#3e3644darkslategray
Accent foreground
#281e2edarkslategray
#d7d2dblightgrey
Destructive
#801e00maroon
#ff4b14orangered
Destructive foreground
#ffc4b3lightpink
#ffffffwhite
Border
#eeebefwhitesmoke
#1a161dblack
Input
#eeebefwhitesmoke
#1a161dblack
Ring
#4b2169indigo
#4b2169indigo

Contrast

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

Light mode
Text on background20.78:1AAA
Text on card20.78:1AAA
Primary button8.25:1AAA
Secondary button7.92:1AAA
Muted text6.79:1AA
Accent7.99:1AAA
Destructive6.59:1AA
Dark mode
Text on background18.61:1AAA
Text on card18.61:1AAA
Primary button8.25:1AAA
Secondary button8.15:1AAA
Muted text7.74:1AAA
Accent7.73:1AAA
Destructive3.34:1AA Large

CSS variables

Paste this into your globals.css to use Fading Horizon Reindeer in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.077 0.027 314.507);
  --muted: oklch(0.92 0.022 311.534);
  --muted-foreground: oklch(0.419 0.038 310.994);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.077 0.027 314.507);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.077 0.027 314.507);
  --border: oklch(0.943 0.007 311.666);
  --input: oklch(0.943 0.007 311.666);
  --primary: oklch(0.345 0.122 308.06);
  --primary-foreground: oklch(0.874 0.051 311.251);
  --secondary: oklch(0.844 0.018 311.557);
  --secondary-foreground: oklch(0.319 0.025 311.103);
  --accent: oklch(0.785 0.041 311.304);
  --accent-foreground: oklch(0.254 0.032 310.688);
  --destructive: oklch(0.395 0.137 35.437);
  --destructive-foreground: oklch(0.869 0.072 37.599);
  --ring: oklch(0.345 0.122 308.06);
  --chart-1: oklch(0.345 0.122 308.06);
  --chart-2: oklch(0.844 0.018 311.557);
  --chart-3: oklch(0.785 0.041 311.304);
  --chart-4: oklch(0.869 0.015 311.588);
  --chart-5: oklch(0.344 0.128 307.755);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.017 311.624);
  --foreground: oklch(0.976 0.003 311.7);
  --muted: oklch(0.19 0.032 310.345);
  --muted-foreground: oklch(0.732 0.033 311.36);
  --popover: oklch(0.137 0.017 311.624);
  --popover-foreground: oklch(0.976 0.003 311.7);
  --card: oklch(0.137 0.017 311.624);
  --card-foreground: oklch(0.976 0.003 311.7);
  --border: oklch(0.209 0.014 311.179);
  --input: oklch(0.209 0.014 311.179);
  --primary: oklch(0.345 0.122 308.06);
  --primary-foreground: oklch(0.874 0.051 311.251);
  --secondary: oklch(0.278 0.005 311.583);
  --secondary-foreground: oklch(0.81 0.006 311.669);
  --accent: oklch(0.348 0.025 311.141);
  --accent-foreground: oklch(0.87 0.013 311.6);
  --destructive: oklch(0.666 0.224 35.328);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.345 0.122 308.06);
  --chart-1: oklch(0.345 0.122 308.06);
  --chart-2: oklch(0.278 0.005 311.583);
  --chart-3: oklch(0.348 0.025 311.141);
  --chart-4: oklch(0.308 0.006 311.577);
  --chart-5: oklch(0.344 0.128 307.755);
}