Authentic is a shadcn/ui theme built around a light blue primary color (#d5e0f1) with light indigo accents (#d8d5f1). The light mode uses a neutral background (#fbfcfe). Dark mode keeps the light blue primary (#d5e0f1) on a blue-tinted background (#06090f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfcfewhite | #06090fblack |
| Foreground | #020508black | #ffffffwhite |
| Card | #f8f9fcghostwhite | #070c12black |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #fbfcfewhite | #06090fblack |
| Popover foreground | #020508black | #ffffffwhite |
| Primary | #d5e0f1lavender | #d5e0f1lavender |
| Primary foreground | #244270darkslategray | #244270darkslategray |
| Secondary | #d5eef1lavender | #d5eef1lavender |
| Secondary foreground | #0b2023black | #0b2023black |
| Muted | #e1e4e5gainsboro | #1a1d1eblack |
| Muted foreground | #58686adimgray | #95a5a7darkgray |
| Accent | #d8d5f1gainsboro | #d8d5f1gainsboro |
| Accent foreground | #2c2470midnightblue | #2c2470midnightblue |
| Destructive | #650301maroon | #fd2521crimson |
| Destructive foreground | #fe9c9alightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d5e0f1lavender | #d5e0f1lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 13.94:1 | AAA |
| Muted text | 4.57:1 | AA |
| Accent | 9.20:1 | AAA |
| Destructive | 6.66:1 | AA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 7.54:1 | AAA |
| Secondary button | 13.94:1 | AAA |
| Muted text | 6.61:1 | AA |
| Accent | 9.20:1 | AAA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Authentic in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 258.318);
--foreground: oklch(0.109 0.014 249.814);
--muted: oklch(0.918 0.003 204.962);
--muted-foreground: oklch(0.504 0.019 204.754);
--popover: oklch(0.991 0.002 258.318);
--popover-foreground: oklch(0.109 0.014 249.814);
--card: oklch(0.983 0.004 258.323);
--card-foreground: oklch(0.086 0.011 249.814);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.904 0.027 258.365);
--primary-foreground: oklch(0.381 0.086 258.325);
--secondary: oklch(0.932 0.027 204.796);
--secondary-foreground: oklch(0.229 0.027 204.994);
--accent: oklch(0.883 0.039 290.163);
--accent-foreground: oklch(0.321 0.125 281.223);
--destructive: oklch(0.32 0.129 29.432);
--destructive-foreground: oklch(0.792 0.118 21.102);
--ring: oklch(0.904 0.027 258.365);
--chart-1: oklch(0.904 0.027 258.365);
--chart-2: oklch(0.932 0.027 204.796);
--chart-3: oklch(0.883 0.039 290.163);
--chart-4: oklch(0.951 0.02 204.843);
--chart-5: oklch(0.903 0.028 258.366);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.014 254.554);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.005 204.849);
--muted-foreground: oklch(0.71 0.018 204.818);
--popover: oklch(0.14 0.014 254.554);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.151 0.016 257.111);
--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.904 0.027 258.365);
--primary-foreground: oklch(0.381 0.086 258.325);
--secondary: oklch(0.932 0.027 204.796);
--secondary-foreground: oklch(0.229 0.027 204.994);
--accent: oklch(0.883 0.039 290.163);
--accent-foreground: oklch(0.321 0.125 281.223);
--destructive: oklch(0.635 0.244 28.389);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.904 0.027 258.365);
--chart-1: oklch(0.904 0.027 258.365);
--chart-2: oklch(0.932 0.027 204.796);
--chart-3: oklch(0.883 0.039 290.163);
--chart-4: oklch(0.951 0.02 204.843);
--chart-5: oklch(0.903 0.028 258.366);
}