Boysenberry for shadcn/ui

Boysenberry is a shadcn/ui theme built around a green primary color (#a3dcbc) with teal accents (#a3dcd9). The light mode uses a neutral background (#ffffff). Dark mode keeps the green primary (#a3dcbc) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010905black
#f8fcfamintcream
Card
#ffffffwhite
#000000black
Card foreground
#010905black
#f8fcfamintcream
Popover
#ffffffwhite
#000000black
Popover foreground
#010905black
#f8fcfamintcream
Primary
#a3dcbcsilver
#a3dcbcsilver
Primary foreground
#153725darkslategray
#153725darkslategray
Secondary
#a5dca3lightgreen
#a5dca3lightgreen
Secondary foreground
#173715darkgreen
#173715darkgreen
Muted
#d6ebd5gainsboro
#152a14black
Muted foreground
#5c6b5bdimgray
#94a494darkseagreen
Accent
#a3dcd9lightblue
#a3dcd9lightblue
Accent foreground
#153736darkslategray
#153736darkslategray
Destructive
#632208maroon
#ef703etomato
Destructive foreground
#f8bda5lightpink
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a3dcbcsilver
#a3dcbcsilver

Contrast

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

Light mode
Text on background20.14:1AAA
Text on card20.14:1AAA
Primary button8.41:1AAA
Secondary button8.38:1AAA
Muted text4.52:1AA
Accent8.44:1AAA
Destructive7.27:1AAA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button8.41:1AAA
Secondary button8.38:1AAA
Muted text5.85:1AA
Accent8.44:1AAA
Destructive7.06:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.125 0.021 162.652);
  --muted: oklch(0.92 0.037 143.892);
  --muted-foreground: oklch(0.512 0.031 143.771);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.125 0.021 162.652);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.125 0.021 162.652);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.846 0.074 160.247);
  --primary-foreground: oklch(0.307 0.053 157.064);
  --secondary: oklch(0.842 0.097 143.43);
  --secondary-foreground: oklch(0.304 0.07 142.698);
  --accent: oklch(0.854 0.059 192.243);
  --accent-foreground: oklch(0.313 0.04 190.904);
  --destructive: oklch(0.347 0.101 39.52);
  --destructive-foreground: oklch(0.845 0.076 42.563);
  --ring: oklch(0.846 0.074 160.247);
  --chart-1: oklch(0.846 0.074 160.247);
  --chart-2: oklch(0.842 0.097 143.43);
  --chart-3: oklch(0.854 0.059 192.243);
  --chart-4: oklch(0.86 0.085 143.531);
  --chart-5: oklch(0.849 0.078 160.089);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.987 0.004 162.511);
  --muted: oklch(0.259 0.048 142.974);
  --muted-foreground: oklch(0.701 0.029 143.889);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.987 0.004 162.511);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.987 0.004 162.511);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.846 0.074 160.247);
  --primary-foreground: oklch(0.307 0.053 157.064);
  --secondary: oklch(0.842 0.097 143.43);
  --secondary-foreground: oklch(0.304 0.07 142.698);
  --accent: oklch(0.854 0.059 192.243);
  --accent-foreground: oklch(0.313 0.04 190.904);
  --destructive: oklch(0.689 0.17 40.973);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.846 0.074 160.247);
  --chart-1: oklch(0.846 0.074 160.247);
  --chart-2: oklch(0.842 0.097 143.43);
  --chart-3: oklch(0.854 0.059 192.243);
  --chart-4: oklch(0.86 0.085 143.531);
  --chart-5: oklch(0.849 0.078 160.089);
}