Bustling for shadcn/ui

Bustling is a shadcn/ui theme built around a vivid light pink primary color (#ffccdc) with vivid light blue accents (#ccdcff). The light mode uses a neutral background (#fdf7f9). Dark mode keeps the vivid light pink primary (#ffccdc) on a neutral background (#040102).

Color palette

TokenLightDark
Background
#fdf7f9snow
#040102black
Foreground
#0d0206black
#fbf9fasnow
Card
#fdf7f9snow
#040102black
Card foreground
#0d0206black
#fbf9fasnow
Popover
#fdf7f9snow
#040102black
Popover foreground
#0d0206black
#fbf9fasnow
Primary
#ffccdcpink
#ffccdcpink
Primary foreground
#980131brown
#980131brown
Secondary
#dcffcclightgoldenrodyellow
#dcffcclightgoldenrodyellow
Secondary foreground
#103300darkgreen
#103300darkgreen
Muted
#e3eddegainsboro
#172112black
Muted foreground
#596354dimgray
#a1ab9cdarkgray
Accent
#ccdcfflavender
#ccdcfflavender
Accent foreground
#013198darkblue
#013198darkblue
Destructive
#7e230cmaroon
#eb532dtomato
Destructive foreground
#f9cdc2peachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffccdcpink
#ffccdcpink

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button6.26:1AA
Secondary button12.83:1AAA
Muted text5.21:1AA
Accent8.06:1AAA
Destructive6.83:1AA
Dark mode
Text on background19.80:1AAA
Text on card19.80:1AAA
Primary button6.26:1AA
Secondary button12.83:1AAA
Muted text6.99:1AA
Accent8.06:1AAA
Destructive3.60:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.007 355.815);
  --foreground: oklch(0.118 0.028 355.648);
  --muted: oklch(0.934 0.022 135.532);
  --muted-foreground: oklch(0.487 0.026 135.667);
  --popover: oklch(0.981 0.007 355.815);
  --popover-foreground: oklch(0.118 0.028 355.648);
  --card: oklch(0.981 0.007 355.815);
  --card-foreground: oklch(0.118 0.028 355.648);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.894 0.06 357.49);
  --primary-foreground: oklch(0.433 0.173 14.817);
  --secondary: oklch(0.962 0.075 135.788);
  --secondary-foreground: oklch(0.283 0.087 137.689);
  --accent: oklch(0.894 0.051 265.657);
  --accent-foreground: oklch(0.366 0.175 262.531);
  --destructive: oklch(0.398 0.13 34.514);
  --destructive-foreground: oklch(0.884 0.052 34.359);
  --ring: oklch(0.894 0.06 357.49);
  --chart-1: oklch(0.894 0.06 357.49);
  --chart-2: oklch(0.962 0.075 135.788);
  --chart-3: oklch(0.894 0.051 265.657);
  --chart-4: oklch(0.973 0.053 135.67);
  --chart-5: oklch(0.894 0.062 357.549);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.085 0.013 355.341);
  --foreground: oklch(0.984 0.002 355.674);
  --muted: oklch(0.233 0.031 136.103);
  --muted-foreground: oklch(0.728 0.024 135.57);
  --popover: oklch(0.085 0.013 355.341);
  --popover-foreground: oklch(0.984 0.002 355.674);
  --card: oklch(0.085 0.013 355.341);
  --card-foreground: oklch(0.984 0.002 355.674);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.894 0.06 357.49);
  --primary-foreground: oklch(0.433 0.173 14.817);
  --secondary: oklch(0.962 0.075 135.788);
  --secondary-foreground: oklch(0.283 0.087 137.689);
  --accent: oklch(0.894 0.051 265.657);
  --accent-foreground: oklch(0.366 0.175 262.531);
  --destructive: oklch(0.644 0.195 34.928);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.894 0.06 357.49);
  --chart-1: oklch(0.894 0.06 357.49);
  --chart-2: oklch(0.962 0.075 135.788);
  --chart-3: oklch(0.894 0.051 265.657);
  --chart-4: oklch(0.973 0.053 135.67);
  --chart-5: oklch(0.894 0.062 357.549);
}