Damant-beaj for shadcn/ui

Damant-beaj is a shadcn/ui theme built around a muted green primary color (#809671) with muted green accents (#809671). The light mode uses an orange-tinted background (#e5e0d8). Dark mode switches to a pink primary (#d44996) on a neutral background (#040203).

Color palette

TokenLightDark
Background
#e5e0d8gainsboro
#040203black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#070305black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#070305black
Popover foreground
#10040bblack
#ffffffwhite
Primary
#809671gray
#d44996palevioletred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#b3b792darkgray
#96d449yellowgreen
Secondary foreground
#ffffffwhite
#2b4210darkgreen
Muted
#e6e9e2gainsboro
#1a1d16black
Muted foreground
#809671gray
#a4ad99darkgray
Accent
#809671gray
#4996d4cornflowerblue
Accent foreground
#ffffffwhite
#000000black
Destructive
#809671gray
#ee651bchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#725c3adarkolivegreen
#201d1fblack
Input
#c6c6c6silver
#201d1fblack
Ring
#000000black
#d44996palevioletred

Contrast

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

Light mode
Text on background15.98:1AAA
Text on card21.00:1AAA
Primary button3.22:1AA Large
Secondary button2.07:1Fail
Muted text2.62:1Fail
Accent3.22:1AA Large
Destructive3.22:1AA Large
Dark mode
Text on background20.74:1AAA
Text on card20.48:1AAA
Primary button4.03:1AA Large
Secondary button6.26:1AA
Muted text7.32:1AAA
Accent6.58:1AA
Destructive6.50:1AA

CSS variables

Paste this into your globals.css to use Damant-beaj in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.908 0.012 79.777);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.93 0.01 125.682);
  --muted-foreground: oklch(0.646 0.059 132.911);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.135 0.03 344.845);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.488 0.057 77.698);
  --input: oklch(0.827 0 172.875);
  --primary: oklch(0.646 0.059 132.911);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.767 0.051 112.618);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.646 0.059 132.911);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.646 0.059 132.911);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0 0 0);
  --chart-1: oklch(0.646 0.059 132.911);
  --chart-2: oklch(0.908 0.012 79.777);
  --chart-3: oklch(0.873 0.041 75.764);
  --chart-4: oklch(0.766 0.073 69.111);
  --chart-5: oklch(0.767 0.051 112.618);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.011 342.596);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.225 0.014 127.266);
  --muted-foreground: oklch(0.736 0.03 126.963);
  --popover: oklch(0.109 0.014 342.596);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.109 0.014 342.596);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.236 0.005 343.081);
  --input: oklch(0.236 0.005 343.081);
  --primary: oklch(0.62 0.19 350.083);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.801 0.18 130.37);
  --secondary-foreground: oklch(0.349 0.08 130.529);
  --accent: oklch(0.651 0.121 245.847);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.669 0.186 43.536);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.62 0.19 350.083);
  --chart-1: oklch(0.62 0.19 350.083);
  --chart-2: oklch(0.801 0.18 130.37);
  --chart-3: oklch(0.651 0.121 245.847);
  --chart-4: oklch(0.814 0.171 129.931);
  --chart-5: oklch(0.622 0.197 350.459);
}