Embellished for shadcn/ui

Embellished is a shadcn/ui theme built around a near-black primary color (#070807) with muted light green accents (#c5d3c6). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the near-black primary (#070807) on a neutral background (#020803).

Color palette

TokenLightDark
Background
#fcfdfcwhite
#020803black
Foreground
#031104black
#f9fbf9mintcream
Card
#f8fcf8mintcream
#040c04black
Card foreground
#020d03black
#fcfdfcwhite
Popover
#f8fcf8mintcream
#040c04black
Popover foreground
#020d03black
#fcfdfcwhite
Primary
#070807black
#070807black
Primary foreground
#9aa79bdarkgray
#9aa79bdarkgray
Secondary
#dce0dcgainsboro
#253726darkslategray
Secondary foreground
#414941darkslategray
#bcd2bdsilver
Muted
#dbe6dcgainsboro
#19241ablack
Muted foreground
#3d433ddarkslategray
#bcc2bcsilver
Accent
#c5d3c6lightgrey
#305432darkslategray
Accent foreground
#2c3a2ddarkslategray
#d2e5d3gainsboro
Destructive
#923201saddlebrown
#f25202orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#070807black
#070807black

Contrast

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

Light mode
Text on background18.98:1AAA
Text on card19.05:1AAA
Primary button7.99:1AAA
Secondary button6.97:1AA
Muted text7.89:1AAA
Accent7.72:1AAA
Destructive7.82:1AAA
Dark mode
Text on background19.45:1AAA
Text on card19.46:1AAA
Primary button7.99:1AAA
Secondary button7.95:1AAA
Muted text8.85:1AAA
Accent6.48:1AA
Destructive3.49:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 147.013);
  --foreground: oklch(0.16 0.038 144.992);
  --muted: oklch(0.913 0.017 146.861);
  --muted-foreground: oklch(0.375 0.013 146.705);
  --popover: oklch(0.986 0.005 146.988);
  --popover-foreground: oklch(0.142 0.033 145.176);
  --card: oklch(0.986 0.005 146.988);
  --card-foreground: oklch(0.142 0.033 145.176);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.133 0.003 146.86);
  --primary-foreground: oklch(0.715 0.023 146.731);
  --secondary: oklch(0.902 0.007 146.97);
  --secondary-foreground: oklch(0.395 0.017 146.633);
  --accent: oklch(0.853 0.024 146.772);
  --accent-foreground: oklch(0.332 0.03 146.147);
  --destructive: oklch(0.453 0.139 40.588);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.133 0.003 146.86);
  --chart-1: oklch(0.133 0.003 146.86);
  --chart-2: oklch(0.902 0.007 146.97);
  --chart-3: oklch(0.853 0.024 146.772);
  --chart-4: oklch(0.925 0.005 146.987);
  --chart-5: oklch(0.134 0.005 146.783);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.122 0.022 145.635);
  --foreground: oklch(0.986 0.002 147.015);
  --muted: oklch(0.246 0.024 146.093);
  --muted-foreground: oklch(0.809 0.011 146.912);
  --popover: oklch(0.14 0.026 145.61);
  --popover-foreground: oklch(0.993 0.001 147.027);
  --card: oklch(0.14 0.026 145.61);
  --card-foreground: oklch(0.993 0.001 147.027);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.133 0.003 146.86);
  --primary-foreground: oklch(0.715 0.023 146.731);
  --secondary: oklch(0.315 0.037 145.864);
  --secondary-foreground: oklch(0.841 0.036 146.631);
  --accent: oklch(0.41 0.07 145.276);
  --accent-foreground: oklch(0.902 0.032 146.702);
  --destructive: oklch(0.653 0.207 39.191);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.133 0.003 146.86);
  --chart-1: oklch(0.133 0.003 146.86);
  --chart-2: oklch(0.315 0.037 145.864);
  --chart-3: oklch(0.41 0.07 145.276);
  --chart-4: oklch(0.347 0.042 145.824);
  --chart-5: oklch(0.134 0.005 146.783);
}