Bull-fighter for shadcn/ui

Bull-fighter is a shadcn/ui theme built around a neutral gray primary color (#6f7b70) with neutral gray accents (#7b706f). The light mode uses a neutral background (#fbfefb). Dark mode keeps the neutral gray primary (#6f7b70) on a neutral background (#030703).

Color palette

TokenLightDark
Background
#fbfefbwhite
#030703black
Foreground
#030c03black
#f5f9f5whitesmoke
Card
#fbfefbwhite
#030703black
Card foreground
#030c03black
#f5f9f5whitesmoke
Popover
#fbfefbwhite
#030703black
Popover foreground
#030c03black
#f5f9f5whitesmoke
Primary
#6f7b70dimgray
#6f7b70dimgray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#706f7bdimgray
#706f7bdimgray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d8d7eagainsboro
#161528black
Muted foreground
#39384cdarkslategray
#b3b3c7silver
Accent
#7b706fdimgray
#7b706fdimgray
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8d3302saddlebrown
#fb5e09orangered
Destructive foreground
#fed7c3peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6f7b70dimgray
#6f7b70dimgray

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button4.41:1AA Large
Secondary button4.92:1AA
Muted text8.04:1AAA
Accent4.78:1AA
Destructive6.05:1AA
Dark mode
Text on background19.04:1AAA
Text on card19.04:1AAA
Primary button4.41:1AA Large
Secondary button4.92:1AA
Muted text8.67:1AAA
Accent4.78:1AA
Destructive6.70:1AA

CSS variables

Paste this into your globals.css to use Bull-fighter in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.005 146.494);
  --foreground: oklch(0.141 0.03 144.79);
  --muted: oklch(0.886 0.025 287.409);
  --muted-foreground: oklch(0.351 0.034 286.011);
  --popover: oklch(0.994 0.005 146.494);
  --popover-foreground: oklch(0.141 0.03 144.79);
  --card: oklch(0.994 0.005 146.494);
  --card-foreground: oklch(0.141 0.03 144.79);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.57 0.022 146.197);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.548 0.018 287.319);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.014 19.975);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.444 0.133 41.981);
  --destructive-foreground: oklch(0.908 0.052 49.983);
  --ring: oklch(0.57 0.022 146.197);
  --chart-1: oklch(0.57 0.022 146.197);
  --chart-2: oklch(0.548 0.018 287.319);
  --chart-3: oklch(0.555 0.014 19.975);
  --chart-4: oklch(0.573 0.019 287.314);
  --chart-5: oklch(0.575 0.035 145.991);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.121 0.019 145.299);
  --foreground: oklch(0.979 0.007 146.48);
  --muted: oklch(0.208 0.036 284.336);
  --muted-foreground: oklch(0.773 0.028 287.253);
  --popover: oklch(0.121 0.019 145.299);
  --popover-foreground: oklch(0.979 0.007 146.48);
  --card: oklch(0.121 0.019 145.299);
  --card-foreground: oklch(0.979 0.007 146.48);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.57 0.022 146.197);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.548 0.018 287.319);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.555 0.014 19.975);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.68 0.207 40.998);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.57 0.022 146.197);
  --chart-1: oklch(0.57 0.022 146.197);
  --chart-2: oklch(0.548 0.018 287.319);
  --chart-3: oklch(0.555 0.014 19.975);
  --chart-4: oklch(0.573 0.019 287.314);
  --chart-5: oklch(0.575 0.035 145.991);
}