GlidePath Gradient for shadcn/ui

GlidePath Gradient is a shadcn/ui theme built around a vivid cyan primary color (#00b2ff) with vivid blue accents (#0033ff). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid cyan primary (#00b2ff) on a neutral background (#030608).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#030608black
Foreground
#051015black
#f6f8f8whitesmoke
Card
#f7fbfdghostwhite
#030608black
Card foreground
#051015black
#f6f8f8whitesmoke
Popover
#f7fbfdghostwhite
#030608black
Popover foreground
#051015black
#f6f8f8whitesmoke
Primary
#00b2ffdeepskyblue
#00b2ffdeepskyblue
Primary foreground
#002433black
#002433black
Secondary
#00ffccdarkturquoise
#00ffccdarkturquoise
Secondary foreground
#003329darkgreen
#003329darkgreen
Muted
#d2f1fflightcyan
#10231fblack
Muted foreground
#677d87slategray
#a1a5a4darkgray
Accent
#0033ffblue
#0033ffblue
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#d22b2bcrimson
#f2671cchocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e2e7e9lavender
#1c2326black
Input
#e2e7e9lavender
#1c2326black
Ring
#00b2ffdeepskyblue
#00b2ffdeepskyblue

Contrast

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

Light mode
Text on background18.49:1AAA
Text on card18.49:1AAA
Primary button6.80:1AA
Secondary button10.74:1AAA
Muted text3.66:1AA Large
Accent7.19:1AAA
Destructive5.09:1AA
Dark mode
Text on background19.06:1AAA
Text on card19.06:1AAA
Primary button6.80:1AA
Secondary button10.74:1AAA
Muted text6.55:1AA
Accent7.19:1AAA
Destructive6.73:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 225.045);
  --foreground: oklch(0.164 0.02 225.473);
  --muted: oklch(0.941 0.037 226.174);
  --muted-foreground: oklch(0.576 0.031 226.408);
  --popover: oklch(0.986 0.006 225.045);
  --popover-foreground: oklch(0.164 0.02 225.473);
  --card: oklch(0.986 0.006 225.045);
  --card-foreground: oklch(0.164 0.02 225.473);
  --border: oklch(0.925 0.007 225.062);
  --input: oklch(0.925 0.007 225.062);
  --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.485 0.291 264.121);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.563 0.202 26.705);
  --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.89 0.174 171.269);
  --chart-3: oklch(0.485 0.291 264.121);
  --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.117 0.01 220.097);
  --foreground: oklch(0.977 0.002 225);
  --muted: oklch(0.24 0.027 179.475);
  --muted-foreground: oklch(0.719 0.004 183.02);
  --popover: oklch(0.117 0.01 220.097);
  --popover-foreground: oklch(0.977 0.002 225);
  --card: oklch(0.117 0.01 220.097);
  --card-foreground: oklch(0.977 0.002 225);
  --border: oklch(0.251 0.012 225.611);
  --input: oklch(0.251 0.012 225.611);
  --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.485 0.291 264.121);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.678 0.188 43.592);
  --destructive-foreground: oklch(0 0 0);
  --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.485 0.291 264.121);
  --chart-4: oklch(0.892 0.171 172.355);
  --chart-5: oklch(0.732 0.164 238.572);
}