Genuine for shadcn/ui

Genuine is a shadcn/ui theme built around a neutral gray primary color (#bbb9c0) with muted light violet accents (#cecad8). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the neutral gray primary (#bbb9c0) on a neutral background (#020104).

Color palette

TokenLightDark
Background
#fcfbfewhite
#020104black
Foreground
#0a0614black
#ffffffwhite
Card
#f9f8fcghostwhite
#040208black
Card foreground
#080510black
#ffffffwhite
Popover
#f9f8fcghostwhite
#040208black
Popover foreground
#080510black
#ffffffwhite
Primary
#bbb9c0silver
#bbb9c0silver
Primary foreground
#232225black
#232225black
Secondary
#e0dee3gainsboro
#2d2c30darkslategray
Secondary foreground
#45424ddarkslategray
#c6c4casilver
Muted
#dddbe1gainsboro
#201e24black
Muted foreground
#403c48darkslategray
#bbb7c3silver
Accent
#cecad8lightgrey
#3d3748darkslategray
Accent foreground
#352f41darkslategray
#d7d4degainsboro
Destructive
#b91313firebrick
#ea3434crimson
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#bbb9c0silver
#bbb9c0silver

Contrast

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

Light mode
Text on background19.44:1AAA
Text on card19.05:1AAA
Primary button8.18:1AAA
Secondary button7.34:1AAA
Muted text7.78:1AAA
Accent7.98:1AAA
Destructive6.64:1AA
Dark mode
Text on background20.79:1AAA
Text on card20.59:1AAA
Primary button8.18:1AAA
Secondary button8.05:1AAA
Muted text8.39:1AAA
Accent7.78:1AAA
Destructive4.17:1AA Large

CSS variables

Paste this into your globals.css to use Genuine in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 300.714);
  --foreground: oklch(0.137 0.031 298.193);
  --muted: oklch(0.894 0.009 300.597);
  --muted-foreground: oklch(0.366 0.021 299.826);
  --popover: oklch(0.98 0.007 300.658);
  --popover-foreground: oklch(0.127 0.027 299.775);
  --card: oklch(0.98 0.007 300.658);
  --card-foreground: oklch(0.127 0.027 299.775);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.791 0.01 300.569);
  --primary-foreground: oklch(0.254 0.007 300.326);
  --secondary: oklch(0.903 0.007 300.644);
  --secondary-foreground: oklch(0.386 0.02 299.925);
  --accent: oklch(0.846 0.021 300.364);
  --accent-foreground: oklch(0.319 0.032 299.072);
  --destructive: oklch(0.5 0.195 28.183);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.01 300.569);
  --chart-1: oklch(0.791 0.01 300.569);
  --chart-2: oklch(0.903 0.007 300.644);
  --chart-3: oklch(0.846 0.021 300.364);
  --chart-4: oklch(0.928 0.005 300.678);
  --chart-5: oklch(0.787 0.015 300.448);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.08 0.015 301.108);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.24 0.013 299.88);
  --muted-foreground: oklch(0.785 0.017 300.407);
  --popover: oklch(0.101 0.019 301.108);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.101 0.019 301.108);
  --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.791 0.01 300.569);
  --primary-foreground: oklch(0.254 0.007 300.326);
  --secondary: oklch(0.295 0.008 300.296);
  --secondary-foreground: oklch(0.824 0.008 300.608);
  --accent: oklch(0.351 0.029 299.381);
  --accent-foreground: oklch(0.875 0.014 300.505);
  --destructive: oklch(0.612 0.217 26.504);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.791 0.01 300.569);
  --chart-1: oklch(0.791 0.01 300.569);
  --chart-2: oklch(0.295 0.008 300.296);
  --chart-3: oklch(0.351 0.029 299.381);
  --chart-4: oklch(0.324 0.01 300.279);
  --chart-5: oklch(0.787 0.015 300.448);
}