Beast for shadcn/ui

Beast is a shadcn/ui theme built around a yellow primary color (#c5c775) with green accents (#9dc775). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#c5c775) on a yellow-tinted background (#0f0f05).

Color palette

TokenLightDark
Background
#ffffffwhite
#0f0f05black
Foreground
#101004black
#fdfdfcwhite
Card
#ffffffwhite
#0f0f05black
Card foreground
#101004black
#fdfdfcwhite
Popover
#ffffffwhite
#0f0f05black
Popover foreground
#101004black
#fdfdfcwhite
Primary
#c5c775darkkhaki
#c5c775darkkhaki
Primary foreground
#070703black
#070703black
Secondary
#c79f75darkkhaki
#c79f75darkkhaki
Secondary foreground
#070503black
#070503black
Muted
#eeedeclinen
#131211black
Muted foreground
#494746darkslategray
#b9b8b6silver
Accent
#9dc775darkseagreen
#9dc775darkseagreen
Accent foreground
#050703black
#050703black
Destructive
#c0300cfirebrick
#f25f3atomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c5c775darkkhaki
#c5c775darkkhaki

Contrast

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

Light mode
Text on background19.12:1AAA
Text on card19.12:1AAA
Primary button11.33:1AAA
Secondary button8.40:1AAA
Muted text7.91:1AAA
Accent10.43:1AAA
Destructive5.72:1AA
Dark mode
Text on background18.90:1AAA
Text on card18.90:1AAA
Primary button11.33:1AAA
Secondary button8.40:1AAA
Muted text9.44:1AAA
Accent10.43:1AAA
Destructive6.49:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.168 0.024 109.454);
  --muted: oklch(0.947 0.002 69.631);
  --muted-foreground: oklch(0.4 0.003 69.575);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.168 0.024 109.454);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.168 0.024 109.454);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.81 0.104 109.345);
  --primary-foreground: oklch(0.127 0.014 108.827);
  --secondary: oklch(0.73 0.073 68.135);
  --secondary-foreground: oklch(0.119 0.01 75.5);
  --accent: oklch(0.78 0.118 130.961);
  --accent-foreground: oklch(0.124 0.015 128.205);
  --destructive: oklch(0.532 0.185 33.817);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.81 0.104 109.345);
  --chart-1: oklch(0.81 0.104 109.345);
  --chart-2: oklch(0.73 0.073 68.135);
  --chart-3: oklch(0.78 0.118 130.961);
  --chart-4: oklch(0.751 0.068 68.382);
  --chart-5: oklch(0.818 0.11 109.446);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.165 0.02 109.2);
  --foreground: oklch(0.994 0.002 107.198);
  --muted: oklch(0.182 0.003 69.495);
  --muted-foreground: oklch(0.782 0.003 69.618);
  --popover: oklch(0.165 0.02 109.2);
  --popover-foreground: oklch(0.994 0.002 107.198);
  --card: oklch(0.165 0.02 109.2);
  --card-foreground: oklch(0.994 0.002 107.198);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.81 0.104 109.345);
  --primary-foreground: oklch(0.127 0.014 108.827);
  --secondary: oklch(0.73 0.073 68.135);
  --secondary-foreground: oklch(0.119 0.01 75.5);
  --accent: oklch(0.78 0.118 130.961);
  --accent-foreground: oklch(0.124 0.015 128.205);
  --destructive: oklch(0.671 0.189 35.126);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.81 0.104 109.345);
  --chart-1: oklch(0.81 0.104 109.345);
  --chart-2: oklch(0.73 0.073 68.135);
  --chart-3: oklch(0.78 0.118 130.961);
  --chart-4: oklch(0.751 0.068 68.382);
  --chart-5: oklch(0.818 0.11 109.446);
}