Genuine is a shadcn/ui theme built around a neutral gray primary color (#363034) with neutral gray accents (#303632). The light mode uses a neutral background (#fbf8fa). Dark mode keeps the neutral gray primary (#363034) on a neutral background (#040103).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf8fasnow | #040103black |
| Foreground | #11040cblack | #f8f6f8whitesmoke |
| Card | #faf5f8whitesmoke | #070306black |
| Card foreground | #0c0309black | #fbf9fasnow |
| Popover | #faf5f8whitesmoke | #070306black |
| Popover foreground | #0c0309black | #fbf9fasnow |
| Primary | #363034darkslategray | #363034darkslategray |
| Primary foreground | #cfc9cdlightgrey | #cfc9cdlightgrey |
| Secondary | #303632darkslategray | #303632darkslategray |
| Secondary foreground | #c9cfcblightgrey | #c9cfcblightgrey |
| Muted | #eff6f1whitesmoke | #09100cblack |
| Muted foreground | #5e6460dimgray | #9ba19ddarkgray |
| Accent | #303632darkslategray | #303632darkslategray |
| Accent foreground | #c9cfcblightgrey | #c9cfcblightgrey |
| Destructive | #bd4c14chocolate | #d05416chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #363034darkslategray | #363034darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.08:1 | AAA |
| Text on card | 18.85:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 5.50:1 | AA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.97:1 | AA |
| Text on background | 19.29:1 | AAA |
| Text on card | 19.55:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 7.80:1 | AAA |
| Muted text | 7.30:1 | AAA |
| Accent | 7.80:1 | AAA |
| Destructive | 4.24:1 | AA Large |
Paste this into your globals.css to use Genuine in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.004 338.809);
--foreground: oklch(0.135 0.032 341.138);
--muted: oklch(0.966 0.009 158.511);
--muted-foreground: oklch(0.496 0.009 158.312);
--popover: oklch(0.975 0.006 338.856);
--popover-foreground: oklch(0.121 0.028 339.458);
--card: oklch(0.975 0.006 338.856);
--card-foreground: oklch(0.121 0.028 339.458);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.317 0.011 339.447);
--primary-foreground: oklch(0.842 0.009 338.937);
--secondary: oklch(0.326 0.011 157.986);
--secondary-foreground: oklch(0.849 0.009 158.501);
--accent: oklch(0.326 0.011 157.986);
--accent-foreground: oklch(0.849 0.009 158.501);
--destructive: oklch(0.56 0.158 42.342);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.317 0.011 339.447);
--chart-1: oklch(0.317 0.011 339.447);
--chart-2: oklch(0.326 0.011 157.986);
--chart-3: oklch(0.326 0.011 157.986);
--chart-4: oklch(0.356 0.012 157.965);
--chart-5: oklch(0.315 0.017 339.808);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.013 338.917);
--foreground: oklch(0.976 0.002 338.774);
--muted: oklch(0.165 0.014 156.754);
--muted-foreground: oklch(0.703 0.008 158.457);
--popover: oklch(0.109 0.016 338.917);
--popover-foreground: oklch(0.984 0.002 338.755);
--card: oklch(0.109 0.016 338.917);
--card-foreground: oklch(0.984 0.002 338.755);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.317 0.011 339.447);
--primary-foreground: oklch(0.842 0.009 338.937);
--secondary: oklch(0.326 0.011 157.986);
--secondary-foreground: oklch(0.849 0.009 158.501);
--accent: oklch(0.326 0.011 157.986);
--accent-foreground: oklch(0.849 0.009 158.501);
--destructive: oklch(0.6 0.171 42.202);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.317 0.011 339.447);
--chart-1: oklch(0.317 0.011 339.447);
--chart-2: oklch(0.326 0.011 157.986);
--chart-3: oklch(0.326 0.011 157.986);
--chart-4: oklch(0.356 0.012 157.965);
--chart-5: oklch(0.315 0.017 339.808);
}