Sky of Magritte Earthworm for shadcn/ui

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

Color palette

TokenLightDark
Background
#ffffffwhite
#010304black
Foreground
#02090dblack
#fcfdfdwhite
Card
#ffffffwhite
#010304black
Card foreground
#02090dblack
#fcfdfdwhite
Popover
#ffffffwhite
#010304black
Popover foreground
#02090dblack
#fcfdfdwhite
Primary
#0099ffdodgerblue
#0099ffdodgerblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#cecfd0lightgrey
#181a1bblack
Secondary foreground
#343637darkslategray
#afb3b6darkgray
Muted
#d3dadegainsboro
#21272cdarkslategray
Muted foreground
#434546darkslategray
#b9babcsilver
Accent
#cecfd0lightgrey
#181a1bblack
Accent foreground
#343637darkslategray
#afb3b6darkgray
Destructive
#84130bmaroon
#ef493etomato
Destructive foreground
#facac6pink
#ffffffwhite
Border
#ecedeewhitesmoke
#1d1f20black
Input
#ecedeewhitesmoke
#1d1f20black
Ring
#0099ffdodgerblue
#0099ffdodgerblue

Contrast

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

Light mode
Text on background20.04:1AAA
Text on card20.04:1AAA
Primary button2.99:1Fail
Secondary button7.76:1AAA
Muted text6.81:1AA
Accent7.76:1AAA
Destructive6.89:1AA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button2.99:1Fail
Secondary button8.28:1AAA
Muted text7.75:1AAA
Accent8.28:1AAA
Destructive3.67:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.131 0.019 228.885);
  --muted: oklch(0.884 0.01 236.595);
  --muted-foreground: oklch(0.39 0.003 236.542);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.131 0.019 228.885);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.131 0.019 228.885);
  --border: oklch(0.946 0.002 236.463);
  --input: oklch(0.946 0.002 236.463);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.853 0.002 236.463);
  --secondary-foreground: oklch(0.331 0.002 236.537);
  --accent: oklch(0.853 0.002 236.463);
  --accent-foreground: oklch(0.331 0.002 236.537);
  --destructive: oklch(0.396 0.148 29.577);
  --destructive-foreground: oklch(0.88 0.056 23.027);
  --ring: oklch(0.669 0.184 248.807);
  --chart-1: oklch(0.669 0.184 248.807);
  --chart-2: oklch(0.853 0.002 236.463);
  --chart-3: oklch(0.853 0.002 236.463);
  --chart-4: oklch(0.877 0.001 236.458);
  --chart-5: oklch(0.673 0.188 249.243);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.091 0.009 229.553);
  --foreground: oklch(0.992 0.001 236.453);
  --muted: oklch(0.27 0.013 237.185);
  --muted-foreground: oklch(0.789 0.002 236.479);
  --popover: oklch(0.091 0.009 229.553);
  --popover-foreground: oklch(0.992 0.001 236.453);
  --card: oklch(0.091 0.009 229.553);
  --card-foreground: oklch(0.992 0.001 236.453);
  --border: oklch(0.237 0.004 236.702);
  --input: oklch(0.237 0.004 236.702);
  --primary: oklch(0.669 0.184 248.807);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.215 0.003 236.643);
  --secondary-foreground: oklch(0.765 0.007 236.563);
  --accent: oklch(0.215 0.003 236.643);
  --accent-foreground: oklch(0.765 0.007 236.563);
  --destructive: oklch(0.642 0.204 28.315);
  --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.215 0.003 236.643);
  --chart-3: oklch(0.215 0.003 236.643);
  --chart-4: oklch(0.248 0.004 236.662);
  --chart-5: oklch(0.673 0.188 249.243);
}