Genuine for shadcn/ui

Genuine is a shadcn/ui theme built around a muted indigo primary color (#b2b1c9) with muted yellow accents (#c7c9b1). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted indigo primary (#b2b1c9) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#ffffffwhite
#020203black
Foreground
#010104black
#f5f5fawhitesmoke
Card
#ffffffwhite
#020203black
Card foreground
#010104black
#f5f5fawhitesmoke
Popover
#ffffffwhite
#020203black
Popover foreground
#010104black
#f5f5fawhitesmoke
Primary
#b2b1c9silver
#b2b1c9silver
Primary foreground
#1e1d2ablack
#1e1d2ablack
Secondary
#c7c9b1silver
#c7c9b1silver
Secondary foreground
#292a1ddarkslategray
#292a1ddarkslategray
Muted
#e7e7degainsboro
#202118black
Muted foreground
#62635adimgray
#a5a59cdarkgray
Accent
#c7c9b1silver
#c7c9b1silver
Accent foreground
#292a1ddarkslategray
#292a1ddarkslategray
Destructive
#cb1b0bfirebrick
#f44434tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#b2b1c9silver
#b2b1c9silver

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background20.84:1AAA
Text on card20.84:1AAA
Primary button7.91:1AAA
Secondary button8.58:1AAA
Muted text4.90:1AA
Accent8.58:1AAA
Destructive5.65:1AA
Dark mode
Text on background19.10:1AAA
Text on card19.10:1AAA
Primary button7.91:1AAA
Secondary button8.58:1AAA
Muted text6.57:1AA
Accent8.58:1AAA
Destructive3.66:1AA Large

CSS variables

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.074 0.018 285.597);
  --muted: oklch(0.926 0.012 109.719);
  --muted-foreground: oklch(0.496 0.015 110.023);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.074 0.018 285.597);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.074 0.018 285.597);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.769 0.034 288.637);
  --primary-foreground: oklch(0.239 0.024 287.447);
  --secondary: oklch(0.827 0.033 110.2);
  --secondary-foreground: oklch(0.28 0.022 110.93);
  --accent: oklch(0.827 0.033 110.2);
  --accent-foreground: oklch(0.28 0.022 110.93);
  --destructive: oklch(0.539 0.209 30.083);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.034 288.637);
  --chart-1: oklch(0.769 0.034 288.637);
  --chart-2: oklch(0.827 0.033 110.2);
  --chart-3: oklch(0.827 0.033 110.2);
  --chart-4: oklch(0.847 0.029 110.101);
  --chart-5: oklch(0.764 0.04 288.483);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.009 288.004);
  --foreground: oklch(0.971 0.008 289.333);
  --muted: oklch(0.242 0.016 110.71);
  --muted-foreground: oklch(0.72 0.013 109.823);
  --popover: oklch(0.084 0.009 288.004);
  --popover-foreground: oklch(0.971 0.008 289.333);
  --card: oklch(0.084 0.009 288.004);
  --card-foreground: oklch(0.971 0.008 289.333);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.769 0.034 288.637);
  --primary-foreground: oklch(0.239 0.024 287.447);
  --secondary: oklch(0.827 0.033 110.2);
  --secondary-foreground: oklch(0.28 0.022 110.93);
  --accent: oklch(0.827 0.033 110.2);
  --accent-foreground: oklch(0.28 0.022 110.93);
  --destructive: oklch(0.643 0.215 29.474);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.769 0.034 288.637);
  --chart-1: oklch(0.769 0.034 288.637);
  --chart-2: oklch(0.827 0.033 110.2);
  --chart-3: oklch(0.827 0.033 110.2);
  --chart-4: oklch(0.847 0.029 110.101);
  --chart-5: oklch(0.764 0.04 288.483);
}