Convinced Spatial Spirit for shadcn/ui

Convinced Spatial Spirit is a shadcn/ui theme built around a light green primary color (#c6f0d6) with light orange accents (#f0d6c6). The light mode uses a neutral background (#fbfefc). Dark mode keeps the light green primary (#c6f0d6) on a green-tinted background (#050a07).

Color palette

TokenLightDark
Background
#fbfefcwhite
#050a07black
Foreground
#010402black
#fcfdfcwhite
Card
#fbfefcwhite
#050a07black
Card foreground
#010402black
#fcfdfcwhite
Popover
#fbfefcwhite
#050a07black
Popover foreground
#010402black
#fcfdfcwhite
Primary
#c6f0d6gainsboro
#c6f0d6gainsboro
Primary foreground
#06180dblack
#06180dblack
Secondary
#d6c6f0thistle
#d6c6f0thistle
Secondary foreground
#381b69midnightblue
#381b69midnightblue
Muted
#e4dfeclavender
#181320black
Muted foreground
#584f69dimgray
#a096b0darkgray
Accent
#f0d6c6peachpuff
#f0d6c6peachpuff
Accent foreground
#69381bsaddlebrown
#69381bsaddlebrown
Destructive
#6b0400maroon
#ff3a33tomato
Destructive foreground
#ffa19elightsalmon
#ffffffwhite
Border
#eef1efwhitesmoke
#171c19black
Input
#eef1efwhitesmoke
#171c19black
Ring
#c6f0d6gainsboro
#c6f0d6gainsboro

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card20.25:1AAA
Primary button14.75:1AAA
Secondary button8.64:1AAA
Muted text5.86:1AA
Accent6.92:1AA
Destructive6.60:1AA
Dark mode
Text on background19.53:1AAA
Text on card19.53:1AAA
Primary button14.75:1AAA
Secondary button8.64:1AAA
Muted text6.49:1AA
Accent6.92:1AA
Destructive3.55:1AA Large

CSS variables

Paste this into your globals.css to use Convinced Spatial Spirit in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 158.651);
  --foreground: oklch(0.097 0.013 158.506);
  --muted: oklch(0.911 0.019 302.618);
  --muted-foreground: oklch(0.447 0.043 301.447);
  --popover: oklch(0.994 0.003 158.651);
  --popover-foreground: oklch(0.097 0.013 158.506);
  --card: oklch(0.994 0.003 158.651);
  --card-foreground: oklch(0.097 0.013 158.506);
  --border: oklch(0.956 0.005 158.616);
  --input: oklch(0.956 0.005 158.616);
  --primary: oklch(0.919 0.057 157.309);
  --primary-foreground: oklch(0.191 0.034 154.448);
  --secondary: oklch(0.853 0.06 301.853);
  --secondary-foreground: oklch(0.313 0.128 294.626);
  --accent: oklch(0.893 0.036 52.054);
  --accent-foreground: oklch(0.397 0.082 48.818);
  --destructive: oklch(0.334 0.134 29.974);
  --destructive-foreground: oklch(0.803 0.112 21.995);
  --ring: oklch(0.919 0.057 157.309);
  --chart-1: oklch(0.919 0.057 157.309);
  --chart-2: oklch(0.853 0.06 301.853);
  --chart-3: oklch(0.893 0.036 52.054);
  --chart-4: oklch(0.885 0.047 302.123);
  --chart-5: oklch(0.921 0.059 157.237);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.013 158.572);
  --foreground: oklch(0.993 0.002 158.685);
  --muted: oklch(0.199 0.027 300.806);
  --muted-foreground: oklch(0.691 0.039 302.076);
  --popover: oklch(0.138 0.013 158.572);
  --popover-foreground: oklch(0.993 0.002 158.685);
  --card: oklch(0.138 0.013 158.572);
  --card-foreground: oklch(0.993 0.002 158.685);
  --border: oklch(0.221 0.011 157.612);
  --input: oklch(0.221 0.011 157.612);
  --primary: oklch(0.919 0.057 157.309);
  --primary-foreground: oklch(0.191 0.034 154.448);
  --secondary: oklch(0.853 0.06 301.853);
  --secondary-foreground: oklch(0.313 0.128 294.626);
  --accent: oklch(0.893 0.036 52.054);
  --accent-foreground: oklch(0.397 0.082 48.818);
  --destructive: oklch(0.654 0.233 27.905);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.919 0.057 157.309);
  --chart-1: oklch(0.919 0.057 157.309);
  --chart-2: oklch(0.853 0.06 301.853);
  --chart-3: oklch(0.893 0.036 52.054);
  --chart-4: oklch(0.885 0.047 302.123);
  --chart-5: oklch(0.921 0.059 157.237);
}