Genuine is a shadcn/ui theme built around a muted indigo primary color (#b2b1c9) with muted yellow accents (#c7c9b1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#b2b1c9) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020203black |
| Foreground | #010104black | #f5f5fawhitesmoke |
| Card | #ffffffwhite | #020203black |
| Card foreground | #010104black | #f5f5fawhitesmoke |
| Popover | #ffffffwhite | #020203black |
| Popover foreground | #010104black | #f5f5fawhitesmoke |
| Primary | #b2b1c9silver | #b2b1c9silver |
| Primary foreground | #1e1d2ablack | #1e1d2ablack |
| Secondary | #c7c9b1silver | #c7c9b1silver |
| Secondary foreground | #292a1ddarkslategray | #292a1ddarkslategray |
| Muted | #e7e7degainsboro | #202118black |
| Muted foreground | #62635adimgray | #a5a59cdarkgray |
| Accent | #c7c9b1silver | #c7c9b1silver |
| Accent foreground | #292a1ddarkslategray | #292a1ddarkslategray |
| Destructive | #cb1b0bfirebrick | #f44434tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b2b1c9silver | #b2b1c9silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.84:1 | AAA |
| Text on card | 20.84:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.58:1 | AAA |
| Muted text | 4.90:1 | AA |
| Accent | 8.58:1 | AAA |
| Destructive | 5.65:1 | AA |
| Text on background | 19.10:1 | AAA |
| Text on card | 19.10:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 8.58:1 | AAA |
| Muted text | 6.57:1 | AA |
| Accent | 8.58:1 | AAA |
| Destructive | 3.66: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.074 0.018 285.597);
--muted: oklch(0.926 0.012 109.719);
--muted-foreground: oklch(0.496 0.015 110.023);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.074 0.018 285.597);
--card: oklch(1 0 180);
--card-foreground: oklch(0.074 0.018 285.597);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.769 0.034 288.637);
--primary-foreground: oklch(0.239 0.024 287.447);
--secondary: oklch(0.827 0.033 110.2);
--secondary-foreground: oklch(0.28 0.022 110.93);
--accent: oklch(0.827 0.033 110.2);
--accent-foreground: oklch(0.28 0.022 110.93);
--destructive: oklch(0.539 0.209 30.083);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.034 288.637);
--chart-1: oklch(0.769 0.034 288.637);
--chart-2: oklch(0.827 0.033 110.2);
--chart-3: oklch(0.827 0.033 110.2);
--chart-4: oklch(0.847 0.029 110.101);
--chart-5: oklch(0.764 0.04 288.483);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 288.004);
--foreground: oklch(0.971 0.008 289.333);
--muted: oklch(0.242 0.016 110.71);
--muted-foreground: oklch(0.72 0.013 109.823);
--popover: oklch(0.084 0.009 288.004);
--popover-foreground: oklch(0.971 0.008 289.333);
--card: oklch(0.084 0.009 288.004);
--card-foreground: oklch(0.971 0.008 289.333);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.769 0.034 288.637);
--primary-foreground: oklch(0.239 0.024 287.447);
--secondary: oklch(0.827 0.033 110.2);
--secondary-foreground: oklch(0.28 0.022 110.93);
--accent: oklch(0.827 0.033 110.2);
--accent-foreground: oklch(0.28 0.022 110.93);
--destructive: oklch(0.643 0.215 29.474);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.769 0.034 288.637);
--chart-1: oklch(0.769 0.034 288.637);
--chart-2: oklch(0.827 0.033 110.2);
--chart-3: oklch(0.827 0.033 110.2);
--chart-4: oklch(0.847 0.029 110.101);
--chart-5: oklch(0.764 0.04 288.483);
}