Origins Digital 2 for shadcn/ui

Origins Digital 2 is a shadcn/ui theme built around a vivid orange primary color (#ff8400) with muted light orange accents (#e4e1dd). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid orange primary (#ff8400) on a neutral background (#080502).

Color palette

TokenLightDark
Background
#fcfaf8snow
#080502black
Foreground
#120a02black
#ffffffwhite
Card
#fbf7f4whitesmoke
#0c0804black
Card foreground
#0e0802black
#ffffffwhite
Popover
#fcfaf8snow
#080502black
Popover foreground
#120a02black
#ffffffwhite
Primary
#ff8400darkorange
#ff8400darkorange
Primary foreground
#331a00black
#331a00black
Secondary
#e4e1ddgainsboro
#171412black
Secondary foreground
#50483fdarkslategray
#b7aea4darkgray
Muted
#ece6dfantiquewhite
#201a13black
Muted foreground
#4c4842darkslategray
#bdb8b3silver
Accent
#e4e1ddgainsboro
#171412black
Accent foreground
#50483fdarkslategray
#b7aea4darkgray
Destructive
#670d0amaroon
#d71a14firebrick
Destructive foreground
#f7aeablightpink
#ffffffwhite
Border
#eae8e6linen
#1f1c19black
Input
#eae8e6linen
#1f1c19black
Ring
#ff8400darkorange
#ff8400darkorange

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.74:1AAA
Primary button6.62:1AA
Secondary button6.86:1AA
Muted text7.31:1AAA
Accent6.86:1AA
Destructive7.10:1AAA
Dark mode
Text on background20.31:1AAA
Text on card19.98:1AAA
Primary button6.62:1AA
Secondary button8.36:1AAA
Muted text8.76:1AAA
Accent8.36:1AAA
Destructive5.19:1AA

CSS variables

Paste this into your globals.css to use Origins Digital 2 in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.986 0.004 69.611);
  --foreground: oklch(0.155 0.025 75.371);
  --muted: oklch(0.927 0.012 69.521);
  --muted-foreground: oklch(0.403 0.011 69.372);
  --popover: oklch(0.986 0.004 69.611);
  --popover-foreground: oklch(0.155 0.025 75.371);
  --card: oklch(0.979 0.006 69.591);
  --card-foreground: oklch(0.139 0.022 79.231);
  --border: oklch(0.932 0.004 69.608);
  --input: oklch(0.932 0.004 69.608);
  --primary: oklch(0.738 0.184 54.583);
  --primary-foreground: oklch(0.248 0.056 64.56);
  --secondary: oklch(0.91 0.006 69.581);
  --secondary-foreground: oklch(0.406 0.018 69.143);
  --accent: oklch(0.91 0.006 69.581);
  --accent-foreground: oklch(0.406 0.018 69.143);
  --destructive: oklch(0.331 0.123 28.442);
  --destructive-foreground: oklch(0.819 0.087 21.34);
  --ring: oklch(0.738 0.184 54.583);
  --chart-1: oklch(0.738 0.184 54.583);
  --chart-2: oklch(0.91 0.006 69.581);
  --chart-3: oklch(0.91 0.006 69.581);
  --chart-4: oklch(0.933 0.005 69.6);
  --chart-5: oklch(0.743 0.187 53.931);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.012 77.031);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.222 0.017 68.654);
  --muted-foreground: oklch(0.784 0.009 69.535);
  --popover: oklch(0.119 0.012 77.031);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.137 0.014 76.553);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.229 0.007 69.33);
  --input: oklch(0.229 0.007 69.33);
  --primary: oklch(0.738 0.184 54.583);
  --primary-foreground: oklch(0.248 0.056 64.56);
  --secondary: oklch(0.195 0.006 69.306);
  --secondary-foreground: oklch(0.755 0.018 69.404);
  --accent: oklch(0.195 0.006 69.306);
  --accent-foreground: oklch(0.755 0.018 69.404);
  --destructive: oklch(0.56 0.218 28.984);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.738 0.184 54.583);
  --chart-1: oklch(0.738 0.184 54.583);
  --chart-2: oklch(0.195 0.006 69.306);
  --chart-3: oklch(0.195 0.006 69.306);
  --chart-4: oklch(0.23 0.008 69.258);
  --chart-5: oklch(0.743 0.187 53.931);
}