Beer Loon for shadcn/ui

Beer Loon is a shadcn/ui theme built around a vivid yellow primary color (#faa700) with muted blue accents (#3e4a60). The light mode uses a blue-tinted background (#202631). Dark mode keeps the vivid yellow primary (#faa700) on a blue-tinted background (#202631).

Color palette

TokenLightDark
Background
#202631darkslategray
#202631darkslategray
Foreground
#d9d7celightgrey
#d9d7celightgrey
Card
#1c212bblack
#1c212bblack
Card foreground
#e4e3dcgainsboro
#e4e3dcgainsboro
Popover
#1a1f28black
#1a1f28black
Popover foreground
#efefeblinen
#efefeblinen
Primary
#faa700orange
#faa700orange
Primary foreground
#2e1f00black
#2e1f00black
Secondary
#53462ddarkolivegreen
#53462ddarkolivegreen
Secondary foreground
#e4ddcdgainsboro
#e4ddcdgainsboro
Muted
#2d3139darkslategray
#2d3139darkslategray
Muted foreground
#a9b0bcdarkgray
#a9b0bcdarkgray
Accent
#3e4a60darkslategray
#3e4a60darkslategray
Accent foreground
#e3e7edlavender
#e3e7edlavender
Destructive
#f00400red
#f00400red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#30343bdarkslategray
#30343bdarkslategray
Input
#363b44darkslategray
#363b44darkslategray
Ring
#faa700orange
#faa700orange

Contrast

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

Light mode
Text on background10.49:1AAA
Text on card12.47:1AAA
Primary button8.04:1AAA
Secondary button6.79:1AA
Muted text5.96:1AA
Accent7.17:1AAA
Destructive4.45:1AA Large
Dark mode
Text on background10.49:1AAA
Text on card12.47:1AAA
Primary button8.04:1AAA
Secondary button6.79:1AA
Muted text5.96:1AA
Accent7.17:1AAA
Destructive4.45:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.269 0.023 262.707);
  --foreground: oklch(0.879 0.013 96.343);
  --muted: oklch(0.313 0.015 262.893);
  --muted-foreground: oklch(0.755 0.019 262.994);
  --popover: oklch(0.239 0.019 262.736);
  --popover-foreground: oklch(0.951 0.005 96.233);
  --card: oklch(0.249 0.02 262.726);
  --card-foreground: oklch(0.915 0.009 96.286);
  --border: oklch(0.323 0.015 262.911);
  --input: oklch(0.352 0.017 262.905);
  --primary: oklch(0.79 0.168 73.314);
  --primary-foreground: oklch(0.25 0.052 81.708);
  --secondary: oklch(0.401 0.043 84.052);
  --secondary-foreground: oklch(0.898 0.022 84.593);
  --accent: oklch(0.408 0.039 262.63);
  --accent-foreground: oklch(0.926 0.009 263.035);
  --destructive: oklch(0.6 0.245 29.374);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.79 0.168 73.314);
  --chart-1: oklch(0.79 0.168 73.314);
  --chart-2: oklch(0.401 0.043 84.052);
  --chart-3: oklch(0.408 0.039 262.63);
  --chart-4: oklch(0.433 0.047 84.022);
  --chart-5: oklch(0.796 0.17 72.745);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.269 0.023 262.707);
  --foreground: oklch(0.879 0.013 96.343);
  --muted: oklch(0.313 0.015 262.893);
  --muted-foreground: oklch(0.755 0.019 262.994);
  --popover: oklch(0.239 0.019 262.736);
  --popover-foreground: oklch(0.951 0.005 96.233);
  --card: oklch(0.249 0.02 262.726);
  --card-foreground: oklch(0.915 0.009 96.286);
  --border: oklch(0.323 0.015 262.911);
  --input: oklch(0.352 0.017 262.905);
  --primary: oklch(0.79 0.168 73.314);
  --primary-foreground: oklch(0.25 0.052 81.708);
  --secondary: oklch(0.401 0.043 84.052);
  --secondary-foreground: oklch(0.898 0.022 84.593);
  --accent: oklch(0.408 0.039 262.63);
  --accent-foreground: oklch(0.926 0.009 263.035);
  --destructive: oklch(0.6 0.245 29.374);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.79 0.168 73.314);
  --chart-1: oklch(0.79 0.168 73.314);
  --chart-2: oklch(0.401 0.043 84.052);
  --chart-3: oklch(0.408 0.039 262.63);
  --chart-4: oklch(0.433 0.047 84.022);
  --chart-5: oklch(0.796 0.17 72.745);
}