Vapor Chameleon for shadcn/ui

Vapor Chameleon is a shadcn/ui theme built around a vivid light teal primary color (#f0ffff) with muted blue accents (#445964). The light mode uses a blue-tinted background (#253137). Dark mode keeps the vivid light teal primary (#f0ffff) on a blue-tinted background (#253137).

Color palette

TokenLightDark
Background
#253137darkslategray
#253137darkslategray
Foreground
#f0ffffazure
#f0ffffazure
Card
#212b31darkslategray
#212b31darkslategray
Card foreground
#ffffffwhite
#ffffffwhite
Popover
#1f292edarkslategray
#1f292edarkslategray
Popover foreground
#ffffffwhite
#ffffffwhite
Primary
#f0ffffazure
#f0ffffazure
Primary foreground
#005757darkslategray
#005757darkslategray
Secondary
#2d5353darkslategray
#2d5353darkslategray
Secondary foreground
#cde4e4gainsboro
#cde4e4gainsboro
Muted
#313a3fdarkslategray
#313a3fdarkslategray
Muted foreground
#afbac0silver
#afbac0silver
Accent
#445964darkslategray
#445964darkslategray
Accent foreground
#eaeef1lavender
#eaeef1lavender
Destructive
#ed2607orangered
#ed2607orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#353c40darkslategray
#353c40darkslategray
Input
#3c4448darkslategray
#3c4448darkslategray
Ring
#f0ffffazure
#f0ffffazure

Contrast

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

Light mode
Text on background13.02:1AAA
Text on card14.38:1AAA
Primary button8.17:1AAA
Secondary button6.40:1AA
Muted text5.84:1AA
Accent6.25:1AA
Destructive4.28:1AA Large
Dark mode
Text on background13.02:1AAA
Text on card14.38:1AAA
Primary button8.17:1AAA
Secondary button6.40:1AA
Muted text5.84:1AA
Accent6.25:1AA
Destructive4.28:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.304 0.019 229.767);
  --foreground: oklch(0.989 0.016 196.897);
  --muted: oklch(0.343 0.014 229.374);
  --muted-foreground: oklch(0.783 0.015 229.013);
  --popover: oklch(0.272 0.016 229.712);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.283 0.017 229.732);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.353 0.011 229.207);
  --input: oklch(0.382 0.012 229.219);
  --primary: oklch(0.989 0.016 196.897);
  --primary-foreground: oklch(0.413 0.07 194.769);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.452 0.031 229.918);
  --accent-foreground: oklch(0.947 0.006 228.83);
  --destructive: oklch(0.607 0.233 31.077);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.989 0.016 196.897);
  --chart-1: oklch(0.989 0.016 196.897);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.452 0.031 229.918);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.989 0.017 196.89);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.304 0.019 229.767);
  --foreground: oklch(0.989 0.016 196.897);
  --muted: oklch(0.343 0.014 229.374);
  --muted-foreground: oklch(0.783 0.015 229.013);
  --popover: oklch(0.272 0.016 229.712);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.283 0.017 229.732);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.353 0.011 229.207);
  --input: oklch(0.382 0.012 229.219);
  --primary: oklch(0.989 0.016 196.897);
  --primary-foreground: oklch(0.413 0.07 194.769);
  --secondary: oklch(0.414 0.044 195.596);
  --secondary-foreground: oklch(0.903 0.024 196.729);
  --accent: oklch(0.452 0.031 229.918);
  --accent-foreground: oklch(0.947 0.006 228.83);
  --destructive: oklch(0.607 0.233 31.077);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.989 0.016 196.897);
  --chart-1: oklch(0.989 0.016 196.897);
  --chart-2: oklch(0.414 0.044 195.596);
  --chart-3: oklch(0.452 0.031 229.918);
  --chart-4: oklch(0.447 0.048 195.577);
  --chart-5: oklch(0.989 0.017 196.89);
}