Authenticity is a shadcn/ui theme built around a deep green primary color (#0f1207) with deep green accents (#091207). The light mode uses a neutral background (#fbfdf7). Dark mode keeps the deep green primary (#0f1207) on a green-tinted background (#090b05).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdf7snow | #090b05black |
| Foreground | #0d1203black | #fdfdfcwhite |
| Card | #fbfdf7snow | #090b05black |
| Card foreground | #0d1203black | #fdfdfcwhite |
| Popover | #fbfdf7snow | #090b05black |
| Popover foreground | #0d1203black | #fdfdfcwhite |
| Primary | #0f1207black | #0f1207black |
| Primary foreground | #86a441olivedrab | #86a441olivedrab |
| Secondary | #121007black | #121007black |
| Secondary foreground | #a49041peru | #a49041peru |
| Muted | #e9e8e2gainsboro | #1d1c16black |
| Muted foreground | #535146darkolivegreen | #b9b7acdarkgray |
| Accent | #091207black | #091207black |
| Accent foreground | #55a441olivedrab | #55a441olivedrab |
| Destructive | #8d0b01darkred | #fd2617orangered |
| Destructive foreground | #fec6c2pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0f1207black | #0f1207black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.49:1 | AAA |
| Text on card | 18.49:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.01:1 | AA |
| Muted text | 6.49:1 | AA |
| Accent | 6.13:1 | AA |
| Destructive | 6.43:1 | AA |
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 6.65:1 | AA |
| Secondary button | 6.01:1 | AA |
| Muted text | 8.49:1 | AAA |
| Accent | 6.13:1 | AA |
| Destructive | 3.85:1 | AA Large |
Paste this into your globals.css to use Authenticity in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 120.16);
--foreground: oklch(0.171 0.033 121.911);
--muted: oklch(0.93 0.008 95.139);
--muted-foreground: oklch(0.433 0.018 95.468);
--popover: oklch(0.99 0.007 120.16);
--popover-foreground: oklch(0.171 0.033 121.911);
--card: oklch(0.99 0.007 120.16);
--card-foreground: oklch(0.171 0.033 121.911);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.176 0.022 122.017);
--primary-foreground: oklch(0.676 0.13 123.92);
--secondary: oklch(0.173 0.018 96.138);
--secondary-foreground: oklch(0.656 0.102 95.402);
--accent: oklch(0.17 0.026 139.007);
--accent-foreground: oklch(0.647 0.156 139.745);
--destructive: oklch(0.409 0.162 30.171);
--destructive-foreground: oklch(0.876 0.064 23.181);
--ring: oklch(0.176 0.022 122.017);
--chart-1: oklch(0.176 0.022 122.017);
--chart-2: oklch(0.173 0.018 96.138);
--chart-3: oklch(0.17 0.026 139.007);
--chart-4: oklch(0.216 0.025 95.772);
--chart-5: oklch(0.177 0.024 122.104);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.015 119.989);
--foreground: oklch(0.993 0.001 120.052);
--muted: oklch(0.225 0.012 95.555);
--muted-foreground: oklch(0.777 0.016 95.261);
--popover: oklch(0.143 0.015 119.989);
--popover-foreground: oklch(0.993 0.001 120.052);
--card: oklch(0.143 0.015 119.989);
--card-foreground: oklch(0.993 0.001 120.052);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.176 0.022 122.017);
--primary-foreground: oklch(0.676 0.13 123.92);
--secondary: oklch(0.173 0.018 96.138);
--secondary-foreground: oklch(0.656 0.102 95.402);
--accent: oklch(0.17 0.026 139.007);
--accent-foreground: oklch(0.647 0.156 139.745);
--destructive: oklch(0.635 0.244 29.71);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.176 0.022 122.017);
--chart-1: oklch(0.176 0.022 122.017);
--chart-2: oklch(0.173 0.018 96.138);
--chart-3: oklch(0.17 0.026 139.007);
--chart-4: oklch(0.216 0.025 95.772);
--chart-5: oklch(0.177 0.024 122.104);
}