Busy for shadcn/ui

Busy is a shadcn/ui theme built around a blue primary color (#65b1dc) with orange accents (#dc9165). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the blue primary (#65b1dc) on a neutral background (#030607).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#030607black
Foreground
#040c11black
#ffffffwhite
Card
#f7fbfdghostwhite
#030607black
Card foreground
#040c11black
#ffffffwhite
Popover
#f7fbfdghostwhite
#030607black
Popover foreground
#040c11black
#ffffffwhite
Primary
#65b1dccornflowerblue
#65b1dccornflowerblue
Primary foreground
#03090cblack
#03090cblack
Secondary
#dc9165darksalmon
#dc9165darksalmon
Secondary foreground
#0c0603black
#0c0603black
Muted
#f4f2f0whitesmoke
#0f0c0bblack
Muted foreground
#616161dimgray
#9e9e9edarkgray
Accent
#dc9165darksalmon
#dc9165darksalmon
Accent foreground
#0c0603black
#0c0603black
Destructive
#65100bmaroon
#e83a30crimson
Destructive foreground
#f6b0aclightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#65b1dccornflowerblue
#65b1dccornflowerblue

Contrast

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

Light mode
Text on background18.88:1AAA
Text on card18.88:1AAA
Primary button8.43:1AAA
Secondary button7.93:1AAA
Muted text5.53:1AA
Accent7.93:1AAA
Destructive7.19:1AAA
Dark mode
Text on background20.35:1AAA
Text on card20.35:1AAA
Primary button8.43:1AAA
Secondary button7.93:1AAA
Muted text7.26:1AAA
Accent7.93:1AAA
Destructive4.13:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.006 232.658);
  --foreground: oklch(0.147 0.018 230.251);
  --muted: oklch(0.962 0.003 52.534);
  --muted-foreground: oklch(0.492 0 180);
  --popover: oklch(0.985 0.006 232.658);
  --popover-foreground: oklch(0.147 0.018 230.251);
  --card: oklch(0.985 0.006 232.658);
  --card-foreground: oklch(0.147 0.018 230.251);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.727 0.098 235.7);
  --primary-foreground: oklch(0.133 0.016 226.363);
  --secondary: oklch(0.723 0.109 50.409);
  --secondary-foreground: oklch(0.132 0.017 61.478);
  --accent: oklch(0.723 0.109 50.409);
  --accent-foreground: oklch(0.132 0.017 61.478);
  --destructive: oklch(0.33 0.119 28.69);
  --destructive-foreground: oklch(0.822 0.082 22.396);
  --ring: oklch(0.727 0.098 235.7);
  --chart-1: oklch(0.727 0.098 235.7);
  --chart-2: oklch(0.723 0.109 50.409);
  --chart-3: oklch(0.723 0.109 50.409);
  --chart-4: oklch(0.744 0.099 50.743);
  --chart-5: oklch(0.729 0.102 235.913);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.116 0.008 228.203);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.158 0.005 52.16);
  --muted-foreground: oklch(0.7 0 180);
  --popover: oklch(0.116 0.008 228.203);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.116 0.008 228.203);
  --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.727 0.098 235.7);
  --primary-foreground: oklch(0.133 0.016 226.363);
  --secondary: oklch(0.723 0.109 50.409);
  --secondary-foreground: oklch(0.132 0.017 61.478);
  --accent: oklch(0.723 0.109 50.409);
  --accent-foreground: oklch(0.132 0.017 61.478);
  --destructive: oklch(0.614 0.212 28.268);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.727 0.098 235.7);
  --chart-1: oklch(0.727 0.098 235.7);
  --chart-2: oklch(0.723 0.109 50.409);
  --chart-3: oklch(0.723 0.109 50.409);
  --chart-4: oklch(0.744 0.099 50.743);
  --chart-5: oklch(0.729 0.102 235.913);
}