Genuine is a shadcn/ui theme built around a light violet primary color (#edeaf6) with light green accents (#f2f6ea). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#edeaf6) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #020203black |
| Foreground | #06030cblack | #fcfcfdwhite |
| Card | #f9f8fcghostwhite | #040307black |
| Card foreground | #040208black | #ffffffwhite |
| Popover | #f9f8fcghostwhite | #040307black |
| Popover foreground | #040208black | #ffffffwhite |
| Primary | #edeaf6lavender | #edeaf6lavender |
| Primary foreground | #473678darkslateblue | #473678darkslateblue |
| Secondary | #f2f6ealinen | #f2f6ealinen |
| Secondary foreground | #2a3116darkslategray | #2a3116darkslategray |
| Muted | #e4e5e1gainsboro | #1d1e1ablack |
| Muted foreground | #5b604ddarkolivegreen | #adb29fdarkgray |
| Accent | #f2f6ealinen | #f2f6ealinen |
| Accent foreground | #2a3116darkslategray | #2a3116darkslategray |
| Destructive | #7a0101maroon | #fe1010red |
| Destructive foreground | #ffaeaelightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #edeaf6lavender | #edeaf6lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.88:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 8.55:1 | AAA |
| Secondary button | 12.32:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 12.32:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.24:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 8.55:1 | AAA |
| Secondary button | 12.32:1 | AAA |
| Muted text | 7.71:1 | AAA |
| Accent | 12.32:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Genuine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 298.513);
--foreground: oklch(0.113 0.025 298.224);
--muted: oklch(0.919 0.005 118.654);
--muted-foreground: oklch(0.48 0.03 119.679);
--popover: oklch(0.98 0.006 298.459);
--popover-foreground: oklch(0.098 0.022 298.419);
--card: oklch(0.98 0.006 298.459);
--card-foreground: oklch(0.098 0.022 298.419);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.942 0.016 298.272);
--primary-foreground: oklch(0.386 0.108 292.922);
--secondary: oklch(0.966 0.016 118.85);
--secondary-foreground: oklch(0.3 0.046 121.467);
--accent: oklch(0.966 0.016 118.85);
--accent-foreground: oklch(0.3 0.046 121.467);
--destructive: oklch(0.364 0.149 29.155);
--destructive-foreground: oklch(0.828 0.095 19.29);
--ring: oklch(0.942 0.016 298.272);
--chart-1: oklch(0.942 0.016 298.272);
--chart-2: oklch(0.966 0.016 118.85);
--chart-3: oklch(0.966 0.016 118.85);
--chart-4: oklch(0.983 0.008 118.705);
--chart-5: oklch(0.942 0.017 298.249);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.01 298.491);
--foreground: oklch(0.991 0.002 298.526);
--muted: oklch(0.232 0.006 119.055);
--muted-foreground: oklch(0.754 0.027 119.2);
--popover: oklch(0.106 0.012 298.491);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.106 0.012 298.491);
--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.942 0.016 298.272);
--primary-foreground: oklch(0.386 0.108 292.922);
--secondary: oklch(0.966 0.016 118.85);
--secondary-foreground: oklch(0.3 0.046 121.467);
--accent: oklch(0.966 0.016 118.85);
--accent-foreground: oklch(0.3 0.046 121.467);
--destructive: oklch(0.629 0.253 28.799);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.942 0.016 298.272);
--chart-1: oklch(0.942 0.016 298.272);
--chart-2: oklch(0.966 0.016 118.85);
--chart-3: oklch(0.966 0.016 118.85);
--chart-4: oklch(0.983 0.008 118.705);
--chart-5: oklch(0.942 0.017 298.249);
}