Genuine is a shadcn/ui theme built around a muted purple primary color (#8c638a) with muted purple accents (#caafc8). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted purple primary (#8c638a) on a neutral background (#030203).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030203black |
| Foreground | #160315black | #faf4faghostwhite |
| Card | #fcfcfcsnow | #070307black |
| Card foreground | #120211black | #fcf8fcsnow |
| Popover | #ffffffwhite | #030203black |
| Popover foreground | #160315black | #faf4faghostwhite |
| Primary | #8c638agray | #8c638agray |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d3c5d2thistle | #241923black |
| Secondary foreground | #3a2c39darkslategray | #c4abc2silver |
| Muted | #f5f0f4whitesmoke | #0f0a0fblack |
| Muted foreground | #696369dimgray | #9c969cdarkgray |
| Accent | #caafc8silver | #3f273ddarkslategray |
| Accent foreground | #2b1d2adarkslategray | #d8c0d6thistle |
| Destructive | #b13610firebrick | #d74114chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c638agray | #8c638agray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.84:1 | AAA |
| Text on card | 19.71:1 | AAA |
| Primary button | 4.89:1 | AA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 5.19:1 | AA |
| Accent | 8.01:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 4.89:1 | AA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 6.76:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.51:1 | AA |
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.15 0.051 330.224);
--muted: oklch(0.96 0.007 327.622);
--muted-foreground: oklch(0.507 0.012 327.77);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.15 0.051 330.224);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.136 0.045 329.993);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.557 0.075 328.795);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.839 0.024 327.824);
--secondary-foreground: oklch(0.314 0.031 328.461);
--accent: oklch(0.786 0.045 328.098);
--accent-foreground: oklch(0.252 0.032 328.728);
--destructive: oklch(0.513 0.166 35.881);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.557 0.075 328.795);
--chart-1: oklch(0.557 0.075 328.795);
--chart-2: oklch(0.839 0.024 327.824);
--chart-3: oklch(0.786 0.045 328.098);
--chart-4: oklch(0.863 0.02 327.775);
--chart-5: oklch(0.556 0.088 328.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.088 0.012 328.424);
--foreground: oklch(0.974 0.01 327.643);
--muted: oklch(0.155 0.012 328.266);
--muted-foreground: oklch(0.68 0.011 327.702);
--popover: oklch(0.088 0.012 328.424);
--popover-foreground: oklch(0.974 0.01 327.643);
--card: oklch(0.111 0.015 328.424);
--card-foreground: oklch(0.983 0.006 327.61);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.557 0.075 328.795);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.232 0.024 328.515);
--secondary-foreground: oklch(0.771 0.042 328.065);
--accent: oklch(0.312 0.05 329.009);
--accent-foreground: oklch(0.835 0.04 328.001);
--destructive: oklch(0.589 0.193 35.7);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.557 0.075 328.795);
--chart-1: oklch(0.557 0.075 328.795);
--chart-2: oklch(0.232 0.024 328.515);
--chart-3: oklch(0.312 0.05 329.009);
--chart-4: oklch(0.263 0.029 328.578);
--chart-5: oklch(0.556 0.088 328.999);
}