Busy for shadcn/ui

Busy is a shadcn/ui theme built around a teal primary color (#258e8e) with blue accents (#25598e). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the teal primary (#258e8e) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fdfdmintcream
#000000black
Foreground
#061313black
#f5fafamintcream
Card
#f7fdfdmintcream
#000000black
Card foreground
#061313black
#f5fafamintcream
Popover
#f7fdfdmintcream
#000000black
Popover foreground
#061313black
#f5fafamintcream
Primary
#258e8edarkcyan
#258e8edarkcyan
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#258e59seagreen
#258e59seagreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#d9e3degainsboro
#1c2621black
Muted foreground
#535554dimgray
#aaacabdarkgray
Accent
#25598edarkslateblue
#25598edarkslateblue
Accent foreground
#ebf2faaliceblue
#ebf2faaliceblue
Destructive
#d4480cchocolate
#e34d0dorangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#258e8edarkcyan
#258e8edarkcyan

Contrast

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

Light mode
Text on background18.37:1AAA
Text on card18.37:1AAA
Primary button3.93:1AA Large
Secondary button4.12:1AA Large
Muted text5.72:1AA
Accent6.40:1AA
Destructive4.43:1AA Large
Dark mode
Text on background19.93:1AAA
Text on card19.93:1AAA
Primary button3.93:1AA Large
Secondary button4.12:1AA Large
Muted text6.79:1AA
Accent6.40:1AA
Destructive3.94: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.989 0.006 197.056);
  --foreground: oklch(0.176 0.019 195.56);
  --muted: oklch(0.907 0.013 164.751);
  --muted-foreground: oklch(0.448 0.003 164.994);
  --popover: oklch(0.989 0.006 197.056);
  --popover-foreground: oklch(0.176 0.019 195.56);
  --card: oklch(0.989 0.006 197.056);
  --card-foreground: oklch(0.176 0.019 195.56);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.59 0.091 194.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.124 156.426);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.456 0.103 251.115);
  --accent-foreground: oklch(0.958 0.013 247.962);
  --destructive: oklch(0.592 0.186 38.706);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.59 0.091 194.965);
  --chart-1: oklch(0.59 0.091 194.965);
  --chart-2: oklch(0.574 0.124 156.426);
  --chart-3: oklch(0.456 0.103 251.115);
  --chart-4: oklch(0.61 0.133 156.339);
  --chart-5: oklch(0.597 0.094 194.934);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.981 0.006 197.059);
  --muted: oklch(0.258 0.018 163.174);
  --muted-foreground: oklch(0.742 0.002 165.064);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.981 0.006 197.059);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.981 0.006 197.059);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.59 0.091 194.965);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.574 0.124 156.426);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.456 0.103 251.115);
  --accent-foreground: oklch(0.958 0.013 247.962);
  --destructive: oklch(0.621 0.196 38.607);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.59 0.091 194.965);
  --chart-1: oklch(0.59 0.091 194.965);
  --chart-2: oklch(0.574 0.124 156.426);
  --chart-3: oklch(0.456 0.103 251.115);
  --chart-4: oklch(0.61 0.133 156.339);
  --chart-5: oklch(0.597 0.094 194.934);
}