Honored is a shadcn/ui theme built around a near-black primary color (#0d0d0c) with muted light yellow accents (#dbd8cc). The light mode uses a neutral background (#fdfdfb). Dark mode keeps the near-black primary (#0d0d0c) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfbsnow | #000000black |
| Foreground | #0c0a04black | #fdfdfcwhite |
| Card | #fcfbf8snow | #030303black |
| Card foreground | #080602black | #ffffffwhite |
| Popover | #fcfbf8snow | #030303black |
| Popover foreground | #080602black | #ffffffwhite |
| Primary | #0d0d0cblack | #0d0d0cblack |
| Primary foreground | #a9a8a2darkgray | #a9a8a2darkgray |
| Secondary | #dbd8cclightgrey | #1f1f1eblack |
| Secondary foreground | #454030darkslategray | #b8b8b7silver |
| Muted | #dfddd8gainsboro | #272520black |
| Muted foreground | #504f4edarkslategray | #b1b0afdarkgray |
| Accent | #dbd8cclightgrey | #1f1f1eblack |
| Accent foreground | #454030darkslategray | #b8b8b7silver |
| Destructive | #d32409firebrick | #f52e0forangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d0d0cblack | #0d0d0cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.54:1 | AAA |
| Primary button | 8.15:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 6.01:1 | AA |
| Accent | 7.23:1 | AAA |
| Destructive | 5.23:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 8.15:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.04:1 | AAA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.97:1 | AA Large |
Paste this into your globals.css to use Honored in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 91.427);
--foreground: oklch(0.143 0.016 95.582);
--muted: oklch(0.897 0.007 91.474);
--muted-foreground: oklch(0.429 0.002 91.45);
--popover: oklch(0.988 0.004 91.444);
--popover-foreground: oklch(0.125 0.014 96.007);
--card: oklch(0.988 0.004 91.444);
--card-foreground: oklch(0.125 0.014 96.007);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.159 0.002 91.498);
--primary-foreground: oklch(0.73 0.008 91.502);
--secondary: oklch(0.881 0.016 91.563);
--secondary-foreground: oklch(0.372 0.027 91.812);
--accent: oklch(0.881 0.016 91.563);
--accent-foreground: oklch(0.372 0.027 91.812);
--destructive: oklch(0.557 0.211 31.221);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.159 0.002 91.498);
--chart-1: oklch(0.159 0.002 91.498);
--chart-2: oklch(0.881 0.016 91.563);
--chart-3: oklch(0.881 0.016 91.563);
--chart-4: oklch(0.902 0.013 91.535);
--chart-5: oklch(0.16 0.003 91.558);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 91.415);
--muted: oklch(0.266 0.009 91.668);
--muted-foreground: oklch(0.758 0.002 91.429);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.159 0.002 91.498);
--primary-foreground: oklch(0.73 0.008 91.502);
--secondary: oklch(0.238 0.001 91.442);
--secondary-foreground: oklch(0.782 0.002 91.426);
--accent: oklch(0.238 0.001 91.442);
--accent-foreground: oklch(0.782 0.002 91.426);
--destructive: oklch(0.626 0.235 31.307);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.159 0.002 91.498);
--chart-1: oklch(0.159 0.002 91.498);
--chart-2: oklch(0.238 0.001 91.442);
--chart-3: oklch(0.238 0.001 91.442);
--chart-4: oklch(0.27 0.001 91.444);
--chart-5: oklch(0.16 0.003 91.558);
}