Genuine is a shadcn/ui theme built around a near-white primary color (#fdfdfb) with muted light yellow accents (#dadbcc). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#fdfdfb) on a yellow-tinted background (#0a0a05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0a05black |
| Foreground | #040401black | #fdfdfcwhite |
| Card | #ffffffwhite | #0a0a05black |
| Card foreground | #040401black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0a0a05black |
| Popover foreground | #040401black | #fdfdfcwhite |
| Primary | #fdfdfbsnow | #fdfdfbsnow |
| Primary foreground | #40431edarkolivegreen | #40431edarkolivegreen |
| Secondary | #e3e4ddgainsboro | #383928darkslategray |
| Secondary foreground | #4e4f40darkolivegreen | #d2d3c0lightgrey |
| Muted | #f5f6ealinen | #151509black |
| Muted foreground | #676765dimgray | #9a9a98darkgray |
| Accent | #dadbcclightgrey | #565837darkolivegreen |
| Accent foreground | #444530darkslategray | #ffffffwhite |
| Destructive | #691802maroon | #fa4e1eorangered |
| Destructive foreground | #fdb4a0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fdfdfbsnow | #fdfdfbsnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.52:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 10.14:1 | AAA |
| Secondary button | 6.51:1 | AA |
| Muted text | 5.18:1 | AA |
| Accent | 7.03:1 | AAA |
| Destructive | 7.03:1 | AAA |
| Text on background | 19.47:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 10.14:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 6.50:1 | AA |
| Accent | 7.40:1 | AAA |
| Destructive | 3.39:1 | AA Large |
Paste this into your globals.css to use Genuine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.107 0.019 111.513);
--muted: oklch(0.969 0.016 109.788);
--muted-foreground: oklch(0.513 0.003 109.593);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.107 0.019 111.513);
--card: oklch(1 0 180);
--card-foreground: oklch(0.107 0.019 111.513);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.995 0.003 109.526);
--primary-foreground: oklch(0.371 0.056 112.216);
--secondary: oklch(0.916 0.009 109.662);
--secondary-foreground: oklch(0.423 0.025 110.56);
--accent: oklch(0.888 0.021 109.916);
--accent-foreground: oklch(0.384 0.034 111.079);
--destructive: oklch(0.346 0.118 35.328);
--destructive-foreground: oklch(0.834 0.09 36.079);
--ring: oklch(0.995 0.003 109.526);
--chart-1: oklch(0.995 0.003 109.526);
--chart-2: oklch(0.916 0.009 109.662);
--chart-3: oklch(0.888 0.021 109.916);
--chart-4: oklch(0.937 0.007 109.612);
--chart-5: oklch(0.995 0.003 109.53);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.143 0.013 110.569);
--foreground: oklch(0.994 0.002 109.52);
--muted: oklch(0.193 0.023 111.61);
--muted-foreground: oklch(0.686 0.003 109.558);
--popover: oklch(0.143 0.013 110.569);
--popover-foreground: oklch(0.994 0.002 109.52);
--card: oklch(0.143 0.013 110.569);
--card-foreground: oklch(0.994 0.002 109.52);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.995 0.003 109.526);
--primary-foreground: oklch(0.371 0.056 112.216);
--secondary: oklch(0.339 0.029 111.027);
--secondary-foreground: oklch(0.861 0.026 110.037);
--accent: oklch(0.449 0.05 111.482);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.662 0.216 35.14);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.995 0.003 109.526);
--chart-1: oklch(0.995 0.003 109.526);
--chart-2: oklch(0.339 0.029 111.027);
--chart-3: oklch(0.449 0.05 111.482);
--chart-4: oklch(0.372 0.033 111.068);
--chart-5: oklch(0.995 0.003 109.53);
}