Left for shadcn/ui

Left is a shadcn/ui theme built around a muted light orange primary color (#e0dad2) with muted light violet accents (#dad2e0). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light orange primary (#e0dad2) on a neutral background (#070503).

Color palette

TokenLightDark
Background
#ffffffwhite
#070503black
Foreground
#160e04black
#fbfaf9snow
Card
#ffffffwhite
#070503black
Card foreground
#160e04black
#fbfaf9snow
Popover
#ffffffwhite
#070503black
Popover foreground
#160e04black
#fbfaf9snow
Primary
#e0dad2gainsboro
#e0dad2gainsboro
Primary foreground
#4b4234darkslategray
#4b4234darkslategray
Secondary
#d2e0dagainsboro
#d2e0dagainsboro
Secondary foreground
#344b42darkslategray
#344b42darkslategray
Muted
#d8eee5gainsboro
#11271eblack
Muted foreground
#4d5c55darkslategray
#a3b2acdarkgray
Accent
#dad2e0gainsboro
#dad2e0gainsboro
Accent foreground
#42344bdarkslategray
#42344bdarkslategray
Destructive
#c84a14chocolate
#ea632achocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e0dad2gainsboro
#e0dad2gainsboro

Contrast

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

Light mode
Text on background19.11:1AAA
Text on card19.11:1AAA
Primary button7.09:1AAA
Secondary button6.88:1AA
Muted text5.79:1AA
Accent7.81:1AAA
Destructive4.74:1AA
Dark mode
Text on background19.48:1AAA
Text on card19.48:1AAA
Primary button7.09:1AAA
Secondary button6.88:1AA
Muted text7.16:1AAA
Accent7.81:1AAA
Destructive6.32:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.171 0.026 78.128);
  --muted: oklch(0.93 0.025 168.875);
  --muted-foreground: oklch(0.459 0.021 168.285);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.171 0.026 78.128);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.171 0.026 78.128);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.89 0.013 76.583);
  --primary-foreground: oklch(0.384 0.025 76.121);
  --secondary: oklch(0.894 0.017 169.134);
  --secondary-foreground: oklch(0.391 0.033 167.024);
  --accent: oklch(0.874 0.021 311.534);
  --accent-foreground: oklch(0.35 0.043 310.733);
  --destructive: oklch(0.573 0.171 39.787);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.013 76.583);
  --chart-1: oklch(0.89 0.013 76.583);
  --chart-2: oklch(0.894 0.017 169.134);
  --chart-3: oklch(0.874 0.021 311.534);
  --chart-4: oklch(0.915 0.013 169.255);
  --chart-5: oklch(0.891 0.015 76.569);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.008 81.04);
  --foreground: oklch(0.986 0.002 76.642);
  --muted: oklch(0.25 0.033 165.14);
  --muted-foreground: oklch(0.751 0.019 168.934);
  --popover: oklch(0.119 0.008 81.04);
  --popover-foreground: oklch(0.986 0.002 76.642);
  --card: oklch(0.119 0.008 81.04);
  --card-foreground: oklch(0.986 0.002 76.642);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.89 0.013 76.583);
  --primary-foreground: oklch(0.384 0.025 76.121);
  --secondary: oklch(0.894 0.017 169.134);
  --secondary-foreground: oklch(0.391 0.033 167.024);
  --accent: oklch(0.874 0.021 311.534);
  --accent-foreground: oklch(0.35 0.043 310.733);
  --destructive: oklch(0.662 0.18 41.172);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.89 0.013 76.583);
  --chart-1: oklch(0.89 0.013 76.583);
  --chart-2: oklch(0.894 0.017 169.134);
  --chart-3: oklch(0.874 0.021 311.534);
  --chart-4: oklch(0.915 0.013 169.255);
  --chart-5: oklch(0.891 0.015 76.569);
}