Reindeer for shadcn/ui

Reindeer is a shadcn/ui theme built around a vivid light violet primary color (#bc91fd) with vivid light purple accents (#f291fd). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the vivid light violet primary (#bc91fd) on a neutral background (#050307).

Color palette

TokenLightDark
Background
#fcfbfewhite
#050307black
Foreground
#040208black
#fcfcfdwhite
Card
#f9f7fcghostwhite
#07040bblack
Card foreground
#020104black
#ffffffwhite
Popover
#fcfbfewhite
#050307black
Popover foreground
#040208black
#fcfcfdwhite
Primary
#bc91fdplum
#bc91fdplum
Primary foreground
#25025amidnightblue
#25025amidnightblue
Secondary
#919cfdcornflowerblue
#919cfdcornflowerblue
Secondary foreground
#020b5amidnightblue
#020b5amidnightblue
Muted
#d3d5e8gainsboro
#17192cblack
Muted foreground
#5e5e5edimgray
#a1a1a1darkgray
Accent
#f291fdviolet
#f291fdviolet
Accent foreground
#51025aindigo
#51025aindigo
Destructive
#c2350afirebrick
#f35120orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bc91fdplum
#bc91fdplum

Contrast

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

Light mode
Text on background20.05:1AAA
Text on card19.64:1AAA
Primary button6.97:1AA
Secondary button6.98:1AA
Muted text4.47:1AA Large
Accent6.80:1AA
Destructive5.52:1AA
Dark mode
Text on background20.05:1AAA
Text on card20.35:1AAA
Primary button6.97:1AA
Secondary button6.98:1AA
Muted text6.73:1AA
Accent6.80:1AA
Destructive3.48:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 304.296);
  --foreground: oklch(0.098 0.026 305.641);
  --muted: oklch(0.878 0.026 280.789);
  --muted-foreground: oklch(0.483 0 180);
  --popover: oklch(0.99 0.003 304.296);
  --popover-foreground: oklch(0.098 0.026 305.641);
  --card: oklch(0.98 0.007 304.246);
  --card-foreground: oklch(0.078 0.02 305.641);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.74 0.156 301.121);
  --primary-foreground: oklch(0.245 0.135 290.4);
  --secondary: oklch(0.724 0.141 277.463);
  --secondary-foreground: oklch(0.227 0.136 265.137);
  --accent: oklch(0.795 0.178 323.391);
  --accent-foreground: oklch(0.313 0.146 323.213);
  --destructive: oklch(0.54 0.184 35.105);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.74 0.156 301.121);
  --chart-1: oklch(0.74 0.156 301.121);
  --chart-2: oklch(0.724 0.141 277.463);
  --chart-3: oklch(0.795 0.178 323.391);
  --chart-4: oklch(0.761 0.12 278.276);
  --chart-5: oklch(0.737 0.161 300.997);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.104 0.018 305.171);
  --foreground: oklch(0.991 0.001 304.324);
  --muted: oklch(0.22 0.037 278.013);
  --muted-foreground: oklch(0.708 0 158.199);
  --popover: oklch(0.104 0.018 305.171);
  --popover-foreground: oklch(0.991 0.001 304.324);
  --card: oklch(0.119 0.02 305.077);
  --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.74 0.156 301.121);
  --primary-foreground: oklch(0.245 0.135 290.4);
  --secondary: oklch(0.724 0.141 277.463);
  --secondary-foreground: oklch(0.227 0.136 265.137);
  --accent: oklch(0.795 0.178 323.391);
  --accent-foreground: oklch(0.313 0.146 323.213);
  --destructive: oklch(0.654 0.206 36.187);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.74 0.156 301.121);
  --chart-1: oklch(0.74 0.156 301.121);
  --chart-2: oklch(0.724 0.141 277.463);
  --chart-3: oklch(0.795 0.178 323.391);
  --chart-4: oklch(0.761 0.12 278.276);
  --chart-5: oklch(0.737 0.161 300.997);
}