Normal for shadcn/ui

Normal is a shadcn/ui theme built around a neutral gray primary color (#dedede) with muted light orange accents (#d3c9c0). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#dedede) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#000000black
#fafaf9snow
Card
#fcfcfcsnow
#030303black
Card foreground
#000000black
#fdfcfcsnow
Popover
#ffffffwhite
#000000black
Popover foreground
#000000black
#fafaf9snow
Primary
#dededegainsboro
#dededegainsboro
Primary foreground
#464544darkslategray
#464544darkslategray
Secondary
#e3e0degainsboro
#37302adarkslategray
Secondary foreground
#4d4742darkslategray
#d1c9c2silver
Muted
#ded9d3gainsboro
#2c2621darkslategray
Muted foreground
#5f5e5ddimgray
#a2a1a0darkgray
Accent
#d3c9c0silver
#5a493adarkolivegreen
Accent foreground
#393028darkslategray
#e9e3ddgainsboro
Destructive
#cf360cfirebrick
#f36239tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#dededegainsboro
#dededegainsboro

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.10:1AAA
Secondary button6.97:1AA
Muted text4.60:1AA
Accent7.92:1AAA
Destructive5.00:1AA
Dark mode
Text on background20.10:1AAA
Text on card20.19:1AAA
Primary button7.10:1AAA
Secondary button7.91:1AAA
Muted text5.78:1AA
Accent6.70:1AA
Destructive6.62:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.887 0.01 65.832);
  --muted-foreground: oklch(0.484 0.002 65.92);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.9 0.001 65.959);
  --primary-foreground: oklch(0.39 0.001 65.922);
  --secondary: oklch(0.909 0.004 65.911);
  --secondary-foreground: oklch(0.403 0.012 65.595);
  --accent: oklch(0.842 0.016 65.736);
  --accent-foreground: oklch(0.316 0.018 65.183);
  --destructive: oklch(0.565 0.195 34.373);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.9 0.001 65.959);
  --chart-1: oklch(0.9 0.001 65.959);
  --chart-2: oklch(0.909 0.004 65.911);
  --chart-3: oklch(0.842 0.016 65.736);
  --chart-4: oklch(0.932 0.003 65.926);
  --chart-5: oklch(0.901 0.002 65.936);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.985 0.001 65.955);
  --muted: oklch(0.274 0.013 65.33);
  --muted-foreground: oklch(0.708 0.002 65.937);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.985 0.001 65.955);
  --card: oklch(0.092 0 180);
  --card-foreground: oklch(0.993 0 65.961);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.9 0.001 65.959);
  --primary-foreground: oklch(0.39 0.001 65.922);
  --secondary: oklch(0.315 0.015 65.338);
  --secondary-foreground: oklch(0.841 0.013 65.778);
  --accent: oklch(0.42 0.034 64.791);
  --accent-foreground: oklch(0.918 0.011 65.828);
  --destructive: oklch(0.676 0.188 36.133);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.9 0.001 65.959);
  --chart-1: oklch(0.9 0.001 65.959);
  --chart-2: oklch(0.315 0.015 65.338);
  --chart-3: oklch(0.42 0.034 64.791);
  --chart-4: oklch(0.346 0.017 65.316);
  --chart-5: oklch(0.901 0.002 65.936);
}