Dear Commandes for shadcn/ui

Dear Commandes is a shadcn/ui theme built around a vivid deep cyan primary color (#05577a) with vivid deep blue accents (#051d7a). The light mode uses a neutral background (#f8fbfc). Dark mode keeps the vivid deep cyan primary (#05577a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fbfcghostwhite
#000000black
Foreground
#03090cblack
#f5f8fawhitesmoke
Card
#f8fbfcghostwhite
#000000black
Card foreground
#03090cblack
#f5f8fawhitesmoke
Popover
#f8fbfcghostwhite
#000000black
Popover foreground
#03090cblack
#f5f8fawhitesmoke
Primary
#05577ateal
#05577ateal
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#057a63teal
#057a63teal
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#eff5f4whitesmoke
#0a100fblack
Muted foreground
#44504ddarkslategray
#afbbb9silver
Accent
#051d7amidnightblue
#051d7amidnightblue
Accent foreground
#b6c4fclightsteelblue
#b6c4fclightsteelblue
Destructive
#912a08saddlebrown
#f34e16orangered
Destructive foreground
#fcdacfbisque
#ffffffwhite
Border
#dfe5e7gainsboro
#1e2629darkslategray
Input
#dfe5e7gainsboro
#1e2629darkslategray
Ring
#05577ateal
#05577ateal

Contrast

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

Light mode
Text on background19.21:1AAA
Text on card19.21:1AAA
Primary button7.89:1AAA
Secondary button5.26:1AA
Muted text7.62:1AAA
Accent8.41:1AAA
Destructive6.31:1AA
Dark mode
Text on background19.68:1AAA
Text on card19.68:1AAA
Primary button7.89:1AAA
Secondary button5.26:1AA
Muted text9.73:1AAA
Accent8.41:1AAA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.003 225.015);
  --foreground: oklch(0.135 0.014 220.192);
  --muted: oklch(0.966 0.006 183.003);
  --muted-foreground: oklch(0.42 0.016 182.14);
  --popover: oklch(0.985 0.003 225.015);
  --popover-foreground: oklch(0.135 0.014 220.192);
  --card: oklch(0.985 0.003 225.015);
  --card-foreground: oklch(0.135 0.014 220.192);
  --border: oklch(0.917 0.007 225.071);
  --input: oklch(0.917 0.007 225.071);
  --primary: oklch(0.432 0.09 235.114);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.518 0.098 172.961);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.298 0.158 264.881);
  --accent-foreground: oklch(0.828 0.081 273.619);
  --destructive: oklch(0.442 0.144 36.359);
  --destructive-foreground: oklch(0.914 0.042 39.297);
  --ring: oklch(0.432 0.09 235.114);
  --chart-1: oklch(0.432 0.09 235.114);
  --chart-2: oklch(0.518 0.098 172.961);
  --chart-3: oklch(0.298 0.158 264.881);
  --chart-4: oklch(0.562 0.107 172.775);
  --chart-5: oklch(0.435 0.092 235.539);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.005 225.035);
  --muted: oklch(0.165 0.01 181.505);
  --muted-foreground: oklch(0.782 0.014 182.707);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.005 225.035);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.005 225.035);
  --border: oklch(0.262 0.012 225.627);
  --input: oklch(0.262 0.012 225.627);
  --primary: oklch(0.432 0.09 235.114);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.518 0.098 172.961);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.298 0.158 264.881);
  --accent-foreground: oklch(0.828 0.081 273.619);
  --destructive: oklch(0.649 0.21 36.45);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.432 0.09 235.114);
  --chart-1: oklch(0.432 0.09 235.114);
  --chart-2: oklch(0.518 0.098 172.961);
  --chart-3: oklch(0.298 0.158 264.881);
  --chart-4: oklch(0.562 0.107 172.775);
  --chart-5: oklch(0.435 0.092 235.539);
}