Wrestler for shadcn/ui

Wrestler is a shadcn/ui theme built around a neutral gray primary color (#40423e) with muted green accents (#b8c1a4). The light mode uses a neutral background (#fbfcf8). Dark mode keeps the neutral gray primary (#40423e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfcf8snow
#000000black
Foreground
#090c03black
#fdfdfcwhite
Card
#f9fbf4whitesmoke
#030303black
Card foreground
#060802black
#ffffffwhite
Popover
#fbfcf8snow
#000000black
Popover foreground
#090c03black
#fdfdfcwhite
Primary
#40423edarkslategray
#40423edarkslategray
Primary foreground
#d9dad8gainsboro
#d9dad8gainsboro
Secondary
#ced1c7lightgrey
#1b1d16black
Secondary foreground
#35382edarkslategray
#b6bca9darkgray
Muted
#e4ebd6gainsboro
#222914black
Muted foreground
#5c5c5cdimgray
#a3a3a3darkgray
Accent
#b8c1a4darkgray
#373f27darkslategray
Accent foreground
#1b1e15black
#d0d8c0lightgrey
Destructive
#c54a07chocolate
#dd5308chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#40423edarkslategray
#40423edarkslategray

Contrast

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

Light mode
Text on background19.11:1AAA
Text on card19.22:1AAA
Primary button7.26:1AAA
Secondary button7.72:1AAA
Muted text5.45:1AA
Accent9.01:1AAA
Destructive4.83:1AA
Dark mode
Text on background20.63:1AAA
Text on card20.67:1AAA
Primary button7.26:1AAA
Secondary button8.73:1AAA
Muted text5.95:1AA
Accent7.51:1AAA
Destructive3.94:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.006 120.864);
  --foreground: oklch(0.149 0.023 120.922);
  --muted: oklch(0.929 0.029 121.276);
  --muted-foreground: oklch(0.474 0 198.435);
  --popover: oklch(0.989 0.006 120.864);
  --popover-foreground: oklch(0.149 0.023 120.922);
  --card: oklch(0.983 0.009 120.914);
  --card-foreground: oklch(0.129 0.02 120.515);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.375 0.007 121.058);
  --primary-foreground: oklch(0.887 0.003 120.827);
  --secondary: oklch(0.856 0.014 121.044);
  --secondary-foreground: oklch(0.335 0.018 121.662);
  --accent: oklch(0.796 0.041 121.63);
  --accent-foreground: oklch(0.23 0.019 122.131);
  --destructive: oklch(0.568 0.17 41.521);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.007 121.058);
  --chart-1: oklch(0.375 0.007 121.058);
  --chart-2: oklch(0.856 0.014 121.044);
  --chart-3: oklch(0.796 0.041 121.63);
  --chart-4: oklch(0.878 0.012 120.995);
  --chart-5: oklch(0.38 0.013 121.339);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.994 0.002 120.795);
  --muted: oklch(0.268 0.037 123.232);
  --muted-foreground: oklch(0.716 0 165.964);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.994 0.002 120.795);
  --card: oklch(0.092 0 180);
  --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.375 0.007 121.058);
  --primary-foreground: oklch(0.887 0.003 120.827);
  --secondary: oklch(0.225 0.013 121.721);
  --secondary-foreground: oklch(0.786 0.028 121.366);
  --accent: oklch(0.353 0.04 122.718);
  --accent-foreground: oklch(0.869 0.033 121.39);
  --destructive: oklch(0.62 0.187 41.271);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.375 0.007 121.058);
  --chart-1: oklch(0.375 0.007 121.058);
  --chart-2: oklch(0.225 0.013 121.721);
  --chart-3: oklch(0.353 0.04 122.718);
  --chart-4: oklch(0.261 0.016 121.802);
  --chart-5: oklch(0.38 0.013 121.339);
}