Complete for shadcn/ui

Complete is a shadcn/ui theme built around a cyan primary color (#548a9c) with blue accents (#54669c). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#548a9c) on a cyan-tinted background (#040d10).

Color palette

TokenLightDark
Background
#ffffffwhite
#040d10black
Foreground
#000000black
#ffffffwhite
Card
#ffffffwhite
#040d10black
Card foreground
#000000black
#ffffffwhite
Popover
#ffffffwhite
#040d10black
Popover foreground
#000000black
#ffffffwhite
Primary
#548a9ccadetblue
#548a9ccadetblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#549c8acadetblue
#549c8acadetblue
Secondary foreground
#000000black
#000000black
Muted
#eaf5f2whitesmoke
#0a1512black
Muted foreground
#57756edimgray
#8aa8a1darkseagreen
Accent
#54669csteelblue
#54669csteelblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7f1e05maroon
#f65128tomato
Destructive foreground
#fcc8bapeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#548a9ccadetblue
#548a9ccadetblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button3.83:1AA Large
Secondary button6.48:1AA
Muted text4.52:1AA
Accent5.59:1AA
Destructive6.74:1AA
Dark mode
Text on background19.60:1AAA
Text on card19.60:1AAA
Primary button3.83:1AA Large
Secondary button6.48:1AA
Muted text7.27:1AAA
Accent5.59:1AA
Destructive3.42:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.962 0.012 179.501);
  --muted-foreground: oklch(0.537 0.037 177.706);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --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.602 0.063 221.286);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.64 0.078 175.561);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.519 0.088 269.157);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.395 0.136 34.105);
  --destructive-foreground: oklch(0.874 0.063 34.402);
  --ring: oklch(0.602 0.063 221.286);
  --chart-1: oklch(0.602 0.063 221.286);
  --chart-2: oklch(0.64 0.078 175.561);
  --chart-3: oklch(0.519 0.088 269.157);
  --chart-4: oklch(0.669 0.082 175.535);
  --chart-5: oklch(0.606 0.069 221.571);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.016 218.346);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.183 0.017 176.818);
  --muted-foreground: oklch(0.707 0.036 178.353);
  --popover: oklch(0.151 0.016 218.346);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.151 0.016 218.346);
  --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.602 0.063 221.286);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.64 0.078 175.561);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.519 0.088 269.157);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.658 0.208 34.716);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.602 0.063 221.286);
  --chart-1: oklch(0.602 0.063 221.286);
  --chart-2: oklch(0.64 0.078 175.561);
  --chart-3: oklch(0.519 0.088 269.157);
  --chart-4: oklch(0.669 0.082 175.535);
  --chart-5: oklch(0.606 0.069 221.571);
}