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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 6.16:1 | AA |
| Accent | 6.27:1 | AA |
| Destructive | 5.52:1 | AA |
| Text on background | 19.28:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.18:1 | AAA |
| Secondary button | 6.27:1 | AA |
| Muted text | 8.57:1 | AAA |
| Accent | 6.27:1 | AA |
| Destructive | 3.77:1 | AA Large |
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);
}