Network for shadcn/ui

Network is a shadcn/ui theme built around a vivid light cyan primary color (#a4ecfe) with vivid light red accents (#feb6a4). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the vivid light cyan primary (#a4ecfe) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#000000black
Foreground
#040a0cblack
#f6f8f9whitesmoke
Card
#f3fafcaliceblue
#030303black
Card foreground
#020708black
#f9fafbghostwhite
Popover
#f7fcfdghostwhite
#000000black
Popover foreground
#040a0cblack
#f6f8f9whitesmoke
Primary
#a4ecfepaleturquoise
#a4ecfepaleturquoise
Primary foreground
#01596fteal
#01596fteal
Secondary
#feb6a4lightpink
#feb6a4lightpink
Secondary foreground
#6f1701maroon
#6f1701maroon
Muted
#ede5e3linen
#1c1412black
Muted foreground
#6c5e5adimgray
#a59693rosybrown
Accent
#feb6a4lightpink
#feb6a4lightpink
Accent foreground
#6f1701maroon
#6f1701maroon
Destructive
#b60e0cfirebrick
#eb130fred
Destructive foreground
#fef6f5lavenderblush
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a4ecfepaleturquoise
#a4ecfepaleturquoise

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card19.19:1AAA
Primary button6.02:1AA
Secondary button6.92:1AA
Muted text5.00:1AA
Accent6.92:1AA
Destructive6.43:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.78:1AAA
Primary button6.02:1AA
Secondary button6.92:1AA
Muted text6.37:1AA
Accent6.92:1AA
Destructive4.53:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.006 214.331);
  --foreground: oklch(0.137 0.013 211.133);
  --muted: oklch(0.928 0.009 34.303);
  --muted-foreground: oklch(0.495 0.019 34.313);
  --popover: oklch(0.987 0.006 214.331);
  --popover-foreground: oklch(0.137 0.013 211.133);
  --card: oklch(0.98 0.008 214.34);
  --card-foreground: oklch(0.12 0.011 210.512);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.902 0.075 215.069);
  --primary-foreground: oklch(0.431 0.079 222.189);
  --secondary: oklch(0.839 0.088 34.549);
  --secondary-foreground: oklch(0.356 0.125 34.454);
  --accent: oklch(0.839 0.088 34.549);
  --accent-foreground: oklch(0.356 0.125 34.454);
  --destructive: oklch(0.493 0.195 28.858);
  --destructive-foreground: oklch(0.979 0.009 18.511);
  --ring: oklch(0.902 0.075 215.069);
  --chart-1: oklch(0.902 0.075 215.069);
  --chart-2: oklch(0.839 0.088 34.549);
  --chart-3: oklch(0.839 0.088 34.549);
  --chart-4: oklch(0.865 0.072 34.449);
  --chart-5: oklch(0.904 0.077 215.11);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 214.323);
  --muted: oklch(0.201 0.013 34.382);
  --muted-foreground: oklch(0.685 0.018 34.299);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 214.323);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.985 0.001 214.321);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.902 0.075 215.069);
  --primary-foreground: oklch(0.431 0.079 222.189);
  --secondary: oklch(0.839 0.088 34.549);
  --secondary-foreground: oklch(0.356 0.125 34.454);
  --accent: oklch(0.839 0.088 34.549);
  --accent-foreground: oklch(0.356 0.125 34.454);
  --destructive: oklch(0.595 0.238 28.968);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.902 0.075 215.069);
  --chart-1: oklch(0.902 0.075 215.069);
  --chart-2: oklch(0.839 0.088 34.549);
  --chart-3: oklch(0.839 0.088 34.549);
  --chart-4: oklch(0.865 0.072 34.449);
  --chart-5: oklch(0.904 0.077 215.11);
}