Kite for shadcn/ui

Kite is a shadcn/ui theme built around a muted blue primary color (#56658f) with muted indigo accents (#63568f). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted blue primary (#56658f) on a neutral background (#010204).

Color palette

TokenLightDark
Background
#ffffffwhite
#010204black
Foreground
#02050eblack
#f9f9fbghostwhite
Card
#ffffffwhite
#010204black
Card foreground
#02050eblack
#f9f9fbghostwhite
Popover
#ffffffwhite
#010204black
Popover foreground
#02050eblack
#f9f9fbghostwhite
Primary
#56658fslategray
#56658fslategray
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#56828fslategray
#56828fslategray
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d6e2e5gainsboro
#1a2529darkslategray
Muted foreground
#556368dimgray
#97a6aadarkgray
Accent
#63568frebeccapurple
#63568frebeccapurple
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#9d2707firebrick
#f65c31tomato
Destructive foreground
#fde0d8mistyrose
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#56658fslategray
#56658fslategray

Contrast

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

Light mode
Text on background20.37:1AAA
Text on card20.37:1AAA
Primary button5.72:1AA
Secondary button4.20:1AA Large
Muted text4.70:1AA
Accent6.42:1AA
Destructive6.18:1AA
Dark mode
Text on background19.75:1AAA
Text on card19.75:1AAA
Primary button5.72:1AA
Secondary button4.20:1AA Large
Muted text6.22:1AA
Accent6.42:1AA
Destructive6.51:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.114 0.025 258.846);
  --muted: oklch(0.905 0.013 217.837);
  --muted-foreground: oklch(0.49 0.019 218.055);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.114 0.025 258.846);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.114 0.025 258.846);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.513 0.07 268.549);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.58 0.052 218.947);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.492 0.091 293.501);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.459 0.158 34.472);
  --destructive-foreground: oklch(0.929 0.034 35.944);
  --ring: oklch(0.513 0.07 268.549);
  --chart-1: oklch(0.513 0.07 268.549);
  --chart-2: oklch(0.58 0.052 218.947);
  --chart-3: oklch(0.492 0.091 293.501);
  --chart-4: oklch(0.608 0.055 218.96);
  --chart-5: oklch(0.509 0.078 268.294);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.082 0.013 261.856);
  --foreground: oklch(0.983 0.003 270.097);
  --muted: oklch(0.256 0.018 218.482);
  --muted-foreground: oklch(0.714 0.018 217.914);
  --popover: oklch(0.082 0.013 261.856);
  --popover-foreground: oklch(0.983 0.003 270.097);
  --card: oklch(0.082 0.013 261.856);
  --card-foreground: oklch(0.983 0.003 270.097);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.513 0.07 268.549);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.58 0.052 218.947);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.492 0.091 293.501);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.672 0.197 35.926);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.513 0.07 268.549);
  --chart-1: oklch(0.513 0.07 268.549);
  --chart-2: oklch(0.58 0.052 218.947);
  --chart-3: oklch(0.492 0.091 293.501);
  --chart-4: oklch(0.608 0.055 218.96);
  --chart-5: oklch(0.509 0.078 268.294);
}