Fascia for shadcn/ui

Fascia is a shadcn/ui theme built around a vivid deep cyan primary color (#04181b) with vivid deep red accents (#1b0704). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the vivid deep cyan primary (#04181b) on a cyan-tinted background (#050a0a).

Color palette

TokenLightDark
Background
#f7fcfdghostwhite
#050a0ablack
Foreground
#040f10black
#f5f9faghostwhite
Card
#f7fcfdghostwhite
#050a0ablack
Card foreground
#040f10black
#f5f9faghostwhite
Popover
#f7fcfdghostwhite
#050a0ablack
Popover foreground
#040f10black
#f5f9faghostwhite
Primary
#04181bblack
#04181bblack
Primary foreground
#1cb7cedarkturquoise
#1cb7cedarkturquoise
Secondary
#1b0704black
#1b0704black
Secondary foreground
#ea7866salmon
#ea7866salmon
Muted
#ebd8d5gainsboro
#2a1714black
Muted foreground
#6b6261dimgray
#9e9594rosybrown
Accent
#1b0704black
#1b0704black
Accent foreground
#ea7866salmon
#ea7866salmon
Destructive
#700a0amaroon
#ee4444tomato
Destructive foreground
#f8b4b4lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#04181bblack
#04181bblack

Contrast

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

Light mode
Text on background18.77:1AAA
Text on card18.77:1AAA
Primary button7.57:1AAA
Secondary button6.84:1AA
Muted text4.33:1AA Large
Accent6.84:1AA
Destructive7.00:1AAA
Dark mode
Text on background18.82:1AAA
Text on card18.82:1AAA
Primary button7.57:1AAA
Secondary button6.84:1AA
Muted text5.85:1AA
Accent6.84:1AA
Destructive3.78:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.005 207.911);
  --foreground: oklch(0.156 0.017 206.833);
  --muted: oklch(0.898 0.022 28.071);
  --muted-foreground: oklch(0.505 0.012 28.063);
  --popover: oklch(0.987 0.005 207.911);
  --popover-foreground: oklch(0.156 0.017 206.833);
  --card: oklch(0.987 0.005 207.911);
  --card-foreground: oklch(0.156 0.017 206.833);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.193 0.028 208.252);
  --primary-foreground: oklch(0.716 0.12 211.652);
  --secondary: oklch(0.161 0.038 34.006);
  --secondary-foreground: oklch(0.7 0.145 30.191);
  --accent: oklch(0.161 0.038 34.006);
  --accent-foreground: oklch(0.7 0.145 30.191);
  --destructive: oklch(0.349 0.134 27.802);
  --destructive-foreground: oklch(0.834 0.079 18.878);
  --ring: oklch(0.193 0.028 208.252);
  --chart-1: oklch(0.193 0.028 208.252);
  --chart-2: oklch(0.161 0.038 34.006);
  --chart-3: oklch(0.161 0.038 34.006);
  --chart-4: oklch(0.196 0.052 32.226);
  --chart-5: oklch(0.194 0.029 208.273);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.137 0.009 205.876);
  --foreground: oklch(0.98 0.005 207.91);
  --muted: oklch(0.228 0.032 29.262);
  --muted-foreground: oklch(0.678 0.011 28.018);
  --popover: oklch(0.137 0.009 205.876);
  --popover-foreground: oklch(0.98 0.005 207.91);
  --card: oklch(0.137 0.009 205.876);
  --card-foreground: oklch(0.98 0.005 207.91);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.193 0.028 208.252);
  --primary-foreground: oklch(0.716 0.12 211.652);
  --secondary: oklch(0.161 0.038 34.006);
  --secondary-foreground: oklch(0.7 0.145 30.191);
  --accent: oklch(0.161 0.038 34.006);
  --accent-foreground: oklch(0.7 0.145 30.191);
  --destructive: oklch(0.635 0.206 25.268);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.193 0.028 208.252);
  --chart-1: oklch(0.193 0.028 208.252);
  --chart-2: oklch(0.161 0.038 34.006);
  --chart-3: oklch(0.161 0.038 34.006);
  --chart-4: oklch(0.196 0.052 32.226);
  --chart-5: oklch(0.194 0.029 208.273);
}