Jubilant for shadcn/ui

Jubilant is a shadcn/ui theme built around an orange primary color (#eebe8c) with blue accents (#8cbbee). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#eebe8c) on a neutral background (#070504).

Color palette

TokenLightDark
Background
#ffffffwhite
#070504black
Foreground
#100a04black
#fdfcfcsnow
Card
#fcfcfcsnow
#0a0805black
Card foreground
#0c0803black
#ffffffwhite
Popover
#fcfcfcsnow
#0a0805black
Popover foreground
#0c0803black
#ffffffwhite
Primary
#eebe8cburlywood
#eebe8cburlywood
Primary foreground
#3e2509black
#3e2509black
Secondary
#8cbbeeskyblue
#8cbbeeskyblue
Secondary foreground
#09233emidnightblue
#09233emidnightblue
Muted
#dae0e7gainsboro
#181e25black
Muted foreground
#595c5fdimgray
#a0a3a6darkgray
Accent
#8cbbeeskyblue
#8cbbeeskyblue
Accent foreground
#09233emidnightblue
#09233emidnightblue
Destructive
#650701maroon
#f91201red
Destructive foreground
#fea09alightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eebe8cburlywood
#eebe8cburlywood

Contrast

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

Light mode
Text on background19.67:1AAA
Text on card19.53:1AAA
Primary button8.41:1AAA
Secondary button7.91:1AAA
Muted text5.06:1AA
Accent7.91:1AAA
Destructive6.73:1AA
Dark mode
Text on background19.86:1AAA
Text on card20.02:1AAA
Primary button8.41:1AAA
Secondary button7.91:1AAA
Muted text6.60:1AA
Accent7.91:1AAA
Destructive4.11:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.152 0.018 73.602);
  --muted: oklch(0.904 0.012 249.771);
  --muted-foreground: oklch(0.472 0.006 249.762);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.137 0.016 77.176);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.137 0.016 77.176);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.833 0.086 68.083);
  --primary-foreground: oklch(0.29 0.055 63.865);
  --secondary: oklch(0.777 0.089 250.659);
  --secondary-foreground: oklch(0.252 0.06 252.669);
  --accent: oklch(0.777 0.089 250.659);
  --accent-foreground: oklch(0.252 0.06 252.669);
  --destructive: oklch(0.324 0.126 30.711);
  --destructive-foreground: oklch(0.8 0.113 24.331);
  --ring: oklch(0.833 0.086 68.083);
  --chart-1: oklch(0.833 0.086 68.083);
  --chart-2: oklch(0.777 0.089 250.659);
  --chart-3: oklch(0.777 0.089 250.659);
  --chart-4: oklch(0.803 0.078 250.496);
  --chart-5: oklch(0.835 0.089 67.99);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.007 73.833);
  --foreground: oklch(0.993 0.001 69.637);
  --muted: oklch(0.233 0.017 250.263);
  --muted-foreground: oklch(0.715 0.005 249.718);
  --popover: oklch(0.135 0.008 73.833);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.135 0.008 73.833);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.833 0.086 68.083);
  --primary-foreground: oklch(0.29 0.055 63.865);
  --secondary: oklch(0.777 0.089 250.659);
  --secondary-foreground: oklch(0.252 0.06 252.669);
  --accent: oklch(0.777 0.089 250.659);
  --accent-foreground: oklch(0.252 0.06 252.669);
  --destructive: oklch(0.62 0.249 29.792);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.833 0.086 68.083);
  --chart-1: oklch(0.833 0.086 68.083);
  --chart-2: oklch(0.777 0.089 250.659);
  --chart-3: oklch(0.777 0.089 250.659);
  --chart-4: oklch(0.803 0.078 250.496);
  --chart-5: oklch(0.835 0.089 67.99);
}