Embellished for shadcn/ui

Embellished is a shadcn/ui theme built around a vivid deep green primary color (#283102) with vivid deep green accents (#113102). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#283102) on a neutral background (#070802).

Color palette

TokenLightDark
Background
#ffffffwhite
#070802black
Foreground
#0e1004black
#fbfbf9snow
Card
#ffffffwhite
#070802black
Card foreground
#0e1004black
#fbfbf9snow
Popover
#ffffffwhite
#070802black
Popover foreground
#0e1004black
#fbfbf9snow
Primary
#283102black
#283102black
Primary foreground
#caf50agreenyellow
#caf50agreenyellow
Secondary
#312202black
#312202black
Secondary foreground
#f5ab0aorange
#f5ab0aorange
Muted
#e2ded5gainsboro
#2a261dblack
Muted foreground
#665e4ddimgray
#b2aa99darkgray
Accent
#113102black
#113102black
Accent foreground
#54f50alawngreen
#54f50alawngreen
Destructive
#8f1a00darkred
#fa2e00orangered
Destructive foreground
#ffcdc2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#283102black
#283102black

Contrast

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

Light mode
Text on background19.18:1AAA
Text on card19.18:1AAA
Primary button10.82:1AAA
Secondary button7.86:1AAA
Muted text4.77:1AA
Accent9.87:1AAA
Destructive6.38:1AA
Dark mode
Text on background19.39:1AAA
Text on card19.39:1AAA
Primary button10.82:1AAA
Secondary button7.86:1AAA
Muted text6.51:1AA
Accent9.87:1AAA
Destructive3.85:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.168 0.026 116.933);
  --muted: oklch(0.901 0.013 86.059);
  --muted-foreground: oklch(0.484 0.028 86.071);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.168 0.026 116.933);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.168 0.026 116.933);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.295 0.068 119.942);
  --primary-foreground: oklch(0.907 0.218 121.688);
  --secondary: oklch(0.264 0.052 82.953);
  --secondary-foreground: oklch(0.791 0.164 77.013);
  --accent: oklch(0.278 0.082 137.632);
  --accent-foreground: oklch(0.851 0.27 139.66);
  --destructive: oklch(0.421 0.155 33.14);
  --destructive-foreground: oklch(0.889 0.059 32.834);
  --ring: oklch(0.295 0.068 119.942);
  --chart-1: oklch(0.295 0.068 119.942);
  --chart-2: oklch(0.264 0.052 82.953);
  --chart-3: oklch(0.278 0.082 137.632);
  --chart-4: oklch(0.309 0.061 81.442);
  --chart-5: oklch(0.297 0.069 120.042);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.13 0.019 115.522);
  --foreground: oklch(0.988 0.003 114.887);
  --muted: oklch(0.271 0.018 86.048);
  --muted-foreground: oklch(0.741 0.026 86.094);
  --popover: oklch(0.13 0.019 115.522);
  --popover-foreground: oklch(0.988 0.003 114.887);
  --card: oklch(0.13 0.019 115.522);
  --card-foreground: oklch(0.988 0.003 114.887);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.295 0.068 119.942);
  --primary-foreground: oklch(0.907 0.218 121.688);
  --secondary: oklch(0.264 0.052 82.953);
  --secondary-foreground: oklch(0.791 0.164 77.013);
  --accent: oklch(0.278 0.082 137.632);
  --accent-foreground: oklch(0.851 0.27 139.66);
  --destructive: oklch(0.634 0.239 32.126);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.295 0.068 119.942);
  --chart-1: oklch(0.295 0.068 119.942);
  --chart-2: oklch(0.264 0.052 82.953);
  --chart-3: oklch(0.278 0.082 137.632);
  --chart-4: oklch(0.309 0.061 81.442);
  --chart-5: oklch(0.297 0.069 120.042);
}