Authenticity for shadcn/ui

Authenticity is a shadcn/ui theme built around an orange primary color (#7e5b3a) with yellow accents (#7e7d3a). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#7e5b3a) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#0c0703black
#ffffffwhite
Card
#fdfaf7snow
#030303black
Card foreground
#080502black
#ffffffwhite
Popover
#fefcfbsnow
#000000black
Popover foreground
#0c0703black
#ffffffwhite
Primary
#7e5b3asienna
#7e5b3asienna
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#7e3a3bsaddlebrown
#7e3a3bsaddlebrown
Secondary foreground
#f9f1f1whitesmoke
#f9f1f1whitesmoke
Muted
#f3ededlinen
#120c0cblack
Muted foreground
#5d4b4bdarkolivegreen
#b4a2a2darkgray
Accent
#7e7d3aolivedrab
#7e7d3aolivedrab
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#82110dmaroon
#ed4b45tomato
Destructive foreground
#f9c9c7pink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#7e5b3asienna
#7e5b3asienna

Contrast

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

Light mode
Text on background19.64:1AAA
Text on card19.52:1AAA
Primary button6.12:1AA
Secondary button7.40:1AAA
Muted text7.03:1AAA
Accent4.32:1AA Large
Destructive6.98:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.12:1AA
Secondary button7.40:1AAA
Muted text7.94:1AAA
Accent4.32:1AA Large
Destructive3.69:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.993 0.003 65.936);
  --foreground: oklch(0.136 0.016 74.039);
  --muted: oklch(0.95 0.007 16.097);
  --muted-foreground: oklch(0.432 0.025 17.045);
  --popover: oklch(0.993 0.003 65.936);
  --popover-foreground: oklch(0.136 0.016 74.039);
  --card: oklch(0.986 0.005 65.905);
  --card-foreground: oklch(0.119 0.014 74.79);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.499 0.066 63.458);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.438 0.095 20.721);
  --secondary-foreground: oklch(0.964 0.008 16.123);
  --accent: oklch(0.575 0.089 108.022);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.39 0.147 28.618);
  --destructive-foreground: oklch(0.878 0.055 20.571);
  --ring: oklch(0.499 0.066 63.458);
  --chart-1: oklch(0.499 0.066 63.458);
  --chart-2: oklch(0.438 0.095 20.721);
  --chart-3: oklch(0.575 0.089 108.022);
  --chart-4: oklch(0.463 0.101 20.785);
  --chart-5: oklch(0.502 0.071 63.137);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.164 0.011 17.175);
  --muted-foreground: oklch(0.727 0.022 16.51);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.499 0.066 63.458);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.438 0.095 20.721);
  --secondary-foreground: oklch(0.964 0.008 16.123);
  --accent: oklch(0.575 0.089 108.022);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.64 0.199 26.439);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.499 0.066 63.458);
  --chart-1: oklch(0.499 0.066 63.458);
  --chart-2: oklch(0.438 0.095 20.721);
  --chart-3: oklch(0.575 0.089 108.022);
  --chart-4: oklch(0.463 0.101 20.785);
  --chart-5: oklch(0.502 0.071 63.137);
}