Extraneous for shadcn/ui

Extraneous is a shadcn/ui theme built around a vivid deep indigo primary color (#15015a) with vivid deep green accents (#015a15). The light mode uses a neutral background (#f8f7fd). Dark mode keeps the vivid deep indigo primary (#15015a) on an indigo-tinted background (#06050b).

Color palette

TokenLightDark
Background
#f8f7fdghostwhite
#06050bblack
Foreground
#05020dblack
#fcfcfdwhite
Card
#f8f7fdghostwhite
#06050bblack
Card foreground
#05020dblack
#fcfcfdwhite
Popover
#f8f7fdghostwhite
#06050bblack
Popover foreground
#05020dblack
#fcfcfdwhite
Primary
#15015amidnightblue
#15015amidnightblue
Primary foreground
#a890fdmediumpurple
#a890fdmediumpurple
Secondary
#5a1501maroon
#5a1501maroon
Secondary foreground
#fda890lightsalmon
#fda890lightsalmon
Muted
#e1d4d0lightgrey
#2f211eblack
Muted foreground
#6d5a54dimgray
#ab9792rosybrown
Accent
#015a15darkgreen
#015a15darkgreen
Accent foreground
#2cfc59springgreen
#2cfc59springgreen
Destructive
#6d1208maroon
#f04f3dtomato
Destructive foreground
#f9b6aelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#15015amidnightblue
#15015amidnightblue

Contrast

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

Light mode
Text on background19.28:1AAA
Text on card19.28:1AAA
Primary button6.80:1AA
Secondary button7.23:1AAA
Muted text4.48:1AA Large
Accent6.09:1AA
Destructive7.07:1AAA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button6.80:1AA
Secondary button7.23:1AAA
Muted text5.56:1AA
Accent6.09:1AA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.978 0.008 296.173);
  --foreground: oklch(0.105 0.033 294.791);
  --muted: oklch(0.879 0.015 35.963);
  --muted-foreground: oklch(0.485 0.027 35.954);
  --popover: oklch(0.978 0.008 296.173);
  --popover-foreground: oklch(0.105 0.033 294.791);
  --card: oklch(0.978 0.008 296.173);
  --card-foreground: oklch(0.105 0.033 294.791);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.228 0.138 276.862);
  --primary-foreground: oklch(0.721 0.155 292.001);
  --secondary: oklch(0.313 0.105 35.921);
  --secondary-foreground: oklch(0.81 0.107 36.164);
  --accent: oklch(0.408 0.127 145.04);
  --accent-foreground: oklch(0.865 0.256 145.608);
  --destructive: oklch(0.349 0.126 30.52);
  --destructive-foreground: oklch(0.836 0.079 26.043);
  --ring: oklch(0.228 0.138 276.862);
  --chart-1: oklch(0.228 0.138 276.862);
  --chart-2: oklch(0.313 0.105 35.921);
  --chart-3: oklch(0.408 0.127 145.04);
  --chart-4: oklch(0.346 0.118 35.328);
  --chart-5: oklch(0.227 0.142 276.113);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.016 295.838);
  --foreground: oklch(0.991 0.001 296.304);
  --muted: oklch(0.264 0.022 36.001);
  --muted-foreground: oklch(0.692 0.025 35.944);
  --popover: oklch(0.119 0.016 295.838);
  --popover-foreground: oklch(0.991 0.001 296.304);
  --card: oklch(0.119 0.016 295.838);
  --card-foreground: oklch(0.991 0.001 296.304);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.228 0.138 276.862);
  --primary-foreground: oklch(0.721 0.155 292.001);
  --secondary: oklch(0.313 0.105 35.921);
  --secondary-foreground: oklch(0.81 0.107 36.164);
  --accent: oklch(0.408 0.127 145.04);
  --accent-foreground: oklch(0.865 0.256 145.608);
  --destructive: oklch(0.649 0.201 29.818);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.228 0.138 276.862);
  --chart-1: oklch(0.228 0.138 276.862);
  --chart-2: oklch(0.313 0.105 35.921);
  --chart-3: oklch(0.408 0.127 145.04);
  --chart-4: oklch(0.346 0.118 35.328);
  --chart-5: oklch(0.227 0.142 276.113);
}