Meteor Shower Loon for shadcn/ui

Meteor Shower Loon is a shadcn/ui theme built around a vivid indigo primary color (#543bf7) with vivid violet accents (#b23bf7). The light mode uses a neutral background (#f9f8fc). Dark mode keeps the vivid indigo primary (#543bf7) on an indigo-tinted background (#06050f).

Color palette

TokenLightDark
Background
#f9f8fcghostwhite
#06050fblack
Foreground
#060415black
#fcfcfdwhite
Card
#f5f5fawhitesmoke
#080613black
Card foreground
#050311black
#ffffffwhite
Popover
#f5f5fawhitesmoke
#080613black
Popover foreground
#050311black
#ffffffwhite
Primary
#543bf7royalblue
#543bf7royalblue
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#3b80f7royalblue
#3b80f7royalblue
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e3e9f2lavender
#0d121cblack
Muted foreground
#3e3f42darkslategray
#bdbfc1silver
Accent
#b23bf7mediumorchid
#b23bf7mediumorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#8d1607darkred
#f42f15orangered
Destructive foreground
#fccfc9pink
#ffffffwhite
Border
#e0dfe2gainsboro
#252528darkslategray
Input
#e0dfe2gainsboro
#252528darkslategray
Ring
#543bf7royalblue
#543bf7royalblue

Contrast

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

Light mode
Text on background19.16:1AAA
Text on card18.78:1AAA
Primary button6.27:1AA
Secondary button3.74:1AA Large
Muted text8.60:1AAA
Accent4.31:1AA Large
Destructive6.60:1AA
Dark mode
Text on background19.74:1AAA
Text on card20.05:1AAA
Primary button6.27:1AA
Secondary button3.74:1AA Large
Muted text10.13:1AAA
Accent4.31:1AA Large
Destructive3.98:1AA Large

CSS variables

Paste this into your globals.css to use Meteor Shower Loon in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.005 292.453);
  --foreground: oklch(0.127 0.04 287.547);
  --muted: oklch(0.932 0.014 261.504);
  --muted-foreground: oklch(0.368 0.005 261.507);
  --popover: oklch(0.971 0.007 292.405);
  --popover-foreground: oklch(0.117 0.035 288.632);
  --card: oklch(0.971 0.007 292.405);
  --card-foreground: oklch(0.117 0.035 288.632);
  --border: oklch(0.905 0.003 292.475);
  --input: oklch(0.905 0.003 292.475);
  --primary: oklch(0.517 0.26 278.219);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.62 0.191 260.532);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.263 309.296);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.416 0.155 31.019);
  --destructive-foreground: oklch(0.893 0.052 26.936);
  --ring: oklch(0.517 0.26 278.219);
  --chart-1: oklch(0.517 0.26 278.219);
  --chart-2: oklch(0.62 0.191 260.532);
  --chart-3: oklch(0.612 0.263 309.296);
  --chart-4: oklch(0.645 0.177 260.529);
  --chart-5: oklch(0.515 0.266 277.53);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.025 289.994);
  --foreground: oklch(0.99 0.002 292.5);
  --muted: oklch(0.183 0.021 261.15);
  --muted-foreground: oklch(0.803 0.004 261.513);
  --popover: oklch(0.135 0.029 289.073);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.135 0.029 289.073);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.265 0.006 292.14);
  --input: oklch(0.265 0.006 292.14);
  --primary: oklch(0.517 0.26 278.219);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.62 0.191 260.532);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.612 0.263 309.296);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.625 0.232 30.967);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.517 0.26 278.219);
  --chart-1: oklch(0.517 0.26 278.219);
  --chart-2: oklch(0.62 0.191 260.532);
  --chart-3: oklch(0.612 0.263 309.296);
  --chart-4: oklch(0.645 0.177 260.529);
  --chart-5: oklch(0.515 0.266 277.53);
}