Lipid for shadcn/ui

Lipid is a shadcn/ui theme built around an orange primary color (#b88e61) with muted light orange accents (#d7ccc1). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#b88e61) on a neutral background (#080502).

Color palette

TokenLightDark
Background
#fefcfbsnow
#080502black
Foreground
#080502black
#fdfcfcsnow
Card
#fefcfbsnow
#080502black
Card foreground
#080502black
#fdfcfcsnow
Popover
#fefcfbsnow
#080502black
Popover foreground
#080502black
#fdfcfcsnow
Primary
#b88e61peru
#b88e61peru
Primary foreground
#000000black
#000000black
Secondary
#ded9d4gainsboro
#181716black
Secondary foreground
#484037darkslategray
#b5b0abdarkgray
Muted
#efebe6linen
#191510black
Muted foreground
#554f49darkolivegreen
#b6b0aadarkgray
Accent
#d7ccc1lightgrey
#312c25darkslategray
Accent foreground
#3e3328darkslategray
#cdc5bcsilver
Destructive
#92240csaddlebrown
#ec3b13orangered
Destructive foreground
#fcdcd5mistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b88e61peru
#b88e61peru

Contrast

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

Light mode
Text on background19.92:1AAA
Text on card19.92:1AAA
Primary button7.05:1AAA
Secondary button7.24:1AAA
Muted text6.79:1AA
Accent7.79:1AAA
Destructive6.56:1AA
Dark mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button7.05:1AAA
Secondary button8.32:1AAA
Muted text8.47:1AAA
Accent8.13:1AAA
Destructive4.04:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 69.632);
  --foreground: oklch(0.119 0.012 77.031);
  --muted: oklch(0.942 0.009 69.561);
  --muted-foreground: oklch(0.432 0.013 69.323);
  --popover: oklch(0.993 0.002 69.632);
  --popover-foreground: oklch(0.119 0.012 77.031);
  --card: oklch(0.993 0.002 69.632);
  --card-foreground: oklch(0.119 0.012 77.031);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.675 0.079 67.675);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.887 0.009 69.552);
  --secondary-foreground: oklch(0.377 0.018 69.106);
  --accent: oklch(0.852 0.019 69.42);
  --accent-foreground: oklch(0.33 0.024 68.724);
  --destructive: oklch(0.438 0.149 33.526);
  --destructive-foreground: oklch(0.918 0.037 32.723);
  --ring: oklch(0.675 0.079 67.675);
  --chart-1: oklch(0.675 0.079 67.675);
  --chart-2: oklch(0.887 0.009 69.552);
  --chart-3: oklch(0.852 0.019 69.42);
  --chart-4: oklch(0.91 0.007 69.575);
  --chart-5: oklch(0.679 0.085 67.427);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.119 0.013 77.171);
  --foreground: oklch(0.993 0.001 69.637);
  --muted: oklch(0.198 0.012 68.881);
  --muted-foreground: oklch(0.761 0.012 69.497);
  --popover: oklch(0.119 0.013 77.171);
  --popover-foreground: oklch(0.993 0.001 69.637);
  --card: oklch(0.119 0.013 77.171);
  --card-foreground: oklch(0.993 0.001 69.637);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.675 0.079 67.675);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.206 0.003 69.478);
  --secondary-foreground: oklch(0.76 0.009 69.536);
  --accent: oklch(0.296 0.014 69.111);
  --accent-foreground: oklch(0.826 0.015 69.469);
  --destructive: oklch(0.619 0.218 33.206);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.675 0.079 67.675);
  --chart-1: oklch(0.675 0.079 67.675);
  --chart-2: oklch(0.206 0.003 69.478);
  --chart-3: oklch(0.296 0.014 69.111);
  --chart-4: oklch(0.239 0.004 69.459);
  --chart-5: oklch(0.679 0.085 67.427);
}