Zippy Sky of Magritte for shadcn/ui

Zippy Sky of Magritte is a shadcn/ui theme built around a vivid blue primary color (#0099ff) with neutral gray accents (#e0e1e1). The light mode uses a neutral background (#f7fafd). Dark mode keeps the vivid blue primary (#0099ff) on a neutral background (#030507).

Color palette

TokenLightDark
Background
#f7fafdghostwhite
#030507black
Foreground
#020609black
#ffffffwhite
Card
#f7fafdghostwhite
#030507black
Card foreground
#020609black
#ffffffwhite
Popover
#f7fafdghostwhite
#030507black
Popover foreground
#020609black
#ffffffwhite
Primary
#0099ffdodgerblue
#0099ffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e0e1e1gainsboro
#1e1f1fblack
Secondary foreground
#464849darkslategray
#b7b8b8silver
Muted
#e4ecf1lavender
#0e161bblack
Muted foreground
#49565fdarkslategray
#a0adb6darkgray
Accent
#e0e1e1gainsboro
#1e1f1fblack
Accent foreground
#464849darkslategray
#b7b8b8silver
Destructive
#b21e01firebrick
#fe4d2atomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#dfe1e2gainsboro
#181a1bblack
Input
#dfe1e2gainsboro
#181a1bblack
Ring
#0099ffdodgerblue
#0099ffdodgerblue

Contrast

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

Light mode
Text on background19.47:1AAA
Text on card19.47:1AAA
Primary button2.99:1Fail
Secondary button6.99:1AA
Muted text6.31:1AA
Accent6.99:1AA
Destructive6.83:1AA
Dark mode
Text on background20.36:1AAA
Text on card20.36:1AAA
Primary button2.99:1Fail
Secondary button8.32:1AAA
Muted text7.97:1AAA
Accent8.32:1AAA
Destructive3.32:1AA Large

CSS variables

Paste this into your globals.css to use Zippy Sky of Magritte in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.004 236.498);
  --foreground: oklch(0.115 0.014 228.182);
  --muted: oklch(0.938 0.011 236.599);
  --muted-foreground: oklch(0.446 0.022 237.197);
  --popover: oklch(0.985 0.004 236.498);
  --popover-foreground: oklch(0.115 0.014 228.182);
  --card: oklch(0.985 0.004 236.498);
  --card-foreground: oklch(0.115 0.014 228.182);
  --border: oklch(0.908 0.002 236.468);
  --input: oklch(0.908 0.002 236.468);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.908 0.001 236.452);
  --secondary-foreground: oklch(0.399 0.003 236.542);
  --accent: oklch(0.908 0.001 236.452);
  --accent-foreground: oklch(0.399 0.003 236.542);
  --destructive: oklch(0.491 0.185 32.167);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.669 0.184 248.807);
  --chart-1: oklch(0.669 0.184 248.807);
  --chart-2: oklch(0.908 0.001 236.452);
  --chart-3: oklch(0.908 0.001 236.452);
  --chart-4: oklch(0.931 0.001 236.447);
  --chart-5: oklch(0.673 0.188 249.243);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.115 0.007 232.055);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.193 0.015 237.783);
  --muted-foreground: oklch(0.74 0.019 236.823);
  --popover: oklch(0.115 0.007 232.055);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.115 0.007 232.055);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.215 0.002 236.601);
  --input: oklch(0.215 0.002 236.601);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.238 0.001 236.479);
  --secondary-foreground: oklch(0.781 0.001 236.458);
  --accent: oklch(0.238 0.001 236.479);
  --accent-foreground: oklch(0.781 0.001 236.458);
  --destructive: oklch(0.668 0.218 33.104);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.669 0.184 248.807);
  --chart-1: oklch(0.669 0.184 248.807);
  --chart-2: oklch(0.238 0.001 236.479);
  --chart-3: oklch(0.238 0.001 236.479);
  --chart-4: oklch(0.27 0.001 236.482);
  --chart-5: oklch(0.673 0.188 249.243);
}