Vogue for shadcn/ui

Vogue is a shadcn/ui theme built around a muted light green primary color (#e0edde) with muted light green accents (#deede4). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#e0edde) on a green-tinted background (#070e07).

Color palette

TokenLightDark
Background
#ffffffwhite
#070e07black
Foreground
#000000black
#f6f9f6whitesmoke
Card
#fcfcfcsnow
#091108black
Card foreground
#000000black
#f9fbf9mintcream
Popover
#ffffffwhite
#070e07black
Popover foreground
#000000black
#f6f9f6whitesmoke
Primary
#e0eddegainsboro
#e0eddegainsboro
Primary foreground
#142112black
#142112black
Secondary
#e7eddebeige
#e7eddebeige
Secondary foreground
#1b2112black
#1b2112black
Muted
#daded3gainsboro
#272c21darkslategray
Muted foreground
#4a4c48darkslategray
#b5b7b3silver
Accent
#deede4gainsboro
#deede4gainsboro
Accent foreground
#122118black
#122118black
Destructive
#632003maroon
#f96f34tomato
Destructive foreground
#fcb99cburlywood
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0eddegainsboro
#e0eddegainsboro

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button13.76:1AAA
Secondary button13.76:1AAA
Muted text6.35:1AA
Accent13.77:1AAA
Destructive7.23:1AAA
Dark mode
Text on background18.43:1AAA
Text on card18.40:1AAA
Primary button13.76:1AAA
Secondary button13.76:1AAA
Muted text7.10:1AAA
Accent13.77:1AAA
Destructive7.34:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.894 0.015 125.281);
  --muted-foreground: oklch(0.414 0.008 125.301);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.931 0.024 143.016);
  --primary-foreground: oklch(0.229 0.033 142.454);
  --secondary: oklch(0.937 0.02 125.343);
  --secondary-foreground: oklch(0.235 0.027 126.781);
  --accent: oklch(0.932 0.019 160.531);
  --accent-foreground: oklch(0.23 0.026 158.033);
  --destructive: oklch(0.344 0.104 40.181);
  --destructive-foreground: oklch(0.84 0.088 44.184);
  --ring: oklch(0.931 0.024 143.016);
  --chart-1: oklch(0.931 0.024 143.016);
  --chart-2: oklch(0.937 0.02 125.343);
  --chart-3: oklch(0.932 0.019 160.531);
  --chart-4: oklch(0.956 0.014 125.248);
  --chart-5: oklch(0.932 0.026 143.003);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.153 0.02 142.141);
  --foreground: oklch(0.979 0.005 143.108);
  --muted: oklch(0.283 0.02 126.054);
  --muted-foreground: oklch(0.778 0.007 125.161);
  --popover: oklch(0.153 0.02 142.141);
  --popover-foreground: oklch(0.979 0.005 143.108);
  --card: oklch(0.167 0.023 142.304);
  --card-foreground: oklch(0.986 0.004 143.117);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.931 0.024 143.016);
  --primary-foreground: oklch(0.229 0.033 142.454);
  --secondary: oklch(0.937 0.02 125.343);
  --secondary-foreground: oklch(0.235 0.027 126.781);
  --accent: oklch(0.932 0.019 160.531);
  --accent-foreground: oklch(0.23 0.026 158.033);
  --destructive: oklch(0.701 0.183 41.641);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.931 0.024 143.016);
  --chart-1: oklch(0.931 0.024 143.016);
  --chart-2: oklch(0.937 0.02 125.343);
  --chart-3: oklch(0.932 0.019 160.531);
  --chart-4: oklch(0.956 0.014 125.248);
  --chart-5: oklch(0.932 0.026 143.003);
}