Elaborate for shadcn/ui

Elaborate is a shadcn/ui theme built around a muted light blue primary color (#e3e6ee) with muted light blue accents (#e1e2e5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light blue primary (#e3e6ee) on a blue-tinted background (#04060c).

Color palette

TokenLightDark
Background
#ffffffwhite
#04060cblack
Foreground
#010204black
#fcfcfdwhite
Card
#ffffffwhite
#04060cblack
Card foreground
#010204black
#fcfcfdwhite
Popover
#ffffffwhite
#04060cblack
Popover foreground
#010204black
#fcfcfdwhite
Primary
#e3e6eelavender
#e3e6eelavender
Primary foreground
#3c4962darkslategray
#3c4962darkslategray
Secondary
#e1e2e5gainsboro
#1e2025black
Secondary foreground
#444850darkslategray
#b3b8c2silver
Muted
#d5d8dcgainsboro
#23252adarkslategray
Muted foreground
#464a53darkslategray
#acb0b9darkgray
Accent
#e1e2e5gainsboro
#1e2025black
Accent foreground
#444850darkslategray
#b3b8c2silver
Destructive
#c61010firebrick
#ec1818red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e3e6eelavender
#e3e6eelavender

Contrast

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

Light mode
Text on background20.75:1AAA
Text on card20.75:1AAA
Primary button7.24:1AAA
Secondary button7.09:1AAA
Muted text6.19:1AA
Accent7.09:1AAA
Destructive6.02:1AA
Dark mode
Text on background19.74:1AAA
Text on card19.74:1AAA
Primary button7.24:1AAA
Secondary button8.20:1AAA
Muted text7.05:1AAA
Accent8.20:1AAA
Destructive4.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.085 0.01 257.407);
  --muted: oklch(0.881 0.007 264.526);
  --muted-foreground: oklch(0.409 0.016 264.376);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.085 0.01 257.407);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.085 0.01 257.407);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.011 264.512);
  --primary-foreground: oklch(0.404 0.046 263.854);
  --secondary: oklch(0.913 0.004 264.536);
  --secondary-foreground: oklch(0.401 0.014 264.402);
  --accent: oklch(0.913 0.004 264.536);
  --accent-foreground: oklch(0.401 0.014 264.402);
  --destructive: oklch(0.524 0.208 28.516);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.011 264.512);
  --chart-1: oklch(0.925 0.011 264.512);
  --chart-2: oklch(0.913 0.004 264.536);
  --chart-3: oklch(0.913 0.004 264.536);
  --chart-4: oklch(0.937 0.003 264.541);
  --chart-5: oklch(0.924 0.012 264.507);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.015 257.343);
  --foreground: oklch(0.992 0.001 264.549);
  --muted: oklch(0.264 0.009 264.406);
  --muted-foreground: oklch(0.757 0.014 264.484);
  --popover: oklch(0.123 0.015 257.343);
  --popover-foreground: oklch(0.992 0.001 264.549);
  --card: oklch(0.123 0.015 257.343);
  --card-foreground: oklch(0.992 0.001 264.549);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.011 264.512);
  --primary-foreground: oklch(0.404 0.046 263.854);
  --secondary: oklch(0.243 0.01 264.372);
  --secondary-foreground: oklch(0.781 0.015 264.479);
  --accent: oklch(0.243 0.01 264.372);
  --accent-foreground: oklch(0.781 0.015 264.479);
  --destructive: oklch(0.599 0.237 28.403);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.925 0.011 264.512);
  --chart-1: oklch(0.925 0.011 264.512);
  --chart-2: oklch(0.243 0.01 264.372);
  --chart-3: oklch(0.243 0.01 264.372);
  --chart-4: oklch(0.273 0.012 264.357);
  --chart-5: oklch(0.924 0.012 264.507);
}