Original for shadcn/ui

Original is a shadcn/ui theme built around a yellow primary color (#cbc99f) with purple accents (#c99fcb). The light mode uses a neutral background (#fefefb). Dark mode keeps the yellow primary (#cbc99f) on a neutral background (#070703).

Color palette

TokenLightDark
Background
#fefefbwhite
#070703black
Foreground
#040401black
#f9f9f6whitesmoke
Card
#fcfcf7snow
#0a0a05black
Card foreground
#000000black
#fbfbf9snow
Popover
#fefefbwhite
#070703black
Popover foreground
#040401black
#f9f9f6whitesmoke
Primary
#cbc99ftan
#cbc99ftan
Primary foreground
#242414black
#242414black
Secondary
#9fcbc9lightsteelblue
#9fcbc9lightsteelblue
Secondary foreground
#142424black
#142424black
Muted
#d8eeedlavender
#112726black
Muted foreground
#575b5bdimgray
#a4a8a7darkgray
Accent
#c99fcbplum
#c99fcbplum
Accent foreground
#241424black
#241424black
Destructive
#7a2306maroon
#f55c29tomato
Destructive foreground
#fcc7b6peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#cbc99ftan
#cbc99ftan

Contrast

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

Light mode
Text on background20.25:1AAA
Text on card20.43:1AAA
Primary button9.27:1AAA
Secondary button9.08:1AAA
Muted text5.67:1AA
Accent7.74:1AAA
Destructive6.77:1AA
Dark mode
Text on background19.16:1AAA
Text on card19.14:1AAA
Primary button9.27:1AAA
Secondary button9.08:1AAA
Muted text6.52:1AA
Accent7.74:1AAA
Destructive6.43:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 104.024);
  --foreground: oklch(0.104 0.015 106.894);
  --muted: oklch(0.932 0.023 193.13);
  --muted-foreground: oklch(0.468 0.005 193.415);
  --popover: oklch(0.995 0.003 104.024);
  --popover-foreground: oklch(0.104 0.015 106.894);
  --card: oklch(0.99 0.006 104.077);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.827 0.056 105.064);
  --primary-foreground: oklch(0.255 0.028 105.627);
  --secondary: oklch(0.811 0.047 192.468);
  --secondary-foreground: oklch(0.247 0.023 191.766);
  --accent: oklch(0.755 0.078 324.7);
  --accent-foreground: oklch(0.219 0.04 325.084);
  --destructive: oklch(0.39 0.126 36.66);
  --destructive-foreground: oklch(0.872 0.065 39.24);
  --ring: oklch(0.827 0.056 105.064);
  --chart-1: oklch(0.827 0.056 105.064);
  --chart-2: oklch(0.811 0.047 192.468);
  --chart-3: oklch(0.755 0.078 324.7);
  --chart-4: oklch(0.83 0.042 192.608);
  --chart-5: oklch(0.833 0.062 105.151);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.01 105.708);
  --foreground: oklch(0.981 0.004 104.049);
  --muted: oklch(0.253 0.027 191.387);
  --muted-foreground: oklch(0.727 0.004 193.496);
  --popover: oklch(0.125 0.01 105.708);
  --popover-foreground: oklch(0.981 0.004 104.049);
  --card: oklch(0.143 0.012 105.708);
  --card-foreground: oklch(0.987 0.003 104.023);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.827 0.056 105.064);
  --primary-foreground: oklch(0.255 0.028 105.627);
  --secondary: oklch(0.811 0.047 192.468);
  --secondary-foreground: oklch(0.247 0.023 191.766);
  --accent: oklch(0.755 0.078 324.7);
  --accent-foreground: oklch(0.219 0.04 325.084);
  --destructive: oklch(0.669 0.198 37.604);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.827 0.056 105.064);
  --chart-1: oklch(0.827 0.056 105.064);
  --chart-2: oklch(0.811 0.047 192.468);
  --chart-3: oklch(0.755 0.078 324.7);
  --chart-4: oklch(0.83 0.042 192.608);
  --chart-5: oklch(0.833 0.062 105.151);
}