Genuine is a shadcn/ui theme built around a light green primary color (#ccf5c7) with light purple accents (#f0c7f5). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#ccf5c7) on a green-tinted background (#040c03).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040c03black |
| Foreground | #030803black | #f6f9f6whitesmoke |
| Card | #ffffffwhite | #040c03black |
| Card foreground | #030803black | #f6f9f6whitesmoke |
| Popover | #ffffffwhite | #040c03black |
| Popover foreground | #030803black | #f6f9f6whitesmoke |
| Primary | #ccf5c7gainsboro | #ccf5c7gainsboro |
| Primary foreground | #081e05black | #081e05black |
| Secondary | #f0c7f5lavender | #f0c7f5lavender |
| Secondary foreground | #6a1575purple | #6a1575purple |
| Muted | #f1eef1whitesmoke | #100e11black |
| Muted foreground | #5f585fdimgray | #a6a0a7darkgray |
| Accent | #f0c7f5lavender | #f0c7f5lavender |
| Accent foreground | #6a1575purple | #6a1575purple |
| Destructive | #c23a00firebrick | #eb4600orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ccf5c7gainsboro | #ccf5c7gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 14.57:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 5.99:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 5.38:1 | AA |
| Text on background | 18.68:1 | AAA |
| Text on card | 18.68:1 | AAA |
| Primary button | 14.57:1 | AAA |
| Secondary button | 7.15:1 | AAA |
| Muted text | 7.51:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 3.88: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.122 0.02 140.572);
--muted: oklch(0.953 0.005 322.131);
--muted-foreground: oklch(0.47 0.014 322.215);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.122 0.02 140.572);
--card: oklch(1 0 180);
--card-foreground: oklch(0.122 0.02 140.572);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.929 0.075 141.833);
--primary-foreground: oklch(0.211 0.054 140.938);
--secondary: oklch(0.878 0.077 322.398);
--secondary-foreground: oklch(0.387 0.163 322.648);
--accent: oklch(0.878 0.077 322.398);
--accent-foreground: oklch(0.387 0.163 322.648);
--destructive: oklch(0.545 0.18 37.504);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.929 0.075 141.833);
--chart-1: oklch(0.929 0.075 141.833);
--chart-2: oklch(0.878 0.077 322.398);
--chart-3: oklch(0.878 0.077 322.398);
--chart-4: oklch(0.906 0.059 322.327);
--chart-5: oklch(0.931 0.078 141.822);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.026 140.42);
--foreground: oklch(0.979 0.005 142.095);
--muted: oklch(0.167 0.008 322.266);
--muted-foreground: oklch(0.712 0.013 322.174);
--popover: oklch(0.141 0.026 140.42);
--popover-foreground: oklch(0.979 0.005 142.095);
--card: oklch(0.141 0.026 140.42);
--card-foreground: oklch(0.979 0.005 142.095);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.929 0.075 141.833);
--primary-foreground: oklch(0.211 0.054 140.938);
--secondary: oklch(0.878 0.077 322.398);
--secondary-foreground: oklch(0.387 0.163 322.648);
--accent: oklch(0.878 0.077 322.398);
--accent-foreground: oklch(0.387 0.163 322.648);
--destructive: oklch(0.627 0.21 37.051);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.929 0.075 141.833);
--chart-1: oklch(0.929 0.075 141.833);
--chart-2: oklch(0.878 0.077 322.398);
--chart-3: oklch(0.878 0.077 322.398);
--chart-4: oklch(0.906 0.059 322.327);
--chart-5: oklch(0.931 0.078 141.822);
}