Afternoon Sky Slug for shadcn/ui

Afternoon Sky Slug is a shadcn/ui theme built around a cyan primary color (#89cfeb) with muted light cyan accents (#c3d0d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#89cfeb) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#010304black
#f6f8f9whitesmoke
Card
#ffffffwhite
#000000black
Card foreground
#010304black
#f6f8f9whitesmoke
Popover
#ffffffwhite
#000000black
Popover foreground
#010304black
#f6f8f9whitesmoke
Primary
#89cfebskyblue
#89cfebskyblue
Primary foreground
#0a2b39darkslategray
#0a2b39darkslategray
Secondary
#dbdfe1gainsboro
#242729darkslategray
Secondary foreground
#3e484cdarkslategray
#bbc1c3silver
Muted
#e8ecedlavender
#121617black
Muted foreground
#485256darkslategray
#a9b3b7darkgray
Accent
#c3d0d5lightgrey
#323e43darkslategray
Accent foreground
#2a373cdarkslategray
#cdd6dalightgrey
Destructive
#7b2604saddlebrown
#f76226tomato
Destructive foreground
#fcc9b5peachpuff
#000000black
Border
#eaebeblavender
#1b1d1dblack
Input
#eaebeblavender
#1b1d1dblack
Ring
#89cfebskyblue
#89cfebskyblue

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.66:1AAA
Primary button8.62:1AAA
Secondary button7.00:1AAA
Muted text6.73:1AA
Accent7.77:1AAA
Destructive6.67:1AA
Dark mode
Text on background19.71:1AAA
Text on card19.71:1AAA
Primary button8.62:1AAA
Secondary button8.23:1AAA
Muted text8.54:1AAA
Accent7.42:1AAA
Destructive6.72:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.094 0.01 217.563);
  --muted: oklch(0.94 0.005 223.183);
  --muted-foreground: oklch(0.432 0.015 223.528);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.094 0.01 217.563);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.094 0.01 217.563);
  --border: oklch(0.939 0.001 223.145);
  --input: oklch(0.939 0.001 223.145);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.901 0.006 223.194);
  --secondary-foreground: oklch(0.394 0.014 223.569);
  --accent: oklch(0.849 0.016 223.334);
  --accent-foreground: oklch(0.327 0.02 223.972);
  --destructive: oklch(0.396 0.125 38.407);
  --destructive-foreground: oklch(0.877 0.065 42.638);
  --ring: oklch(0.819 0.08 224.903);
  --chart-1: oklch(0.819 0.08 224.903);
  --chart-2: oklch(0.901 0.006 223.194);
  --chart-3: oklch(0.849 0.016 223.334);
  --chart-4: oklch(0.924 0.004 223.178);
  --chart-5: oklch(0.821 0.083 225.012);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.978 0.002 223.156);
  --muted: oklch(0.195 0.007 223.568);
  --muted-foreground: oklch(0.76 0.013 223.309);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.978 0.002 223.156);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.978 0.002 223.156);
  --border: oklch(0.227 0.003 223.255);
  --input: oklch(0.227 0.003 223.255);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.271 0.005 223.343);
  --secondary-foreground: oklch(0.807 0.007 223.216);
  --accent: oklch(0.356 0.019 223.822);
  --accent-foreground: oklch(0.871 0.011 223.266);
  --destructive: oklch(0.68 0.196 39.585);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.819 0.08 224.903);
  --chart-1: oklch(0.819 0.08 224.903);
  --chart-2: oklch(0.271 0.005 223.343);
  --chart-3: oklch(0.356 0.019 223.822);
  --chart-4: oklch(0.302 0.006 223.354);
  --chart-5: oklch(0.821 0.083 225.012);
}