WLDLF1 for shadcn/ui

WLDLF1 is a shadcn/ui theme built around a muted orange primary color (#a3988a) with muted violet accents (#988aa3). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted orange primary (#a3988a) on an orange-tinted background (#0c0803).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0803black
Foreground
#120b02black
#ffffffwhite
Card
#ffffffwhite
#0c0803black
Card foreground
#120b02black
#ffffffwhite
Popover
#ffffffwhite
#0c0803black
Popover foreground
#120b02black
#ffffffwhite
Primary
#a3988arosybrown
#a3988arosybrown
Primary foreground
#000000black
#000000black
Secondary
#8aa398darkseagreen
#8aa398darkseagreen
Secondary foreground
#000000black
#000000black
Muted
#e1eae6gainsboro
#151e1ablack
Muted foreground
#414845darkslategray
#b7bebbsilver
Accent
#988aa3lightslategray
#988aa3lightslategray
Accent foreground
#000000black
#000000black
Destructive
#cc220ffirebrick
#f15341tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#ebe8e5linen
#28241fblack
Input
#ebe8e5linen
#28241fblack
Ring
#a3988arosybrown
#a3988arosybrown

Contrast

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

Light mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button7.42:1AAA
Secondary button7.77:1AAA
Muted text7.64:1AAA
Accent6.49:1AA
Destructive5.51:1AA
Dark mode
Text on background19.94:1AAA
Text on card19.94:1AAA
Primary button7.42:1AAA
Secondary button7.77:1AAA
Muted text9.01:1AAA
Accent6.49:1AA
Destructive6.03:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.156 0.024 79.651);
  --muted: oklch(0.929 0.011 168.414);
  --muted-foreground: oklch(0.395 0.01 167.988);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.156 0.024 79.651);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.156 0.024 79.651);
  --border: oklch(0.933 0.005 74.922);
  --input: oklch(0.933 0.005 74.922);
  --primary: oklch(0.685 0.024 74.697);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.693 0.032 167.366);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.654 0.04 310.554);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.544 0.205 30.505);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.685 0.024 74.697);
  --chart-1: oklch(0.685 0.024 74.697);
  --chart-2: oklch(0.693 0.032 167.366);
  --chart-3: oklch(0.654 0.04 310.554);
  --chart-4: oklch(0.716 0.03 167.522);
  --chart-5: oklch(0.688 0.03 74.614);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.015 81.633);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.224 0.015 166.768);
  --muted-foreground: oklch(0.794 0.009 168.425);
  --popover: oklch(0.138 0.015 81.633);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.138 0.015 81.633);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.264 0.01 74.655);
  --input: oklch(0.264 0.01 74.655);
  --primary: oklch(0.685 0.024 74.697);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.693 0.032 167.366);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.654 0.04 310.554);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.654 0.197 29.652);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.685 0.024 74.697);
  --chart-1: oklch(0.685 0.024 74.697);
  --chart-2: oklch(0.693 0.032 167.366);
  --chart-3: oklch(0.654 0.04 310.554);
  --chart-4: oklch(0.716 0.03 167.522);
  --chart-5: oklch(0.688 0.03 74.614);
}