Webbed for shadcn/ui

Webbed is a shadcn/ui theme built around a blue primary color (#94c6eb) with muted light blue accents (#c4d0d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#94c6eb) on a neutral background (#020608).

Color palette

TokenLightDark
Background
#ffffffwhite
#020608black
Foreground
#000000black
#f8fafbghostwhite
Card
#fcfcfcsnow
#04080cblack
Card foreground
#000000black
#fcfdfdwhite
Popover
#ffffffwhite
#020608black
Popover foreground
#000000black
#f8fafbghostwhite
Primary
#94c6ebskyblue
#94c6ebskyblue
Primary foreground
#0c2b40darkslategray
#0c2b40darkslategray
Secondary
#dce1e4gainsboro
#14171ablack
Secondary foreground
#3e4951darkslategray
#a6b2b9darkgray
Muted
#f1f3f4whitesmoke
#0b0d0eblack
Muted foreground
#3d4348darkslategray
#b7bec2silver
Accent
#c4d0d9lightgrey
#1f282edarkslategray
Accent foreground
#2a3741darkslategray
#b3c1ccsilver
Destructive
#971c11brown
#ea4c3etomato
Destructive foreground
#fbe1dfmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#94c6ebskyblue
#94c6ebskyblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button8.06:1AAA
Secondary button7.00:1AAA
Muted text8.97:1AAA
Accent7.78:1AAA
Destructive6.77:1AA
Dark mode
Text on background19.46:1AAA
Text on card19.70:1AAA
Primary button8.06:1AAA
Secondary button8.27:1AAA
Muted text10.34:1AAA
Accent8.19:1AAA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.962 0.003 238.4);
  --muted-foreground: oklch(0.38 0.011 238.79);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.805 0.074 239.902);
  --primary-foreground: oklch(0.277 0.054 243.287);
  --secondary: oklch(0.907 0.007 238.468);
  --secondary-foreground: oklch(0.399 0.019 239.086);
  --accent: oklch(0.852 0.018 238.658);
  --accent-foreground: oklch(0.331 0.024 239.525);
  --destructive: oklch(0.441 0.16 29.952);
  --destructive-foreground: oklch(0.931 0.029 23.911);
  --ring: oklch(0.805 0.074 239.902);
  --chart-1: oklch(0.805 0.074 239.902);
  --chart-2: oklch(0.907 0.007 238.468);
  --chart-3: oklch(0.852 0.018 238.658);
  --chart-4: oklch(0.931 0.005 238.439);
  --chart-5: oklch(0.806 0.077 239.985);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.012 231.409);
  --foreground: oklch(0.985 0.002 238.398);
  --muted: oklch(0.158 0.004 238.73);
  --muted-foreground: oklch(0.797 0.009 238.528);
  --popover: oklch(0.115 0.012 231.409);
  --popover-foreground: oklch(0.985 0.002 238.398);
  --card: oklch(0.131 0.013 232.024);
  --card-foreground: oklch(0.992 0.001 238.38);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.805 0.074 239.902);
  --primary-foreground: oklch(0.277 0.054 243.287);
  --secondary: oklch(0.204 0.007 238.847);
  --secondary-foreground: oklch(0.756 0.017 238.683);
  --accent: oklch(0.269 0.017 239.367);
  --accent-foreground: oklch(0.804 0.022 238.764);
  --destructive: oklch(0.636 0.196 28.919);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.805 0.074 239.902);
  --chart-1: oklch(0.805 0.074 239.902);
  --chart-2: oklch(0.204 0.007 238.847);
  --chart-3: oklch(0.269 0.017 239.367);
  --chart-4: oklch(0.237 0.009 238.9);
  --chart-5: oklch(0.806 0.077 239.985);
}