Genuine is a shadcn/ui theme built around a blue primary color (#6793bc) with green accents (#93bc67). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#6793bc) on a blue-tinted background (#040a10).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040a10black |
| Foreground | #060d14black | #ffffffwhite |
| Card | #fcfcfcsnow | #050d14black |
| Card foreground | #050a10black | #ffffffwhite |
| Popover | #fcfcfcsnow | #050d14black |
| Popover foreground | #050a10black | #ffffffwhite |
| Primary | #6793bccadetblue | #6793bccadetblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #bc6793palevioletred | #bc6793palevioletred |
| Secondary foreground | #000000black | #000000black |
| Muted | #f4ecf0whitesmoke | #130b0fblack |
| Muted foreground | #483740darkslategray | #c8b7c0silver |
| Accent | #93bc67darkseagreen | #93bc67darkseagreen |
| Accent foreground | #000000black | #000000black |
| Destructive | #9e1200darkred | #ff2205red |
| Destructive foreground | #ffd6d1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #6793bccadetblue | #6793bccadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.43:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 5.48:1 | AA |
| Muted text | 9.51:1 | AAA |
| Accent | 9.63:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 6.45:1 | AA |
| Secondary button | 5.48:1 | AA |
| Muted text | 10.13:1 | AAA |
| Accent | 9.63:1 | AAA |
| Destructive | 3.82: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.155 0.019 245.207);
--muted: oklch(0.949 0.011 344.568);
--muted-foreground: oklch(0.36 0.027 346.124);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.142 0.016 242.398);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.016 242.398);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.647 0.079 247.489);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.121 348.919);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.746 0.122 130.04);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.446 0.174 31.083);
--destructive-foreground: oklch(0.91 0.046 26.861);
--ring: oklch(0.647 0.079 247.489);
--chart-1: oklch(0.647 0.079 247.489);
--chart-2: oklch(0.623 0.121 348.919);
--chart-3: oklch(0.746 0.122 130.04);
--chart-4: oklch(0.649 0.112 348.394);
--chart-5: oklch(0.647 0.085 247.636);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.142 0.017 242.15);
--foreground: oklch(1 0 180);
--muted: oklch(0.164 0.017 346.715);
--muted-foreground: oklch(0.796 0.022 344.984);
--popover: oklch(0.155 0.02 244.999);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.155 0.02 244.999);
--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.647 0.079 247.489);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.623 0.121 348.919);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.746 0.122 130.04);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.637 0.249 30.591);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.647 0.079 247.489);
--chart-1: oklch(0.647 0.079 247.489);
--chart-2: oklch(0.623 0.121 348.919);
--chart-3: oklch(0.746 0.122 130.04);
--chart-4: oklch(0.649 0.112 348.394);
--chart-5: oklch(0.647 0.085 247.636);
}