Honored for shadcn/ui

Honored is a shadcn/ui theme built around a vivid yellow primary color (#eee82f) with vivid indigo accents (#2f36ee). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#eee82f) on a yellow-tinted background (#0c0c03).

Color palette

TokenLightDark
Background
#ffffffwhite
#0c0c03black
Foreground
#100f05black
#fdfdfcwhite
Card
#fcfcfcsnow
#101004black
Card foreground
#0c0b04black
#ffffffwhite
Popover
#fcfcfcsnow
#101004black
Popover foreground
#0c0b04black
#ffffffwhite
Primary
#eee82fgold
#eee82fgold
Primary foreground
#4b4906darkolivegreen
#4b4906darkolivegreen
Secondary
#2f36eeroyalblue
#2f36eeroyalblue
Secondary foreground
#ecedfdlavender
#ecedfdlavender
Muted
#e3e3f2lavender
#0d0d1cblack
Muted foreground
#525252darkslategray
#adadaddarkgray
Accent
#2f36eeroyalblue
#2f36eeroyalblue
Accent foreground
#ecedfdlavender
#ecedfdlavender
Destructive
#d01711firebrick
#ef443etomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#eee82fgold
#eee82fgold

Contrast

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

Light mode
Text on background19.22:1AAA
Text on card19.28:1AAA
Primary button7.18:1AAA
Secondary button6.27:1AA
Muted text6.16:1AA
Accent6.27:1AA
Destructive5.52:1AA
Dark mode
Text on background19.28:1AAA
Text on card19.12:1AAA
Primary button7.18:1AAA
Secondary button6.27:1AA
Muted text8.57:1AAA
Accent6.27:1AA
Destructive3.77:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.166 0.022 106.99);
  --muted: oklch(0.921 0.02 284.414);
  --muted-foreground: oklch(0.437 0 180);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.149 0.019 107.12);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.149 0.019 107.12);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.907 0.185 107.438);
  --primary-foreground: oklch(0.396 0.082 107.446);
  --secondary: oklch(0.48 0.263 269.623);
  --secondary-foreground: oklch(0.95 0.022 284.383);
  --accent: oklch(0.48 0.263 269.623);
  --accent-foreground: oklch(0.95 0.022 284.383);
  --destructive: oklch(0.545 0.213 29.054);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.907 0.185 107.438);
  --chart-1: oklch(0.907 0.185 107.438);
  --chart-2: oklch(0.48 0.263 269.623);
  --chart-3: oklch(0.48 0.263 269.623);
  --chart-4: oklch(0.506 0.249 271.77);
  --chart-5: oklch(0.916 0.188 107.432);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.151 0.021 107.335);
  --foreground: oklch(0.994 0.001 104.833);
  --muted: oklch(0.168 0.031 280.993);
  --muted-foreground: oklch(0.749 0 158.199);
  --popover: oklch(0.169 0.025 107.203);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.169 0.025 107.203);
  --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.907 0.185 107.438);
  --primary-foreground: oklch(0.396 0.082 107.446);
  --secondary: oklch(0.48 0.263 269.623);
  --secondary-foreground: oklch(0.95 0.022 284.383);
  --accent: oklch(0.48 0.263 269.623);
  --accent-foreground: oklch(0.95 0.022 284.383);
  --destructive: oklch(0.636 0.209 27.014);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.907 0.185 107.438);
  --chart-1: oklch(0.907 0.185 107.438);
  --chart-2: oklch(0.48 0.263 269.623);
  --chart-3: oklch(0.48 0.263 269.623);
  --chart-4: oklch(0.506 0.249 271.77);
  --chart-5: oklch(0.916 0.188 107.432);
}