Condor for shadcn/ui

Condor is a shadcn/ui theme built around a deep blue primary color (#1b2341) with neutral gray accents (#dddddf). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the deep blue primary (#1b2341) on a blue-tinted background (#04050c).

Color palette

TokenLightDark
Background
#f7f8fcghostwhite
#04050cblack
Foreground
#050710black
#ffffffwhite
Card
#f4f5fbwhitesmoke
#050710black
Card foreground
#03050cblack
#ffffffwhite
Popover
#f4f5fbwhitesmoke
#050710black
Popover foreground
#03050cblack
#ffffffwhite
Primary
#1b2341midnightblue
#1b2341midnightblue
Primary foreground
#b0b9delightsteelblue
#b0b9delightsteelblue
Secondary
#dddddfgainsboro
#181a20black
Secondary foreground
#434446darkslategray
#abafbfdarkgray
Muted
#dce0eflavender
#101423black
Muted foreground
#4c4d52darkslategray
#adaeb3darkgray
Accent
#dddddfgainsboro
#181a20black
Accent foreground
#434446darkslategray
#abafbfdarkgray
Destructive
#780707maroon
#f22626crimson
Destructive foreground
#fbb7b7lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#1b2341midnightblue
#1b2341midnightblue

Contrast

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

Light mode
Text on background19.01:1AAA
Text on card18.72:1AAA
Primary button7.98:1AAA
Secondary button7.21:1AAA
Muted text6.38:1AA
Accent7.21:1AAA
Destructive6.82:1AA
Dark mode
Text on background20.34:1AAA
Text on card20.12:1AAA
Primary button7.98:1AAA
Secondary button7.96:1AAA
Muted text8.28:1AAA
Accent7.96:1AAA
Destructive4.12:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 274.968);
  --foreground: oklch(0.13 0.022 269.122);
  --muted: oklch(0.907 0.022 274.733);
  --muted-foreground: oklch(0.421 0.008 274.781);
  --popover: oklch(0.971 0.008 274.934);
  --popover-foreground: oklch(0.117 0.018 268.339);
  --card: oklch(0.971 0.008 274.934);
  --card-foreground: oklch(0.117 0.018 268.339);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.264 0.057 271.421);
  --primary-foreground: oklch(0.791 0.053 274.104);
  --secondary: oklch(0.899 0.001 275.014);
  --secondary-foreground: oklch(0.387 0.004 274.915);
  --accent: oklch(0.899 0.001 275.014);
  --accent-foreground: oklch(0.387 0.004 274.915);
  --destructive: oklch(0.365 0.144 28.369);
  --destructive-foreground: oklch(0.842 0.079 18.866);
  --ring: oklch(0.264 0.057 271.421);
  --chart-1: oklch(0.264 0.057 271.421);
  --chart-2: oklch(0.899 0.001 275.014);
  --chart-3: oklch(0.899 0.001 275.014);
  --chart-4: oklch(0.923 0.001 275.019);
  --chart-5: oklch(0.262 0.061 271.064);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.018 268.498);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.194 0.032 272.433);
  --muted-foreground: oklch(0.752 0.007 274.914);
  --popover: oklch(0.13 0.021 269.276);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.13 0.021 269.276);
  --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.264 0.057 271.421);
  --primary-foreground: oklch(0.791 0.053 274.104);
  --secondary: oklch(0.218 0.012 274.316);
  --secondary-foreground: oklch(0.757 0.022 274.655);
  --accent: oklch(0.218 0.012 274.316);
  --accent-foreground: oklch(0.757 0.022 274.655);
  --destructive: oklch(0.618 0.234 27.648);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.264 0.057 271.421);
  --chart-1: oklch(0.264 0.057 271.421);
  --chart-2: oklch(0.218 0.012 274.316);
  --chart-3: oklch(0.218 0.012 274.316);
  --chart-4: oklch(0.249 0.014 274.252);
  --chart-5: oklch(0.262 0.061 271.064);
}