Naughty Afternoon Sky for shadcn/ui

Naughty Afternoon Sky is a shadcn/ui theme built around a cyan primary color (#89cfeb) with green accents (#cfeb89). The light mode uses a neutral background (#ffffff). Dark mode keeps the cyan primary (#89cfeb) on a cyan-tinted background (#05090a).

Color palette

TokenLightDark
Background
#ffffffwhite
#05090ablack
Foreground
#000000black
#f9fafbghostwhite
Card
#ffffffwhite
#05090ablack
Card foreground
#000000black
#f9fafbghostwhite
Popover
#ffffffwhite
#05090ablack
Popover foreground
#000000black
#f9fafbghostwhite
Primary
#89cfebskyblue
#89cfebskyblue
Primary foreground
#0a2b39darkslategray
#0a2b39darkslategray
Secondary
#eb89cfplum
#eb89cfplum
Secondary foreground
#390a2bblack
#390a2bblack
Muted
#f0e5edlinen
#1a0f17black
Muted foreground
#5b5259dimgray
#ada4aadarkgray
Accent
#cfeb89khaki
#cfeb89khaki
Accent foreground
#2b390adarkgreen
#2b390adarkgreen
Destructive
#a12c12brown
#e95a3atomato
Destructive foreground
#fcece8linen
#000000black
Border
#eff0f1whitesmoke
#1c2021black
Input
#eff0f1whitesmoke
#1c2021black
Ring
#89cfebskyblue
#89cfebskyblue

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 button8.62:1AAA
Secondary button7.21:1AAA
Muted text6.12:1AA
Accent9.40:1AAA
Destructive6.36:1AA
Dark mode
Text on background19.15:1AAA
Text on card19.15:1AAA
Primary button8.62:1AAA
Secondary button7.21:1AAA
Muted text7.71:1AAA
Accent9.40:1AAA
Destructive5.98:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.933 0.016 335.508);
  --muted-foreground: oklch(0.45 0.015 335.783);
  --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.955 0.002 223.15);
  --input: oklch(0.955 0.002 223.15);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.756 0.146 338.433);
  --secondary-foreground: oklch(0.243 0.085 341.5);
  --accent: oklch(0.898 0.127 121.921);
  --accent-foreground: oklch(0.321 0.07 124.216);
  --destructive: oklch(0.472 0.157 33.714);
  --destructive-foreground: oklch(0.955 0.019 32.673);
  --ring: oklch(0.819 0.08 224.903);
  --chart-1: oklch(0.819 0.08 224.903);
  --chart-2: oklch(0.756 0.146 338.433);
  --chart-3: oklch(0.898 0.127 121.921);
  --chart-4: oklch(0.781 0.13 337.987);
  --chart-5: oklch(0.821 0.083 225.012);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.134 0.008 219.967);
  --foreground: oklch(0.985 0.002 223.154);
  --muted: oklch(0.186 0.025 337.429);
  --muted-foreground: oklch(0.728 0.013 335.519);
  --popover: oklch(0.134 0.008 219.967);
  --popover-foreground: oklch(0.985 0.002 223.154);
  --card: oklch(0.134 0.008 219.967);
  --card-foreground: oklch(0.985 0.002 223.154);
  --border: oklch(0.239 0.005 223.365);
  --input: oklch(0.239 0.005 223.365);
  --primary: oklch(0.819 0.08 224.903);
  --primary-foreground: oklch(0.273 0.045 228.387);
  --secondary: oklch(0.756 0.146 338.433);
  --secondary-foreground: oklch(0.243 0.085 341.5);
  --accent: oklch(0.898 0.127 121.921);
  --accent-foreground: oklch(0.321 0.07 124.216);
  --destructive: oklch(0.65 0.184 34.148);
  --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.756 0.146 338.433);
  --chart-3: oklch(0.898 0.127 121.921);
  --chart-4: oklch(0.781 0.13 337.987);
  --chart-5: oklch(0.821 0.083 225.012);
}