Helpless Afternoon Sky for shadcn/ui

Helpless Afternoon Sky is a shadcn/ui theme built around a cyan primary color (#89cfeb) with neutral gray accents (#dfe1e2). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the cyan primary (#89cfeb) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#f7fbfdghostwhite
#020303black
Foreground
#010304black
#f9fafaghostwhite
Card
#f3f9fcaliceblue
#030607black
Card foreground
#000000black
#fcfdfdwhite
Popover
#f3f9fcaliceblue
#030607black
Popover foreground
#000000black
#fcfdfdwhite
Primary
#89cfebskyblue
#89cfebskyblue
Primary foreground
#0a2b39darkslategray
#0a2b39darkslategray
Secondary
#dfe1e2gainsboro
#222425darkslategray
Secondary foreground
#43494cdarkslategray
#babebfsilver
Muted
#f0f3f5whitesmoke
#0a0e0fblack
Muted foreground
#58696fdimgray
#90a1a7darkgray
Accent
#dfe1e2gainsboro
#222425darkslategray
Accent foreground
#43494cdarkslategray
#babebfsilver
Destructive
#6e0602maroon
#fb2f28crimson
Destructive foreground
#fda8a5lightpink
#ffffffwhite
Border
#dee1e3gainsboro
#1a1d1eblack
Input
#dee1e3gainsboro
#1a1d1eblack
Ring
#89cfebskyblue
#89cfebskyblue

Contrast

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

Light mode
Text on background19.86:1AAA
Text on card19.79:1AAA
Primary button8.62:1AAA
Secondary button6.97:1AA
Muted text5.14:1AA
Accent6.97:1AA
Destructive6.70:1AA
Dark mode
Text on background19.75:1AAA
Text on card19.95:1AAA
Primary button8.62:1AAA
Secondary button8.28:1AAA
Muted text7.24:1AAA
Accent8.28:1AAA
Destructive3.79:1AA Large

CSS variables

Paste this into your globals.css to use Helpless Afternoon Sky in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.005 223.179);
  --foreground: oklch(0.094 0.009 218.131);
  --muted: oklch(0.963 0.004 223.175);
  --muted-foreground: oklch(0.508 0.023 223.712);
  --popover: oklch(0.979 0.007 223.205);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.979 0.007 223.205);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.909 0.004 223.171);
  --input: oklch(0.909 0.004 223.171);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.909 0.003 223.165);
  --secondary-foreground: oklch(0.402 0.009 223.377);
  --accent: oklch(0.909 0.003 223.165);
  --accent-foreground: oklch(0.402 0.009 223.377);
  --destructive: oklch(0.342 0.135 29.591);
  --destructive-foreground: oklch(0.814 0.101 21.69);
  --ring: oklch(0.819 0.08 224.903);
  --chart-1: oklch(0.819 0.08 224.903);
  --chart-2: oklch(0.909 0.003 223.165);
  --chart-3: oklch(0.909 0.003 223.165);
  --chart-4: oklch(0.932 0.002 223.156);
  --chart-5: oklch(0.821 0.083 225.012);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.093 0.006 219.42);
  --foreground: oklch(0.985 0.001 223.139);
  --muted: oklch(0.16 0.007 223.656);
  --muted-foreground: oklch(0.697 0.022 223.492);
  --popover: oklch(0.117 0.008 219.42);
  --popover-foreground: oklch(0.993 0 223.135);
  --card: oklch(0.117 0.008 219.42);
  --card-foreground: oklch(0.993 0 223.135);
  --border: oklch(0.228 0.005 223.358);
  --input: oklch(0.228 0.005 223.358);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.26 0.003 223.265);
  --secondary-foreground: oklch(0.798 0.005 223.19);
  --accent: oklch(0.26 0.003 223.265);
  --accent-foreground: oklch(0.798 0.005 223.19);
  --destructive: oklch(0.638 0.237 28.409);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.819 0.08 224.903);
  --chart-1: oklch(0.819 0.08 224.903);
  --chart-2: oklch(0.26 0.003 223.265);
  --chart-3: oklch(0.26 0.003 223.265);
  --chart-4: oklch(0.291 0.004 223.273);
  --chart-5: oklch(0.821 0.083 225.012);
}