Arena for shadcn/ui

Arena is a shadcn/ui theme built around a muted red primary color (#a06a6d) with muted orange accents (#a0816a). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted red primary (#a06a6d) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#ffffffwhite
#040102black
Foreground
#0b0404black
#faf4f5whitesmoke
Card
#ffffffwhite
#040102black
Card foreground
#0b0404black
#faf4f5whitesmoke
Popover
#ffffffwhite
#040102black
Popover foreground
#0b0404black
#faf4f5whitesmoke
Primary
#a06a6dgray
#a06a6dgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a06a88gray
#a06a88gray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e8e3e6gainsboro
#1c171ablack
Muted foreground
#56434edarkslategray
#bca9b4darkgray
Accent
#a0816agray
#a0816agray
Accent foreground
#000000black
#000000black
Destructive
#c62906firebrick
#f84c25orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a06a6dgray
#a06a6dgray

Contrast

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

Light mode
Text on background20.32:1AAA
Text on card20.32:1AAA
Primary button4.41:1AA Large
Secondary button4.29:1AA Large
Muted text7.16:1AAA
Accent5.83:1AA
Destructive5.64:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button4.41:1AA Large
Secondary button4.29:1AA Large
Muted text7.99:1AAA
Accent5.83:1AA
Destructive3.46:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.121 0.018 14.19);
  --muted: oklch(0.92 0.007 341.999);
  --muted-foreground: oklch(0.406 0.032 343.624);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.121 0.018 14.19);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.121 0.018 14.19);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.581 0.069 15.058);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.59 0.08 344.831);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.051 59.075);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.537 0.196 32.722);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.581 0.069 15.058);
  --chart-1: oklch(0.581 0.069 15.058);
  --chart-2: oklch(0.59 0.08 344.831);
  --chart-3: oklch(0.626 0.051 59.075);
  --chart-4: oklch(0.616 0.074 344.504);
  --chart-5: oklch(0.578 0.079 15.491);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.011 13.902);
  --foreground: oklch(0.973 0.007 12.568);
  --muted: oklch(0.211 0.011 342.984);
  --muted-foreground: oklch(0.754 0.028 342.665);
  --popover: oklch(0.085 0.011 13.902);
  --popover-foreground: oklch(0.973 0.007 12.568);
  --card: oklch(0.085 0.011 13.902);
  --card-foreground: oklch(0.973 0.007 12.568);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.581 0.069 15.058);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.59 0.08 344.831);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.626 0.051 59.075);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.657 0.215 33.813);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.581 0.069 15.058);
  --chart-1: oklch(0.581 0.069 15.058);
  --chart-2: oklch(0.59 0.08 344.831);
  --chart-3: oklch(0.626 0.051 59.075);
  --chart-4: oklch(0.616 0.074 344.504);
  --chart-5: oklch(0.578 0.079 15.491);
}