Spotted for shadcn/ui

Spotted is a shadcn/ui theme built around a vivid deep orange primary color (#322001) with vivid deep blue accents (#011332). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid deep orange primary (#322001) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fcfaf8snow
#070603black
Foreground
#170f03black
#fdfdfcwhite
Card
#fcfaf8snow
#070603black
Card foreground
#170f03black
#fdfdfcwhite
Popover
#fcfaf8snow
#070603black
Popover foreground
#170f03black
#fdfdfcwhite
Primary
#322001black
#322001black
Primary foreground
#fca103orange
#fca103orange
Secondary
#011332black
#011332black
Secondary foreground
#689ffdcornflowerblue
#689ffdcornflowerblue
Muted
#dde0e4gainsboro
#1b1e22black
Muted foreground
#5b616bdimgray
#9499a4darkgray
Accent
#011332black
#011332black
Accent foreground
#689ffdcornflowerblue
#689ffdcornflowerblue
Destructive
#a33a05saddlebrown
#df4f07orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#322001black
#322001black

Contrast

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

Light mode
Text on background18.28:1AAA
Text on card18.28:1AAA
Primary button7.60:1AAA
Secondary button6.99:1AA
Muted text4.69:1AA
Accent6.99:1AA
Destructive6.63:1AA
Dark mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button7.60:1AAA
Secondary button6.99:1AA
Muted text5.86:1AA
Accent6.99:1AA
Destructive4.00:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 81.513);
  --foreground: oklch(0.176 0.029 83.291);
  --muted: oklch(0.905 0.006 261.512);
  --muted-foreground: oklch(0.492 0.018 261.464);
  --popover: oklch(0.987 0.004 81.513);
  --popover-foreground: oklch(0.176 0.029 83.291);
  --card: oklch(0.987 0.004 81.513);
  --card-foreground: oklch(0.176 0.029 83.291);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.261 0.054 77.311);
  --primary-foreground: oklch(0.782 0.17 69.285);
  --secondary: oklch(0.193 0.069 257.8);
  --secondary-foreground: oklch(0.705 0.151 260.681);
  --accent: oklch(0.193 0.069 257.8);
  --accent-foreground: oklch(0.705 0.151 260.681);
  --destructive: oklch(0.492 0.15 40.683);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.261 0.054 77.311);
  --chart-1: oklch(0.261 0.054 77.311);
  --chart-2: oklch(0.193 0.069 257.8);
  --chart-3: oklch(0.193 0.069 257.8);
  --chart-4: oklch(0.223 0.085 259.073);
  --chart-5: oklch(0.262 0.055 77.204);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.12 0.009 85.675);
  --foreground: oklch(0.993 0.001 81.514);
  --muted: oklch(0.233 0.009 261.457);
  --muted-foreground: oklch(0.683 0.016 261.491);
  --popover: oklch(0.12 0.009 85.675);
  --popover-foreground: oklch(0.993 0.001 81.514);
  --card: oklch(0.12 0.009 85.675);
  --card-foreground: oklch(0.993 0.001 81.514);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.261 0.054 77.311);
  --primary-foreground: oklch(0.782 0.17 69.285);
  --secondary: oklch(0.193 0.069 257.8);
  --secondary-foreground: oklch(0.705 0.151 260.681);
  --accent: oklch(0.193 0.069 257.8);
  --accent-foreground: oklch(0.705 0.151 260.681);
  --destructive: oklch(0.617 0.191 39.962);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.261 0.054 77.311);
  --chart-1: oklch(0.261 0.054 77.311);
  --chart-2: oklch(0.193 0.069 257.8);
  --chart-3: oklch(0.193 0.069 257.8);
  --chart-4: oklch(0.223 0.085 259.073);
  --chart-5: oklch(0.262 0.055 77.204);
}