Originality for shadcn/ui

Originality is a shadcn/ui theme built around a neutral gray primary color (#beb6b9) with neutral gray accents (#beb7b6). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#beb6b9) on a pink-tinted background (#0a0507).

Color palette

TokenLightDark
Background
#ffffffwhite
#0a0507black
Foreground
#13060bblack
#fbf9fasnow
Card
#ffffffwhite
#0a0507black
Card foreground
#13060bblack
#fbf9fasnow
Popover
#ffffffwhite
#0a0507black
Popover foreground
#13060bblack
#fbf9fasnow
Primary
#beb6b9silver
#beb6b9silver
Primary foreground
#231f21black
#231f21black
Secondary
#beb6bdsilver
#beb6bdsilver
Secondary foreground
#231f23black
#231f23black
Muted
#ebd6e8gainsboro
#291426black
Muted foreground
#4d474cdarkslategray
#b8b2b7silver
Accent
#beb7b6silver
#beb7b6silver
Accent foreground
#23201fblack
#23201fblack
Destructive
#92360csaddlebrown
#ef7339tomato
Destructive foreground
#fce1d5antiquewhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#beb6b9silver
#beb6b9silver

Contrast

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

Light mode
Text on background19.83:1AAA
Text on card19.83:1AAA
Primary button8.21:1AAA
Secondary button8.22:1AAA
Muted text6.59:1AA
Accent8.21:1AAA
Destructive6.09:1AA
Dark mode
Text on background19.30:1AAA
Text on card19.30:1AAA
Primary button8.21:1AAA
Secondary button8.22:1AAA
Muted text8.24:1AAA
Accent8.21:1AAA
Destructive7.15:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.148 0.026 356.862);
  --muted: oklch(0.898 0.033 330.709);
  --muted-foreground: oklch(0.405 0.011 330.604);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.148 0.026 356.862);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.148 0.026 356.862);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.784 0.01 353.945);
  --primary-foreground: oklch(0.245 0.007 354.334);
  --secondary: oklch(0.785 0.013 330.466);
  --secondary-foreground: oklch(0.246 0.009 330.694);
  --accent: oklch(0.786 0.008 29.505);
  --accent-foreground: oklch(0.246 0.005 29.554);
  --destructive: oklch(0.459 0.134 41.004);
  --destructive-foreground: oklch(0.928 0.034 46.479);
  --ring: oklch(0.784 0.01 353.945);
  --chart-1: oklch(0.784 0.01 353.945);
  --chart-2: oklch(0.785 0.013 330.466);
  --chart-3: oklch(0.786 0.008 29.505);
  --chart-4: oklch(0.81 0.012 330.435);
  --chart-5: oklch(0.781 0.015 354.131);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.125 0.013 353.361);
  --foreground: oklch(0.983 0.003 353.664);
  --muted: oklch(0.229 0.045 332.589);
  --muted-foreground: oklch(0.77 0.01 330.408);
  --popover: oklch(0.125 0.013 353.361);
  --popover-foreground: oklch(0.983 0.003 353.664);
  --card: oklch(0.125 0.013 353.361);
  --card-foreground: oklch(0.983 0.003 353.664);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.784 0.01 353.945);
  --primary-foreground: oklch(0.245 0.007 354.334);
  --secondary: oklch(0.785 0.013 330.466);
  --secondary-foreground: oklch(0.246 0.009 330.694);
  --accent: oklch(0.786 0.008 29.505);
  --accent-foreground: oklch(0.246 0.005 29.554);
  --destructive: oklch(0.692 0.169 43.392);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.784 0.01 353.945);
  --chart-1: oklch(0.784 0.01 353.945);
  --chart-2: oklch(0.785 0.013 330.466);
  --chart-3: oklch(0.786 0.008 29.505);
  --chart-4: oklch(0.81 0.012 330.435);
  --chart-5: oklch(0.781 0.015 354.131);
}