Authentic for shadcn/ui

Authentic is a shadcn/ui theme built around a near-white primary color (#e9e7e8) with near-white accents (#e9e7e7). The light mode uses a neutral background (#fefbfd). Dark mode keeps the near-white primary (#e9e7e8) on a pink-tinted background (#0e060b).

Color palette

TokenLightDark
Background
#fefbfdsnow
#0e060bblack
Foreground
#080206black
#faf5f8whitesmoke
Card
#fdf7fbsnow
#12080eblack
Card foreground
#040103black
#fcf8fasnow
Popover
#fefbfdsnow
#0e060bblack
Popover foreground
#080206black
#faf5f8whitesmoke
Primary
#e9e7e8lavender
#e9e7e8lavender
Primary foreground
#544a50darkslategray
#544a50darkslategray
Secondary
#e9e7e9lavender
#e9e7e9lavender
Secondary foreground
#534a54darkslategray
#534a54darkslategray
Muted
#e7dee8gainsboro
#201721black
Muted foreground
#464346darkslategray
#bbb9bcsilver
Accent
#e9e7e7linen
#e9e7e7linen
Accent foreground
#544a4bdarkslategray
#544a4bdarkslategray
Destructive
#dd0303red
#f60404red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#e9e7e8lavender
#e9e7e8lavender

Contrast

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

Light mode
Text on background19.98:1AAA
Text on card19.63:1AAA
Primary button6.89:1AA
Secondary button6.88:1AA
Muted text7.44:1AAA
Accent6.92:1AA
Destructive5.13:1AA
Dark mode
Text on background18.54:1AAA
Text on card18.72:1AAA
Primary button6.89:1AA
Secondary button6.88:1AA
Muted text8.92:1AAA
Accent6.92:1AA
Destructive4.24: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.991 0.004 339.56);
  --foreground: oklch(0.106 0.024 339.7);
  --muted: oklch(0.911 0.016 322.171);
  --muted-foreground: oklch(0.388 0.006 322.162);
  --popover: oklch(0.991 0.004 339.56);
  --popover-foreground: oklch(0.106 0.024 339.7);
  --card: oklch(0.981 0.008 339.652);
  --card-foreground: oklch(0.084 0.019 339.7);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.93 0.004 339.557);
  --primary-foreground: oklch(0.422 0.016 340.272);
  --secondary: oklch(0.93 0.004 322.129);
  --secondary-foreground: oklch(0.422 0.019 322.263);
  --accent: oklch(0.929 0.003 8.987);
  --accent-foreground: oklch(0.42 0.013 9.631);
  --destructive: oklch(0.565 0.23 29.118);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.004 339.557);
  --chart-1: oklch(0.93 0.004 339.557);
  --chart-2: oklch(0.93 0.004 322.129);
  --chart-3: oklch(0.929 0.003 8.987);
  --chart-4: oklch(0.953 0.003 322.124);
  --chart-5: oklch(0.929 0.006 339.602);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.019 341.106);
  --foreground: oklch(0.974 0.007 339.622);
  --muted: oklch(0.22 0.022 322.439);
  --muted-foreground: oklch(0.788 0.005 322.133);
  --popover: oklch(0.139 0.019 341.106);
  --popover-foreground: oklch(0.974 0.007 339.622);
  --card: oklch(0.151 0.022 342.157);
  --card-foreground: oklch(0.983 0.004 339.57);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.93 0.004 339.557);
  --primary-foreground: oklch(0.422 0.016 340.272);
  --secondary: oklch(0.93 0.004 322.129);
  --secondary-foreground: oklch(0.422 0.019 322.263);
  --accent: oklch(0.929 0.003 8.987);
  --accent-foreground: oklch(0.42 0.013 9.631);
  --destructive: oklch(0.612 0.25 29.133);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.93 0.004 339.557);
  --chart-1: oklch(0.93 0.004 339.557);
  --chart-2: oklch(0.93 0.004 322.129);
  --chart-3: oklch(0.929 0.003 8.987);
  --chart-4: oklch(0.953 0.003 322.124);
  --chart-5: oklch(0.929 0.006 339.602);
}