Authentic for shadcn/ui

Authentic is a shadcn/ui theme built around a deep yellow primary color (#332c0f) with muted light yellow accents (#e0ded7). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the deep yellow primary (#332c0f) on a neutral background (#070603).

Color palette

TokenLightDark
Background
#fdfdfcwhite
#070603black
Foreground
#040401black
#fdfdfbsnow
Card
#fdfdfcwhite
#070603black
Card foreground
#040401black
#fdfdfbsnow
Popover
#fdfdfcwhite
#070603black
Popover foreground
#040401black
#fdfdfbsnow
Primary
#332c0fblack
#332c0fblack
Primary foreground
#c8b046darkkhaki
#c8b046darkkhaki
Secondary
#eae9e6linen
#302f2cdarkslategray
Secondary foreground
#55534adarkolivegreen
#c9c8c5silver
Muted
#f1eedfbeige
#201c0eblack
Muted foreground
#696554dimgray
#aba796darkgray
Accent
#e0ded7gainsboro
#4c4a3ddarkslategray
Accent foreground
#4b483adarkslategray
#e1e0dagainsboro
Destructive
#7b260asaddlebrown
#ed5421chocolate
Destructive foreground
#faccbdpeachpuff
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#332c0fblack
#332c0fblack

Contrast

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

Light mode
Text on background20.17:1AAA
Text on card20.17:1AAA
Primary button6.43:1AA
Secondary button6.35:1AA
Muted text5.00:1AA
Accent6.82:1AA
Destructive6.80:1AA
Dark mode
Text on background19.85:1AAA
Text on card19.85:1AAA
Primary button6.43:1AA
Secondary button8.00:1AAA
Muted text7.03:1AAA
Accent6.75:1AA
Destructive3.56:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.002 96.189);
  --foreground: oklch(0.103 0.016 101.162);
  --muted: oklch(0.946 0.019 96.412);
  --muted-foreground: oklch(0.505 0.026 96.738);
  --popover: oklch(0.994 0.002 96.189);
  --popover-foreground: oklch(0.103 0.016 101.162);
  --card: oklch(0.994 0.002 96.189);
  --card-foreground: oklch(0.103 0.016 101.162);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.295 0.046 96.788);
  --primary-foreground: oklch(0.758 0.127 96.547);
  --secondary: oklch(0.934 0.004 96.214);
  --secondary-foreground: oklch(0.44 0.015 96.556);
  --accent: oklch(0.901 0.01 96.308);
  --accent-foreground: oklch(0.399 0.023 96.787);
  --destructive: oklch(0.396 0.123 37.058);
  --destructive-foreground: oklch(0.881 0.056 39.256);
  --ring: oklch(0.295 0.046 96.788);
  --chart-1: oklch(0.295 0.046 96.788);
  --chart-2: oklch(0.934 0.004 96.214);
  --chart-3: oklch(0.901 0.01 96.308);
  --chart-4: oklch(0.956 0.002 96.197);
  --chart-5: oklch(0.298 0.048 96.703);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.011 99.234);
  --foreground: oklch(0.994 0.002 96.192);
  --muted: oklch(0.228 0.026 97.056);
  --muted-foreground: oklch(0.727 0.024 96.555);
  --popover: oklch(0.124 0.011 99.234);
  --popover-foreground: oklch(0.994 0.002 96.192);
  --card: oklch(0.124 0.011 99.234);
  --card-foreground: oklch(0.994 0.002 96.192);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.295 0.046 96.788);
  --primary-foreground: oklch(0.758 0.127 96.547);
  --secondary: oklch(0.305 0.005 96.381);
  --secondary-foreground: oklch(0.833 0.005 96.243);
  --accent: oklch(0.407 0.02 96.718);
  --accent-foreground: oklch(0.907 0.008 96.278);
  --destructive: oklch(0.647 0.198 37.27);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.295 0.046 96.788);
  --chart-1: oklch(0.295 0.046 96.788);
  --chart-2: oklch(0.305 0.005 96.381);
  --chart-3: oklch(0.407 0.02 96.718);
  --chart-4: oklch(0.336 0.006 96.387);
  --chart-5: oklch(0.298 0.048 96.703);
}