Pop N' Lock Theme by Luxcium ✨ Alexis's Black ⛷ for shadcn/ui

Pop N' Lock Theme by Luxcium ✨ Alexis's Black ⛷ is a shadcn/ui theme built around a muted yellow primary color (#c0b49b) with neutral gray accents (#404040). The light mode uses a neutral background (#1a1a1a). Dark mode keeps the muted yellow primary (#c0b49b) on a neutral background (#1a1a1a).

Color palette

TokenLightDark
Background
#1a1a1ablack
#1a1a1ablack
Foreground
#a89c8frosybrown
#a89c8frosybrown
Card
#141414black
#141414black
Card foreground
#b4a99ddarkgray
#b4a99ddarkgray
Popover
#121212black
#121212black
Popover foreground
#bfb5absilver
#bfb5absilver
Primary
#c0b49btan
#c0b49btan
Primary foreground
#191610black
#191610black
Secondary
#484337darkslategray
#484337darkslategray
Secondary foreground
#dedbd4gainsboro
#dedbd4gainsboro
Muted
#2b2222darkslategray
#2b2222darkslategray
Muted foreground
#b09b9brosybrown
#b09b9brosybrown
Accent
#404040darkslategray
#404040darkslategray
Accent foreground
#d9d9d9gainsboro
#d9d9d9gainsboro
Destructive
#ea261fcrimson
#ea261fcrimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#262626darkslategray
#262626darkslategray
Input
#2e2e2edarkslategray
#2e2e2edarkslategray
Ring
#c0b49btan
#c0b49btan

Contrast

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

Light mode
Text on background6.51:1AA
Text on card7.95:1AAA
Primary button8.82:1AAA
Secondary button7.13:1AAA
Muted text5.93:1AA
Accent7.37:1AAA
Destructive4.37:1AA Large
Dark mode
Text on background6.51:1AA
Text on card7.95:1AAA
Primary button8.82:1AAA
Secondary button7.13:1AAA
Muted text5.93:1AA
Accent7.37:1AAA
Destructive4.37:1AA Large

CSS variables

Paste this into your globals.css to use Pop N' Lock Theme by Luxcium ✨ Alexis's Black ⛷ in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.216 0 180);
  --foreground: oklch(0.7 0.024 69.279);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.182 0 164.055);
  --popover-foreground: oklch(0.779 0.017 69.419);
  --card: oklch(0.193 0 164.055);
  --card-foreground: oklch(0.74 0.021 69.355);
  --border: oklch(0.27 0 180);
  --input: oklch(0.301 0 189.462);
  --primary: oklch(0.774 0.038 86.09);
  --primary-foreground: oklch(0.202 0.013 86.048);
  --secondary: oklch(0.384 0.02 86.085);
  --secondary-foreground: oklch(0.891 0.01 86.047);
  --accent: oklch(0.371 0 168.69);
  --accent-foreground: oklch(0.885 0 180);
  --destructive: oklch(0.602 0.228 28.676);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.774 0.038 86.09);
  --chart-1: oklch(0.774 0.038 86.09);
  --chart-2: oklch(0.384 0.02 86.085);
  --chart-3: oklch(0.371 0 168.69);
  --chart-4: oklch(0.414 0.022 86.083);
  --chart-5: oklch(0.777 0.043 86.079);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.216 0 180);
  --foreground: oklch(0.7 0.024 69.279);
  --muted: oklch(0.261 0.014 18.092);
  --muted-foreground: oklch(0.708 0.025 17.766);
  --popover: oklch(0.182 0 164.055);
  --popover-foreground: oklch(0.779 0.017 69.419);
  --card: oklch(0.193 0 164.055);
  --card-foreground: oklch(0.74 0.021 69.355);
  --border: oklch(0.27 0 180);
  --input: oklch(0.301 0 189.462);
  --primary: oklch(0.774 0.038 86.09);
  --primary-foreground: oklch(0.202 0.013 86.048);
  --secondary: oklch(0.384 0.02 86.085);
  --secondary-foreground: oklch(0.891 0.01 86.047);
  --accent: oklch(0.371 0 168.69);
  --accent-foreground: oklch(0.885 0 180);
  --destructive: oklch(0.602 0.228 28.676);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.774 0.038 86.09);
  --chart-1: oklch(0.774 0.038 86.09);
  --chart-2: oklch(0.384 0.02 86.085);
  --chart-3: oklch(0.371 0 168.69);
  --chart-4: oklch(0.414 0.022 86.083);
  --chart-5: oklch(0.777 0.043 86.079);
}