Tailbud for shadcn/ui

Tailbud is a shadcn/ui theme built around a vivid light blue primary color (#b0b8fc) with vivid light yellow accents (#fcf5b0). The light mode uses a neutral background (#f7f8fc). Dark mode keeps the vivid light blue primary (#b0b8fc) on a blue-tinted background (#05050b).

Color palette

TokenLightDark
Background
#f7f8fcghostwhite
#05050bblack
Foreground
#030511black
#f6f6f9whitesmoke
Card
#f7f8fcghostwhite
#05050bblack
Card foreground
#030511black
#f6f6f9whitesmoke
Popover
#f7f8fcghostwhite
#05050bblack
Popover foreground
#030511black
#f6f6f9whitesmoke
Primary
#b0b8fclightsteelblue
#b0b8fclightsteelblue
Primary foreground
#041076navy
#041076navy
Secondary
#fcf5b0moccasin
#fcf5b0moccasin
Secondary foreground
#141201black
#141201black
Muted
#e7e7e4gainsboro
#1b1b18black
Muted foreground
#4e4d46darkslategray
#b9b9b1silver
Accent
#fcf5b0moccasin
#fcf5b0moccasin
Accent foreground
#141201black
#141201black
Destructive
#d74b04chocolate
#fb6b23tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b0b8fclightsteelblue
#b0b8fclightsteelblue

Contrast

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

Light mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button8.28:1AAA
Secondary button16.81:1AAA
Muted text6.83:1AA
Accent16.81:1AAA
Destructive4.30:1AA Large
Dark mode
Text on background18.83:1AAA
Text on card18.83:1AAA
Primary button8.28:1AAA
Secondary button16.81:1AAA
Muted text8.76:1AAA
Accent16.81:1AAA
Destructive7.20:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.98 0.006 281.188);
  --foreground: oklch(0.119 0.032 273.094);
  --muted: oklch(0.927 0.004 101.351);
  --muted-foreground: oklch(0.42 0.013 101.759);
  --popover: oklch(0.98 0.006 281.188);
  --popover-foreground: oklch(0.119 0.032 273.094);
  --card: oklch(0.98 0.006 281.188);
  --card-foreground: oklch(0.119 0.032 273.094);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.801 0.097 279.06);
  --primary-foreground: oklch(0.273 0.165 265.501);
  --secondary: oklch(0.959 0.087 102.528);
  --secondary-foreground: oklch(0.178 0.036 104.536);
  --accent: oklch(0.959 0.087 102.528);
  --accent-foreground: oklch(0.178 0.036 104.536);
  --destructive: oklch(0.599 0.187 39.738);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.801 0.097 279.06);
  --chart-1: oklch(0.801 0.097 279.06);
  --chart-2: oklch(0.959 0.087 102.528);
  --chart-3: oklch(0.959 0.087 102.528);
  --chart-4: oklch(0.966 0.071 102.336);
  --chart-5: oklch(0.799 0.1 278.97);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.014 277.797);
  --foreground: oklch(0.974 0.004 281.226);
  --muted: oklch(0.22 0.005 101.657);
  --muted-foreground: oklch(0.783 0.011 101.511);
  --popover: oklch(0.12 0.014 277.797);
  --popover-foreground: oklch(0.974 0.004 281.226);
  --card: oklch(0.12 0.014 277.797);
  --card-foreground: oklch(0.974 0.004 281.226);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.801 0.097 279.06);
  --primary-foreground: oklch(0.273 0.165 265.501);
  --secondary: oklch(0.959 0.087 102.528);
  --secondary-foreground: oklch(0.178 0.036 104.536);
  --accent: oklch(0.959 0.087 102.528);
  --accent-foreground: oklch(0.178 0.036 104.536);
  --destructive: oklch(0.696 0.192 42.832);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.801 0.097 279.06);
  --chart-1: oklch(0.801 0.097 279.06);
  --chart-2: oklch(0.959 0.087 102.528);
  --chart-3: oklch(0.959 0.087 102.528);
  --chart-4: oklch(0.966 0.071 102.336);
  --chart-5: oklch(0.799 0.1 278.97);
}