GlidePath Shadcn Theme for shadcn/ui

GlidePath Shadcn Theme is a shadcn/ui theme built around a vivid cyan primary color (#00b2ff) with vivid teal accents (#00ffd0). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#00b2ff) on a neutral background (#010304).

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#000000black
#f5f8fawhitesmoke
Card
#ffffffwhite
#010304black
Card foreground
#000000black
#f5f8fawhitesmoke
Popover
#ffffffwhite
#010304black
Popover foreground
#000000black
#f5f8fawhitesmoke
Primary
#00b2ffdeepskyblue
#00b2ffdeepskyblue
Primary foreground
#002433black
#002433black
Secondary
#00ffccdarkturquoise
#00ffd1aqua
Secondary foreground
#003329darkgreen
#00332adarkgreen
Muted
#dee8edlavender
#121c21black
Muted foreground
#5e6568dimgray
#979ea1darkgray
Accent
#00ffd0aqua
#00ffd0aqua
Accent foreground
#00332adarkgreen
#00332adarkgreen
Destructive
#ff1500red
#e73718orangered
Destructive foreground
#330400black
#ffffffwhite
Border
#e8ecedlavender
#1f2629darkslategray
Input
#e8ecedlavender
#1f2629darkslategray
Ring
#00b2ffdeepskyblue
#00b2ffdeepskyblue

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button6.80:1AA
Secondary button10.74:1AAA
Muted text4.78:1AA
Accent10.76:1AAA
Destructive4.62:1AA
Dark mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button6.80:1AA
Secondary button10.76:1AAA
Muted text6.34:1AA
Accent10.76:1AAA
Destructive4.23:1AA Large

CSS variables

Paste this into your globals.css to use GlidePath Shadcn Theme in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.926 0.012 225.134);
  --muted-foreground: oklch(0.503 0.01 225.216);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.94 0.005 225.04);
  --input: oklch(0.94 0.005 225.04);
  --primary: oklch(0.727 0.161 238.091);
  --primary-foreground: oklch(0.243 0.049 231.258);
  --secondary: oklch(0.89 0.174 171.269);
  --secondary-foreground: oklch(0.287 0.054 174.799);
  --accent: oklch(0.891 0.171 172.941);
  --accent-foreground: oklch(0.287 0.054 176.283);
  --destructive: oklch(0.632 0.254 30.001);
  --destructive-foreground: oklch(0.209 0.076 33.227);
  --ring: oklch(0.727 0.161 238.091);
  --chart-1: oklch(0.727 0.161 238.091);
  --chart-2: oklch(0.89 0.174 171.269);
  --chart-3: oklch(0.891 0.171 172.941);
  --chart-4: oklch(0.892 0.171 172.355);
  --chart-5: oklch(0.732 0.164 238.572);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.007 220.457);
  --foreground: oklch(0.978 0.004 225.028);
  --muted: oklch(0.22 0.017 226.217);
  --muted-foreground: oklch(0.693 0.009 225.134);
  --popover: oklch(0.093 0.007 220.457);
  --popover-foreground: oklch(0.978 0.004 225.028);
  --card: oklch(0.093 0.007 220.457);
  --card-foreground: oklch(0.978 0.004 225.028);
  --border: oklch(0.262 0.011 225.576);
  --input: oklch(0.262 0.011 225.576);
  --primary: oklch(0.727 0.161 238.091);
  --primary-foreground: oklch(0.243 0.049 231.258);
  --secondary: oklch(0.892 0.171 173.248);
  --secondary-foreground: oklch(0.287 0.054 176.283);
  --accent: oklch(0.891 0.171 172.941);
  --accent-foreground: oklch(0.287 0.054 176.283);
  --destructive: oklch(0.608 0.215 32.154);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.727 0.161 238.091);
  --chart-1: oklch(0.727 0.161 238.091);
  --chart-2: oklch(0.892 0.171 173.248);
  --chart-3: oklch(0.891 0.171 172.941);
  --chart-4: oklch(0.893 0.168 174.271);
  --chart-5: oklch(0.732 0.164 238.572);
}