Xenial Jackpot for shadcn/ui

Xenial Jackpot is a shadcn/ui theme built around an orange primary color (#d2932d) with violet accents (#932dd2). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#d2932d) on a neutral background (#030302).

Color palette

TokenLightDark
Background
#ffffffwhite
#030302black
Foreground
#090601black
#fdfdfcwhite
Card
#ffffffwhite
#030302black
Card foreground
#090601black
#fdfdfcwhite
Popover
#ffffffwhite
#030302black
Popover foreground
#090601black
#fdfdfcwhite
Primary
#d2932dperu
#d2932dperu
Primary foreground
#2a1d09black
#2a1d09black
Secondary
#2dd293lightseagreen
#2dd293lightseagreen
Secondary foreground
#092a1dblack
#092a1dblack
Muted
#d8dedcgainsboro
#212724darkslategray
Muted foreground
#474848darkslategray
#b7b8b8silver
Accent
#932dd2darkorchid
#932dd2darkorchid
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#652001maroon
#fe5101orangered
Destructive foreground
#feb99aburlywood
#ffffffwhite
Border
#e7e6e4gainsboro
#23221fblack
Input
#e7e6e4gainsboro
#23221fblack
Ring
#d2932dperu
#d2932dperu

Contrast

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

Light mode
Text on background20.22:1AAA
Text on card20.22:1AAA
Primary button6.22:1AA
Secondary button7.92:1AAA
Muted text6.74:1AA
Accent5.92:1AA
Destructive7.12:1AAA
Dark mode
Text on background20.28:1AAA
Text on card20.28:1AAA
Primary button6.22:1AA
Secondary button7.92:1AAA
Muted text7.68:1AAA
Accent5.92:1AA
Destructive3.28:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.124 0.018 88.328);
  --muted: oklch(0.896 0.007 171.371);
  --muted-foreground: oklch(0.401 0.002 171.441);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.124 0.018 88.328);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.124 0.018 88.328);
  --border: oklch(0.925 0.003 79.928);
  --input: oklch(0.925 0.003 79.928);
  --primary: oklch(0.709 0.135 74.228);
  --primary-foreground: oklch(0.243 0.038 77.138);
  --secondary: oklch(0.769 0.16 161.442);
  --secondary-foreground: oklch(0.257 0.045 164.206);
  --accent: oklch(0.533 0.236 308.005);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.349 0.107 41.018);
  --destructive-foreground: oklch(0.844 0.091 45.868);
  --ring: oklch(0.709 0.135 74.228);
  --chart-1: oklch(0.709 0.135 74.228);
  --chart-2: oklch(0.769 0.16 161.442);
  --chart-3: oklch(0.533 0.236 308.005);
  --chart-4: oklch(0.779 0.154 162.469);
  --chart-5: oklch(0.715 0.139 73.668);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.095 0.006 83.867);
  --foreground: oklch(0.993 0 79.933);
  --muted: oklch(0.264 0.009 170.559);
  --muted-foreground: oklch(0.782 0.002 171.526);
  --popover: oklch(0.095 0.006 83.867);
  --popover-foreground: oklch(0.993 0 79.933);
  --card: oklch(0.095 0.006 83.867);
  --card-foreground: oklch(0.993 0 79.933);
  --border: oklch(0.252 0.006 79.874);
  --input: oklch(0.252 0.006 79.874);
  --primary: oklch(0.709 0.135 74.228);
  --primary-foreground: oklch(0.243 0.038 77.138);
  --secondary: oklch(0.769 0.16 161.442);
  --secondary-foreground: oklch(0.257 0.045 164.206);
  --accent: oklch(0.533 0.236 308.005);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.67 0.219 37.948);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.709 0.135 74.228);
  --chart-1: oklch(0.709 0.135 74.228);
  --chart-2: oklch(0.769 0.16 161.442);
  --chart-3: oklch(0.533 0.236 308.005);
  --chart-4: oklch(0.779 0.154 162.469);
  --chart-5: oklch(0.715 0.139 73.668);
}