Honored for shadcn/ui

Honored is a shadcn/ui theme built around a near-white primary color (#fafafa) with near-white accents (#fafafa). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the near-white primary (#fafafa) on a neutral background (#030806).

Color palette

TokenLightDark
Background
#f7fdfbmintcream
#030806black
Foreground
#000000black
#f8fcfbmintcream
Card
#f7fdfbmintcream
#030806black
Card foreground
#000000black
#f8fcfbmintcream
Popover
#f7fdfbmintcream
#030806black
Popover foreground
#000000black
#f8fcfbmintcream
Primary
#fafafasnow
#fafafasnow
Primary foreground
#2c302fdarkslategray
#2c302fdarkslategray
Secondary
#fafafasnow
#fafafasnow
Secondary foreground
#2c302ddarkslategray
#2c302ddarkslategray
Muted
#f1f4f1whitesmoke
#0b0e0cblack
Muted foreground
#5a685ddimgray
#97a59adarkgray
Accent
#fafafasnow
#fafafasnow
Accent foreground
#2c2f30darkslategray
#2c2f30darkslategray
Destructive
#d01411firebrick
#d41411firebrick
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fafafasnow
#fafafasnow

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button12.81:1AAA
Secondary button12.83:1AAA
Muted text5.28:1AA
Accent12.92:1AAA
Destructive5.55:1AA
Dark mode
Text on background19.54:1AAA
Text on card19.54:1AAA
Primary button12.81:1AAA
Secondary button12.83:1AAA
Muted text7.53:1AAA
Accent12.92:1AAA
Destructive5.35:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.989 0.007 176.455);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.963 0.004 151.946);
  --muted-foreground: oklch(0.501 0.024 151.274);
  --popover: oklch(0.989 0.007 176.455);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.989 0.007 176.455);
  --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.985 0.001 176.641);
  --primary-foreground: oklch(0.305 0.007 175.99);
  --secondary: oklch(0.985 0.001 151.994);
  --secondary-foreground: oklch(0.304 0.009 151.548);
  --accent: oklch(0.985 0 214.319);
  --accent-foreground: oklch(0.303 0.005 214.376);
  --destructive: oklch(0.544 0.215 28.783);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.001 176.641);
  --chart-1: oklch(0.985 0.001 176.641);
  --chart-2: oklch(0.985 0.001 151.994);
  --chart-3: oklch(0.985 0 214.319);
  --chart-4: oklch(1.007 0 332.011);
  --chart-5: oklch(0.985 0.001 176.631);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.123 0.013 176.823);
  --foreground: oklch(0.987 0.004 176.546);
  --muted: oklch(0.16 0.006 151.436);
  --muted-foreground: oklch(0.708 0.022 151.535);
  --popover: oklch(0.123 0.013 176.823);
  --popover-foreground: oklch(0.987 0.004 176.546);
  --card: oklch(0.123 0.013 176.823);
  --card-foreground: oklch(0.987 0.004 176.546);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.985 0.001 176.641);
  --primary-foreground: oklch(0.305 0.007 175.99);
  --secondary: oklch(0.985 0.001 151.994);
  --secondary-foreground: oklch(0.304 0.009 151.548);
  --accent: oklch(0.985 0 214.319);
  --accent-foreground: oklch(0.303 0.005 214.376);
  --destructive: oklch(0.553 0.218 28.794);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.985 0.001 176.641);
  --chart-1: oklch(0.985 0.001 176.641);
  --chart-2: oklch(0.985 0.001 151.994);
  --chart-3: oklch(0.985 0 214.319);
  --chart-4: oklch(1.007 0 332.011);
  --chart-5: oklch(0.985 0.001 176.631);
}