Arena for shadcn/ui

Arena is a shadcn/ui theme built around a teal primary color (#98d2bf) with muted light teal accents (#cedad6). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the teal primary (#98d2bf) on a neutral background (#030706).

Color palette

TokenLightDark
Background
#f8fcfbmintcream
#030706black
Foreground
#05150fblack
#fcfdfdwhite
Card
#f4faf8mintcream
#050b09black
Card foreground
#04110cblack
#ffffffwhite
Popover
#f8fcfbmintcream
#030706black
Popover foreground
#05150fblack
#fcfdfdwhite
Primary
#98d2bflightsteelblue
#98d2bflightsteelblue
Primary foreground
#112720black
#112720black
Secondary
#e1e5e4gainsboro
#18201dblack
Secondary foreground
#454f4cdarkslategray
#abbfb8silver
Muted
#d1ebe2gainsboro
#142e25darkslategray
Muted foreground
#3b4e48darkslategray
#b1c4bdsilver
Accent
#cedad6lightgrey
#2a3c36darkslategray
Accent foreground
#32433ddarkslategray
#c3d5cflightgrey
Destructive
#9a2a04saddlebrown
#f94e15orangered
Destructive foreground
#feddd2blanchedalmond
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#98d2bflightsteelblue
#98d2bflightsteelblue

Contrast

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

Light mode
Text on background18.10:1AAA
Text on card18.27:1AAA
Primary button9.21:1AAA
Secondary button6.67:1AA
Muted text7.03:1AAA
Accent7.26:1AAA
Destructive6.10:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.87:1AAA
Primary button9.21:1AAA
Secondary button8.62:1AAA
Muted text7.93:1AAA
Accent7.62:1AAA
Destructive3.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 174.453);
  --foreground: oklch(0.178 0.026 170.371);
  --muted: oklch(0.918 0.03 173.616);
  --muted-foreground: oklch(0.407 0.026 172.537);
  --popover: oklch(0.987 0.005 174.453);
  --popover-foreground: oklch(0.178 0.026 170.371);
  --card: oklch(0.981 0.007 174.384);
  --card-foreground: oklch(0.161 0.022 171.852);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.818 0.065 171.988);
  --primary-foreground: oklch(0.252 0.032 170.052);
  --secondary: oklch(0.918 0.005 174.442);
  --secondary-foreground: oklch(0.418 0.014 173.545);
  --accent: oklch(0.877 0.014 174.109);
  --accent-foreground: oklch(0.366 0.023 172.595);
  --destructive: oklch(0.457 0.154 35.871);
  --destructive-foreground: oklch(0.922 0.039 39.305);
  --ring: oklch(0.818 0.065 171.988);
  --chart-1: oklch(0.818 0.065 171.988);
  --chart-2: oklch(0.918 0.005 174.442);
  --chart-3: oklch(0.877 0.014 174.109);
  --chart-4: oklch(0.941 0.003 174.485);
  --chart-5: oklch(0.822 0.07 171.791);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.011 174.767);
  --foreground: oklch(0.993 0.001 174.57);
  --muted: oklch(0.278 0.036 169.811);
  --muted-foreground: oklch(0.803 0.023 173.733);
  --popover: oklch(0.122 0.011 174.767);
  --popover-foreground: oklch(0.993 0.001 174.57);
  --card: oklch(0.14 0.013 174.674);
  --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.818 0.065 171.988);
  --primary-foreground: oklch(0.252 0.032 170.052);
  --secondary: oklch(0.234 0.012 173.056);
  --secondary-foreground: oklch(0.787 0.023 173.713);
  --accent: oklch(0.339 0.026 172.104);
  --accent-foreground: oklch(0.858 0.021 173.84);
  --destructive: oklch(0.66 0.216 36.294);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.818 0.065 171.988);
  --chart-1: oklch(0.818 0.065 171.988);
  --chart-2: oklch(0.234 0.012 173.056);
  --chart-3: oklch(0.339 0.026 172.104);
  --chart-4: oklch(0.268 0.014 172.939);
  --chart-5: oklch(0.822 0.07 171.791);
}