Mazzone Bonobo for shadcn/ui

Mazzone Bonobo is a shadcn/ui theme built around a muted orange primary color (#ae8e7a) with muted light orange accents (#e1ddda). The light mode uses a neutral background (#fdf9f6). Dark mode keeps the muted orange primary (#ae8e7a) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fdf9f6snow
#030202black
Foreground
#000000black
#ffffffwhite
Card
#fcf6f2seashell
#070504black
Card foreground
#000000black
#ffffffwhite
Popover
#fcf6f2seashell
#070504black
Popover foreground
#000000black
#ffffffwhite
Primary
#ae8e7arosybrown
#ae8e7arosybrown
Primary foreground
#000000black
#000000black
Secondary
#e1dddagainsboro
#181716black
Secondary foreground
#4c433ddarkslategray
#b2afaedarkgray
Muted
#f0e9e5linen
#1a130fblack
Muted foreground
#64574fdimgray
#b0a39bdarkgray
Accent
#e1dddagainsboro
#181716black
Accent foreground
#4c433ddarkslategray
#b2afaedarkgray
Destructive
#8d3b0csaddlebrown
#eb6314chocolate
Destructive foreground
#fbe0d0blanchedalmond
#000000black
Border
#e3e0degainsboro
#211e1cblack
Input
#e3e0degainsboro
#211e1cblack
Ring
#ae8e7arosybrown
#ae8e7arosybrown

Contrast

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

Light mode
Text on background20.08:1AAA
Text on card19.64:1AAA
Primary button6.93:1AA
Secondary button7.15:1AAA
Muted text5.80:1AA
Accent7.15:1AAA
Destructive6.02:1AA
Dark mode
Text on background20.68:1AAA
Text on card20.37:1AAA
Primary button6.93:1AA
Secondary button8.23:1AAA
Muted text7.47:1AAA
Accent8.23:1AAA
Destructive6.31:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 54.426);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.939 0.009 54.374);
  --muted-foreground: oklch(0.466 0.022 53.88);
  --popover: oklch(0.977 0.009 54.385);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.977 0.009 54.385);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.908 0.004 54.442);
  --input: oklch(0.908 0.004 54.442);
  --primary: oklch(0.67 0.048 53.546);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.9 0.006 54.41);
  --secondary-foreground: oklch(0.391 0.016 53.954);
  --accent: oklch(0.9 0.006 54.41);
  --accent-foreground: oklch(0.391 0.016 53.954);
  --destructive: oklch(0.457 0.123 45.026);
  --destructive-foreground: oklch(0.924 0.037 52.067);
  --ring: oklch(0.67 0.048 53.546);
  --chart-1: oklch(0.67 0.048 53.546);
  --chart-2: oklch(0.9 0.006 54.41);
  --chart-3: oklch(0.9 0.006 54.41);
  --chart-4: oklch(0.924 0.005 54.435);
  --chart-5: oklch(0.671 0.054 53.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.092 0.005 58.902);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.194 0.013 53.575);
  --muted-foreground: oklch(0.725 0.019 54.143);
  --popover: oklch(0.116 0.007 58.902);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.116 0.007 58.902);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.238 0.006 54.171);
  --input: oklch(0.238 0.006 54.171);
  --primary: oklch(0.67 0.048 53.546);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.204 0.002 54.391);
  --secondary-foreground: oklch(0.757 0.004 54.429);
  --accent: oklch(0.204 0.002 54.391);
  --accent-foreground: oklch(0.757 0.004 54.429);
  --destructive: oklch(0.661 0.185 44.046);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.67 0.048 53.546);
  --chart-1: oklch(0.67 0.048 53.546);
  --chart-2: oklch(0.204 0.002 54.391);
  --chart-3: oklch(0.204 0.002 54.391);
  --chart-4: oklch(0.238 0.002 54.379);
  --chart-5: oklch(0.671 0.054 53.42);
}