Broiler for shadcn/ui

Broiler is a shadcn/ui theme built around a vivid orange primary color (#ff9233) with vivid violet accents (#9233ff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid orange primary (#ff9233) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#ffffffwhite
#070503black
Foreground
#080502black
#fdfcfcsnow
Card
#fcfcfcsnow
#0b0704black
Card foreground
#040201black
#ffffffwhite
Popover
#ffffffwhite
#070503black
Popover foreground
#080502black
#fdfcfcsnow
Primary
#ff9233coral
#ff9233coral
Primary foreground
#000000black
#000000black
Secondary
#33ff92mediumspringgreen
#33ff92mediumspringgreen
Secondary foreground
#000000black
#000000black
Muted
#e7eeealavender
#111814black
Muted foreground
#484c4adarkslategray
#b3b7b5silver
Accent
#9233ffblueviolet
#9233ffblueviolet
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#7a0600maroon
#ff3d33tomato
Destructive foreground
#ffb1adlightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ff9233coral
#ff9233coral

Contrast

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

Light mode
Text on background20.33:1AAA
Text on card20.25:1AAA
Primary button9.42:1AAA
Secondary button15.86:1AAA
Muted text7.41:1AAA
Accent5.06:1AA
Destructive6.52:1AA
Dark mode
Text on background19.86:1AAA
Text on card20.02:1AAA
Primary button9.42:1AAA
Secondary button15.86:1AAA
Muted text8.88:1AAA
Accent5.06:1AA
Destructive3.51:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.118 0.012 71.515);
  --muted: oklch(0.944 0.01 163.178);
  --muted-foreground: oklch(0.412 0.007 163.013);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.118 0.012 71.515);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.094 0.009 71.515);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.762 0.166 56.662);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.882 0.213 153.428);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.574 0.272 298.024);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.368 0.147 30.188);
  --destructive-foreground: oklch(0.834 0.091 22.563);
  --ring: oklch(0.762 0.166 56.662);
  --chart-1: oklch(0.762 0.166 56.662);
  --chart-2: oklch(0.882 0.213 153.428);
  --chart-3: oklch(0.574 0.272 298.024);
  --chart-4: oklch(0.886 0.203 154.462);
  --chart-5: oklch(0.766 0.17 56.249);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.118 0.011 70.911);
  --foreground: oklch(0.993 0.001 64.071);
  --muted: oklch(0.201 0.014 161.512);
  --muted-foreground: oklch(0.776 0.006 163.25);
  --popover: oklch(0.118 0.011 70.911);
  --popover-foreground: oklch(0.993 0.001 64.071);
  --card: oklch(0.135 0.012 70.64);
  --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.762 0.166 56.662);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.882 0.213 153.428);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.574 0.272 298.024);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.656 0.23 28.425);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.762 0.166 56.662);
  --chart-1: oklch(0.762 0.166 56.662);
  --chart-2: oklch(0.882 0.213 153.428);
  --chart-3: oklch(0.574 0.272 298.024);
  --chart-4: oklch(0.886 0.203 154.462);
  --chart-5: oklch(0.766 0.17 56.249);
}