FifteenProd for shadcn/ui

FifteenProd is a shadcn/ui theme built around a vivid orange primary color (#f97415) with green accents (#336633). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#f97415) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#080502black
#ffffffwhite
Card
#fcfaf8snow
#111111black
Card foreground
#080502black
#ffffffwhite
Popover
#fcfaf8snow
#000000black
Popover foreground
#080502black
#ffffffwhite
Primary
#f97415darkorange
#f97415darkorange
Primary foreground
#000000black
#000000black
Secondary
#ddd5d0lightgrey
#5e5e5edimgray
Secondary foreground
#473c33darkslategray
#ffffffwhite
Muted
#e2dddagainsboro
#25201dblack
Muted foreground
#514f4ddarkslategray
#b2b0aedarkgray
Accent
#336633darkolivegreen
#336633darkolivegreen
Accent foreground
#ffffffwhite
#cfc8c4silver
Destructive
#711104maroon
#f84c35tomato
Destructive foreground
#fcb5ablightpink
#ffffffwhite
Border
#eceae9linen
#333333darkslategray
Input
#eceae9linen
#1c1917black
Ring
#f97415darkorange
#f97415darkorange

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card19.46:1AAA
Primary button7.54:1AAA
Secondary button7.39:1AAA
Muted text6.05:1AA
Accent6.79:1AA
Destructive6.90:1AA
Dark mode
Text on background21.00:1AAA
Text on card18.88:1AAA
Primary button7.54:1AAA
Secondary button6.48:1AA
Muted text7.41:1AAA
Accent4.11:1AA Large
Destructive3.46:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.117 0.011 65.935);
  --muted: oklch(0.901 0.007 58.248);
  --muted-foreground: oklch(0.428 0.005 58.204);
  --popover: oklch(0.985 0.003 58.319);
  --popover-foreground: oklch(0.117 0.011 65.935);
  --card: oklch(0.985 0.003 58.319);
  --card-foreground: oklch(0.117 0.011 65.935);
  --border: oklch(0.939 0.003 58.316);
  --input: oklch(0.939 0.003 58.316);
  --primary: oklch(0.707 0.186 48.129);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.878 0.011 58.184);
  --secondary-foreground: oklch(0.364 0.021 57.541);
  --accent: oklch(0.461 0.097 143.802);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.355 0.132 31.302);
  --destructive-foreground: oklch(0.836 0.085 27.441);
  --ring: oklch(0.707 0.186 48.129);
  --chart-1: oklch(0.707 0.186 48.129);
  --chart-2: oklch(0.878 0.011 58.184);
  --chart-3: oklch(0.461 0.097 143.802);
  --chart-4: oklch(0.901 0.009 58.222);
  --chart-5: oklch(0.711 0.19 47.541);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.25 0.01 57.792);
  --muted-foreground: oklch(0.757 0.004 58.285);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.178 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.321 0 180);
  --input: oklch(0.216 0.006 58.001);
  --primary: oklch(0.707 0.186 48.129);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.482 0 0);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.461 0.097 143.802);
  --accent-foreground: oklch(0.838 0.01 58.192);
  --destructive: oklch(0.657 0.212 30.82);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.707 0.186 48.129);
  --chart-1: oklch(0.707 0.186 48.129);
  --chart-2: oklch(0.482 0 0);
  --chart-3: oklch(0.461 0.097 143.802);
  --chart-4: oklch(0.509 0 180);
  --chart-5: oklch(0.711 0.19 47.541);
}