Husky for shadcn/ui

Husky is a shadcn/ui theme built around a vivid light blue primary color (#aed9ff) with vivid light indigo accents (#aeb1ff). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid light blue primary (#aed9ff) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020303black
Foreground
#050d15black
#f8fafbghostwhite
Card
#f7fafdghostwhite
#030507black
Card foreground
#040b10black
#fcfcfdwhite
Popover
#f7fafdghostwhite
#030507black
Popover foreground
#040b10black
#fcfcfdwhite
Primary
#aed9fflightblue
#aed9fflightblue
Primary foreground
#01417amidnightblue
#01417amidnightblue
Secondary
#aefffcpaleturquoise
#aefffcpaleturquoise
Secondary foreground
#001414black
#001414black
Muted
#d1e0e0gainsboro
#1f2e2ddarkslategray
Muted foreground
#616b6bdimgray
#949e9edarkgray
Accent
#aeb1fflightsteelblue
#aeb1fflightsteelblue
Accent foreground
#01057anavy
#01057anavy
Destructive
#852a00saddlebrown
#ff5f14orangered
Destructive foreground
#ffceb8peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aed9fflightblue
#aed9fflightblue

Contrast

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

Light mode
Text on background19.09:1AAA
Text on card18.91:1AAA
Primary button6.94:1AA
Secondary button16.62:1AAA
Muted text4.04:1AA Large
Accent8.03:1AAA
Destructive6.36:1AA
Dark mode
Text on background19.76:1AAA
Text on card19.88:1AAA
Primary button6.94:1AA
Secondary button16.62:1AAA
Muted text5.16:1AA
Accent8.03:1AAA
Destructive6.88:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.002 244.12);
  --foreground: oklch(0.155 0.021 243.156);
  --muted: oklch(0.896 0.016 194.467);
  --muted-foreground: oklch(0.519 0.012 194.346);
  --popover: oklch(0.984 0.005 244.151);
  --popover-foreground: oklch(0.143 0.018 240.305);
  --card: oklch(0.984 0.005 244.151);
  --card-foreground: oklch(0.143 0.018 240.305);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.867 0.069 245.128);
  --primary-foreground: oklch(0.375 0.112 252.195);
  --secondary: oklch(0.946 0.079 193.259);
  --secondary-foreground: oklch(0.174 0.03 192.085);
  --accent: oklch(0.786 0.111 282.013);
  --accent-foreground: oklch(0.266 0.178 264.354);
  --destructive: oklch(0.418 0.132 39.737);
  --destructive-foreground: oklch(0.889 0.063 46.18);
  --ring: oklch(0.867 0.069 245.128);
  --chart-1: oklch(0.867 0.069 245.128);
  --chart-2: oklch(0.946 0.079 193.259);
  --chart-3: oklch(0.786 0.111 282.013);
  --chart-4: oklch(0.955 0.065 193.533);
  --chart-5: oklch(0.867 0.071 245.163);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.005 239.654);
  --foreground: oklch(0.984 0.002 244.121);
  --muted: oklch(0.286 0.02 193.534);
  --muted-foreground: oklch(0.691 0.012 194.476);
  --popover: oklch(0.114 0.007 239.654);
  --popover-foreground: oklch(0.992 0.001 244.105);
  --card: oklch(0.114 0.007 239.654);
  --card-foreground: oklch(0.992 0.001 244.105);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.867 0.069 245.128);
  --primary-foreground: oklch(0.375 0.112 252.195);
  --secondary: oklch(0.946 0.079 193.259);
  --secondary-foreground: oklch(0.174 0.03 192.085);
  --accent: oklch(0.786 0.111 282.013);
  --accent-foreground: oklch(0.266 0.178 264.354);
  --destructive: oklch(0.687 0.208 40.091);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.867 0.069 245.128);
  --chart-1: oklch(0.867 0.069 245.128);
  --chart-2: oklch(0.946 0.079 193.259);
  --chart-3: oklch(0.786 0.111 282.013);
  --chart-4: oklch(0.955 0.065 193.533);
  --chart-5: oklch(0.867 0.071 245.163);
}