Extraneous for shadcn/ui

Extraneous is a shadcn/ui theme built around a teal primary color (#63adb0) with yellow accents (#adb063). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the teal primary (#63adb0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fbfdfdwhite
#000000black
Foreground
#021212black
#f9fbfbghostwhite
Card
#fbfdfdwhite
#000000black
Card foreground
#021212black
#f9fbfbghostwhite
Popover
#fbfdfdwhite
#000000black
Popover foreground
#021212black
#f9fbfbghostwhite
Primary
#63adb0cadetblue
#63adb0cadetblue
Primary foreground
#000000black
#000000black
Secondary
#b063admediumorchid
#b063admediumorchid
Secondary foreground
#000000black
#000000black
Muted
#f1e9f1whitesmoke
#160e15black
Muted foreground
#6a5369dimgray
#ac95abdarkgray
Accent
#adb063darkkhaki
#adb063darkkhaki
Accent foreground
#000000black
#000000black
Destructive
#c64906chocolate
#f86516chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#63adb0cadetblue
#63adb0cadetblue

Contrast

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

Light mode
Text on background18.80:1AAA
Text on card18.80:1AAA
Primary button8.10:1AAA
Secondary button5.23:1AA
Muted text5.79:1AA
Accent9.18:1AAA
Destructive4.81:1AA
Dark mode
Text on background20.21:1AAA
Text on card20.21:1AAA
Primary button8.10:1AAA
Secondary button5.23:1AA
Muted text6.89:1AA
Accent9.18:1AAA
Destructive6.87:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 200.863);
  --foreground: oklch(0.166 0.024 199.165);
  --muted: oklch(0.943 0.012 327.159);
  --muted-foreground: oklch(0.473 0.044 327.866);
  --popover: oklch(0.994 0.002 200.863);
  --popover-foreground: oklch(0.166 0.024 199.165);
  --card: oklch(0.994 0.002 200.863);
  --card-foreground: oklch(0.166 0.024 199.165);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.7 0.074 199.994);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.613 0.138 328.921);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.738 0.101 111.127);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.57 0.171 41.352);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.7 0.074 199.994);
  --chart-1: oklch(0.7 0.074 199.994);
  --chart-2: oklch(0.613 0.138 328.921);
  --chart-3: oklch(0.738 0.101 111.127);
  --chart-4: oklch(0.638 0.129 328.74);
  --chart-5: oklch(0.707 0.079 199.982);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.986 0.002 200.866);
  --muted: oklch(0.177 0.019 327.966);
  --muted-foreground: oklch(0.698 0.04 327.558);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.986 0.002 200.866);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.986 0.002 200.866);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.7 0.074 199.994);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.613 0.138 328.921);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.738 0.101 111.127);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.685 0.196 42.794);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.7 0.074 199.994);
  --chart-1: oklch(0.7 0.074 199.994);
  --chart-2: oklch(0.613 0.138 328.921);
  --chart-3: oklch(0.738 0.101 111.127);
  --chart-4: oklch(0.638 0.129 328.74);
  --chart-5: oklch(0.707 0.079 199.982);
}