Long for shadcn/ui

Long is a shadcn/ui theme built around an orange primary color (#835934) with muted light orange accents (#d8d3d0). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#835934) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#130c06black
#fdfcfcsnow
Card
#fefcfbsnow
#000000black
Card foreground
#130c06black
#fdfcfcsnow
Popover
#fefcfbsnow
#000000black
Popover foreground
#130c06black
#fdfcfcsnow
Primary
#835934sienna
#835934sienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#e1e0e0gainsboro
#2e2b29darkslategray
Secondary foreground
#494746darkslategray
#c7c4c1silver
Muted
#ede0d4antiquewhite
#2b1e12black
Muted foreground
#4d443ddarkslategray
#c2bab2silver
Accent
#d8d3d0lightgrey
#4c4239darkslategray
Accent foreground
#403a35darkslategray
#e0dbd6gainsboro
Destructive
#a5270dfirebrick
#ed4321orangered
Destructive foreground
#fdebe7linen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#835934sienna
#835934sienna

Contrast

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

Light mode
Text on background18.99:1AAA
Text on card18.99:1AAA
Primary button6.07:1AA
Secondary button7.02:1AAA
Muted text7.31:1AAA
Accent7.55:1AAA
Destructive6.29:1AA
Dark mode
Text on background20.50:1AAA
Text on card20.50:1AAA
Primary button6.07:1AA
Secondary button8.09:1AAA
Muted text8.46:1AAA
Accent7.15:1AAA
Destructive3.86:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.002 64.066);
  --foreground: oklch(0.163 0.018 64.69);
  --muted: oklch(0.913 0.021 63.792);
  --muted-foreground: oklch(0.394 0.018 63.493);
  --popover: oklch(0.993 0.002 64.066);
  --popover-foreground: oklch(0.163 0.018 64.69);
  --card: oklch(0.993 0.002 64.066);
  --card-foreground: oklch(0.163 0.018 64.69);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.502 0.076 60.918);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.908 0.001 64.075);
  --secondary-foreground: oklch(0.4 0.003 63.994);
  --accent: oklch(0.87 0.007 63.991);
  --accent-foreground: oklch(0.354 0.011 63.664);
  --destructive: oklch(0.475 0.166 32.763);
  --destructive-foreground: oklch(0.954 0.02 31.094);
  --ring: oklch(0.502 0.076 60.918);
  --chart-1: oklch(0.502 0.076 60.918);
  --chart-2: oklch(0.908 0.001 64.075);
  --chart-3: oklch(0.87 0.007 63.991);
  --chart-4: oklch(0.931 0.001 64.079);
  --chart-5: oklch(0.504 0.081 60.556);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 64.078);
  --muted: oklch(0.247 0.029 62.081);
  --muted-foreground: oklch(0.793 0.015 63.852);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 64.078);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.993 0.001 64.078);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.502 0.076 60.918);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.292 0.005 63.872);
  --secondary-foreground: oklch(0.823 0.005 64.01);
  --accent: oklch(0.385 0.02 63.389);
  --accent-foreground: oklch(0.894 0.009 63.967);
  --destructive: oklch(0.629 0.211 33.009);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.502 0.076 60.918);
  --chart-1: oklch(0.502 0.076 60.918);
  --chart-2: oklch(0.292 0.005 63.872);
  --chart-3: oklch(0.385 0.02 63.389);
  --chart-4: oklch(0.322 0.006 63.864);
  --chart-5: oklch(0.504 0.081 60.556);
}