Prospect for shadcn/ui

Prospect is a shadcn/ui theme built around a vivid light orange primary color (#fac699) with vivid light violet accents (#c699fa). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the vivid light orange primary (#fac699) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fdfaf6snow
#000000black
Foreground
#040201black
#fdfcfcsnow
Card
#fdfaf6snow
#000000black
Card foreground
#040201black
#fdfcfcsnow
Popover
#fdfaf6snow
#000000black
Popover foreground
#040201black
#fdfcfcsnow
Primary
#fac699navajowhite
#fac699navajowhite
Primary foreground
#5c2e05saddlebrown
#5c2e05saddlebrown
Secondary
#99fac6aquamarine
#99fac6aquamarine
Secondary foreground
#055c2edarkgreen
#055c2edarkgreen
Muted
#dce0degainsboro
#1f2321black
Muted foreground
#495a51darkslategray
#a5b6addarkgray
Accent
#c699faplum
#c699faplum
Accent foreground
#2e055cmidnightblue
#2e055cmidnightblue
Destructive
#8e0e0bdarkred
#ed2521crimson
Destructive foreground
#fbd1d0pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fac699navajowhite
#fac699navajowhite

Contrast

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

Light mode
Text on background19.87:1AAA
Text on card19.87:1AAA
Primary button7.36:1AAA
Secondary button6.52:1AA
Muted text5.48:1AA
Accent7.23:1AAA
Destructive6.85:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button7.36:1AAA
Secondary button6.52:1AA
Muted text7.49:1AAA
Accent7.23:1AAA
Destructive4.29:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.006 64.014);
  --foreground: oklch(0.094 0.01 72.429);
  --muted: oklch(0.902 0.004 163.324);
  --muted-foreground: oklch(0.45 0.025 161.98);
  --popover: oklch(0.986 0.006 64.014);
  --popover-foreground: oklch(0.094 0.01 72.429);
  --card: oklch(0.986 0.006 64.014);
  --card-foreground: oklch(0.094 0.01 72.429);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.862 0.083 62.562);
  --primary-foreground: oklch(0.355 0.084 54.917);
  --secondary: oklch(0.91 0.117 159.605);
  --secondary-foreground: oklch(0.417 0.107 152.295);
  --accent: oklch(0.762 0.142 304.741);
  --accent-foreground: oklch(0.262 0.135 296.107);
  --destructive: oklch(0.412 0.16 28.528);
  --destructive-foreground: oklch(0.896 0.048 19.234);
  --ring: oklch(0.862 0.083 62.562);
  --chart-1: oklch(0.862 0.083 62.562);
  --chart-2: oklch(0.91 0.117 159.605);
  --chart-3: oklch(0.762 0.142 304.741);
  --chart-4: oklch(0.921 0.101 160.264);
  --chart-5: oklch(0.863 0.086 62.495);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 64.08);
  --muted: oklch(0.251 0.006 162.843);
  --muted-foreground: oklch(0.76 0.022 162.698);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 64.08);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 64.08);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.862 0.083 62.562);
  --primary-foreground: oklch(0.355 0.084 54.917);
  --secondary: oklch(0.91 0.117 159.605);
  --secondary-foreground: oklch(0.417 0.107 152.295);
  --accent: oklch(0.762 0.142 304.741);
  --accent-foreground: oklch(0.262 0.135 296.107);
  --destructive: oklch(0.607 0.231 28.225);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.862 0.083 62.562);
  --chart-1: oklch(0.862 0.083 62.562);
  --chart-2: oklch(0.91 0.117 159.605);
  --chart-3: oklch(0.762 0.142 304.741);
  --chart-4: oklch(0.921 0.101 160.264);
  --chart-5: oklch(0.863 0.086 62.495);
}