Meteor for shadcn/ui

Meteor is a shadcn/ui theme built around a muted indigo primary color (#adacbe) with muted light indigo accents (#bebdd0). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#adacbe) on a neutral background (#030308).

Color palette

TokenLightDark
Background
#ffffffwhite
#030308black
Foreground
#030208black
#f5f5fawhitesmoke
Card
#fcfcfcsnow
#04040bblack
Card foreground
#010104black
#f8f8fcghostwhite
Popover
#ffffffwhite
#030308black
Popover foreground
#030208black
#f5f5fawhitesmoke
Primary
#adacbedarkgray
#adacbedarkgray
Primary foreground
#19191fblack
#19191fblack
Secondary
#dbdbe1gainsboro
#242428darkslategray
Secondary foreground
#403f4adarkslategray
#bcbcc2silver
Muted
#d5d5e7gainsboro
#18182ablack
Muted foreground
#58585fdimgray
#a0a0a7darkgray
Accent
#bebdd0silver
#343442darkslategray
Accent foreground
#272636darkslategray
#cfced9lightgrey
Destructive
#821c08maroon
#d92f0dorangered
Destructive foreground
#fbcac0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#adacbedarkgray
#adacbedarkgray

Contrast

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

Light mode
Text on background20.66:1AAA
Text on card20.39:1AAA
Primary button7.85:1AAA
Secondary button7.52:1AAA
Muted text4.86:1AA
Accent8.05:1AAA
Destructive6.74:1AA
Dark mode
Text on background18.97:1AAA
Text on card19.29:1AAA
Primary button7.85:1AAA
Secondary button8.14:1AAA
Muted text6.71:1AA
Accent7.89:1AAA
Destructive4.82:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.096 0.02 284.2);
  --muted: oklch(0.878 0.025 287.397);
  --muted-foreground: oklch(0.464 0.012 287.464);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.096 0.02 284.2);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.076 0.016 284.2);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.751 0.025 287.306);
  --primary-foreground: oklch(0.215 0.013 286.769);
  --secondary: oklch(0.894 0.007 287.79);
  --secondary-foreground: oklch(0.374 0.019 286.986);
  --accent: oklch(0.806 0.027 287.317);
  --accent-foreground: oklch(0.277 0.029 285.893);
  --destructive: oklch(0.399 0.14 32.775);
  --destructive-foreground: oklch(0.88 0.058 31.319);
  --ring: oklch(0.751 0.025 287.306);
  --chart-1: oklch(0.751 0.025 287.306);
  --chart-2: oklch(0.894 0.007 287.79);
  --chart-3: oklch(0.806 0.027 287.317);
  --chart-4: oklch(0.919 0.005 287.829);
  --chart-5: oklch(0.746 0.032 287.135);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.018 284.629);
  --foreground: oklch(0.971 0.007 287.804);
  --muted: oklch(0.219 0.036 284.537);
  --muted-foreground: oklch(0.707 0.011 287.661);
  --popover: oklch(0.098 0.018 284.629);
  --popover-foreground: oklch(0.971 0.007 287.804);
  --card: oklch(0.112 0.021 284.596);
  --card-foreground: oklch(0.981 0.005 287.85);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.751 0.025 287.306);
  --primary-foreground: oklch(0.215 0.013 286.769);
  --secondary: oklch(0.263 0.007 287.437);
  --secondary-foreground: oklch(0.798 0.009 287.732);
  --accent: oklch(0.33 0.025 286.488);
  --accent-foreground: oklch(0.856 0.014 287.629);
  --destructive: oklch(0.576 0.209 32.382);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.751 0.025 287.306);
  --chart-1: oklch(0.751 0.025 287.306);
  --chart-2: oklch(0.263 0.007 287.437);
  --chart-3: oklch(0.33 0.025 286.488);
  --chart-4: oklch(0.294 0.008 287.412);
  --chart-5: oklch(0.746 0.032 287.135);
}