Genuine for shadcn/ui

Genuine is a shadcn/ui theme built around a light violet primary color (#edeaf6) with light green accents (#f2f6ea). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the light violet primary (#edeaf6) on a neutral background (#020203).

Color palette

TokenLightDark
Background
#fcfbfewhite
#020203black
Foreground
#06030cblack
#fcfcfdwhite
Card
#f9f8fcghostwhite
#040307black
Card foreground
#040208black
#ffffffwhite
Popover
#f9f8fcghostwhite
#040307black
Popover foreground
#040208black
#ffffffwhite
Primary
#edeaf6lavender
#edeaf6lavender
Primary foreground
#473678darkslateblue
#473678darkslateblue
Secondary
#f2f6ealinen
#f2f6ealinen
Secondary foreground
#2a3116darkslategray
#2a3116darkslategray
Muted
#e4e5e1gainsboro
#1d1e1ablack
Muted foreground
#5b604ddarkolivegreen
#adb29fdarkgray
Accent
#f2f6ealinen
#f2f6ealinen
Accent foreground
#2a3116darkslategray
#2a3116darkslategray
Destructive
#7a0101maroon
#fe1010red
Destructive foreground
#ffaeaelightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#edeaf6lavender
#edeaf6lavender

Contrast

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

Light mode
Text on background19.88:1AAA
Text on card19.47:1AAA
Primary button8.55:1AAA
Secondary button12.32:1AAA
Muted text5.13:1AA
Accent12.32:1AAA
Destructive6.52:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.52:1AAA
Primary button8.55:1AAA
Secondary button12.32:1AAA
Muted text7.71:1AAA
Accent12.32:1AAA
Destructive3.96: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 298.513);
  --foreground: oklch(0.113 0.025 298.224);
  --muted: oklch(0.919 0.005 118.654);
  --muted-foreground: oklch(0.48 0.03 119.679);
  --popover: oklch(0.98 0.006 298.459);
  --popover-foreground: oklch(0.098 0.022 298.419);
  --card: oklch(0.98 0.006 298.459);
  --card-foreground: oklch(0.098 0.022 298.419);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.942 0.016 298.272);
  --primary-foreground: oklch(0.386 0.108 292.922);
  --secondary: oklch(0.966 0.016 118.85);
  --secondary-foreground: oklch(0.3 0.046 121.467);
  --accent: oklch(0.966 0.016 118.85);
  --accent-foreground: oklch(0.3 0.046 121.467);
  --destructive: oklch(0.364 0.149 29.155);
  --destructive-foreground: oklch(0.828 0.095 19.29);
  --ring: oklch(0.942 0.016 298.272);
  --chart-1: oklch(0.942 0.016 298.272);
  --chart-2: oklch(0.966 0.016 118.85);
  --chart-3: oklch(0.966 0.016 118.85);
  --chart-4: oklch(0.983 0.008 118.705);
  --chart-5: oklch(0.942 0.017 298.249);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.084 0.01 298.491);
  --foreground: oklch(0.991 0.002 298.526);
  --muted: oklch(0.232 0.006 119.055);
  --muted-foreground: oklch(0.754 0.027 119.2);
  --popover: oklch(0.106 0.012 298.491);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.106 0.012 298.491);
  --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.942 0.016 298.272);
  --primary-foreground: oklch(0.386 0.108 292.922);
  --secondary: oklch(0.966 0.016 118.85);
  --secondary-foreground: oklch(0.3 0.046 121.467);
  --accent: oklch(0.966 0.016 118.85);
  --accent-foreground: oklch(0.3 0.046 121.467);
  --destructive: oklch(0.629 0.253 28.799);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.942 0.016 298.272);
  --chart-1: oklch(0.942 0.016 298.272);
  --chart-2: oklch(0.966 0.016 118.85);
  --chart-3: oklch(0.966 0.016 118.85);
  --chart-4: oklch(0.983 0.008 118.705);
  --chart-5: oklch(0.942 0.017 298.249);
}