Embellished for shadcn/ui

Embellished is a shadcn/ui theme built around a light blue primary color (#e4e9f7) with light indigo accents (#e8e4f7). The light mode uses a neutral background (#fbfcfd). Dark mode keeps the light blue primary (#e4e9f7) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#fbfcfdwhite
#020203black
Foreground
#020409black
#ffffffwhite
Card
#fbfcfdwhite
#020203black
Card foreground
#020409black
#ffffffwhite
Popover
#fbfcfdwhite
#020203black
Popover foreground
#020409black
#ffffffwhite
Primary
#e4e9f7lavender
#e4e9f7lavender
Primary foreground
#274082darkslateblue
#274082darkslateblue
Secondary
#e4f3f7lavender
#e4f3f7lavender
Secondary foreground
#0f2b33darkslategray
#0f2b33darkslategray
Muted
#cedfe3gainsboro
#1c2c31darkslategray
Muted foreground
#5f6667dimgray
#989ea0darkgray
Accent
#e8e4f7lavender
#e8e4f7lavender
Accent foreground
#3a2782darkslateblue
#3a2782darkslateblue
Destructive
#bb1702firebrick
#fd4c35tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e4e9f7lavender
#e4e9f7lavender

Contrast

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

Light mode
Text on background19.98:1AAA
Text on card19.98:1AAA
Primary button8.06:1AAA
Secondary button13.01:1AAA
Muted text4.25:1AA Large
Accent9.37:1AAA
Destructive6.49:1AA
Dark mode
Text on background20.72:1AAA
Text on card20.72:1AAA
Primary button8.06:1AAA
Secondary button13.01:1AAA
Muted text5.31:1AA
Accent9.37:1AAA
Destructive3.34: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.991 0.002 268.776);
  --foreground: oklch(0.103 0.018 259.114);
  --muted: oklch(0.892 0.018 216.117);
  --muted-foreground: oklch(0.504 0.008 216.09);
  --popover: oklch(0.991 0.002 268.776);
  --popover-foreground: oklch(0.103 0.018 259.114);
  --card: oklch(0.991 0.002 268.776);
  --card-foreground: oklch(0.103 0.018 259.114);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.934 0.02 268.633);
  --primary-foreground: oklch(0.391 0.114 265.259);
  --secondary: oklch(0.953 0.017 216.099);
  --secondary-foreground: oklch(0.272 0.036 218.61);
  --accent: oklch(0.926 0.026 295.812);
  --accent-foreground: oklch(0.355 0.144 286.461);
  --destructive: oklch(0.505 0.196 30.826);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.934 0.02 268.633);
  --chart-1: oklch(0.934 0.02 268.633);
  --chart-2: oklch(0.953 0.017 216.099);
  --chart-3: oklch(0.926 0.026 295.812);
  --chart-4: oklch(0.973 0.01 216.056);
  --chart-5: oklch(0.933 0.021 268.623);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.007 264.537);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.281 0.023 216.88);
  --muted-foreground: oklch(0.694 0.008 216.061);
  --popover: oklch(0.087 0.007 264.537);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.087 0.007 264.537);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.934 0.02 268.633);
  --primary-foreground: oklch(0.391 0.114 265.259);
  --secondary: oklch(0.953 0.017 216.099);
  --secondary-foreground: oklch(0.272 0.036 218.61);
  --accent: oklch(0.926 0.026 295.812);
  --accent-foreground: oklch(0.355 0.144 286.461);
  --destructive: oklch(0.666 0.217 30.85);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.934 0.02 268.633);
  --chart-1: oklch(0.934 0.02 268.633);
  --chart-2: oklch(0.953 0.017 216.099);
  --chart-3: oklch(0.926 0.026 295.812);
  --chart-4: oklch(0.973 0.01 216.056);
  --chart-5: oklch(0.933 0.021 268.623);
}