Honored is a shadcn/ui theme built around a muted deep orange primary color (#130e0b) with muted deep violet accents (#0e0b13). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted deep orange primary (#130e0b) on a neutral background (#030202).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #030202black |
| Foreground | #110904black | #fdfcfcsnow |
| Card | #fefcfbsnow | #030202black |
| Card foreground | #110904black | #fdfcfcsnow |
| Popover | #fefcfbsnow | #030202black |
| Popover foreground | #110904black | #fdfcfcsnow |
| Primary | #130e0bblack | #130e0bblack |
| Primary foreground | #bfa392rosybrown | #bfa392rosybrown |
| Secondary | #0b130eblack | #0b130eblack |
| Secondary foreground | #92bfa3darkseagreen | #92bfa3darkseagreen |
| Muted | #eff0f0whitesmoke | #0f100fblack |
| Muted foreground | #506257dimgray | #9dafa4darkgray |
| Accent | #0e0b13black | #0e0b13black |
| Accent foreground | #a392bfdarkgray | #a392bfdarkgray |
| Destructive | #6f300bsaddlebrown | #e96d25chocolate |
| Destructive foreground | #f8cdb5peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #130e0bblack | #130e0bblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.29:1 | AAA |
| Text on card | 19.29:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 9.14:1 | AAA |
| Muted text | 5.71:1 | AA |
| Accent | 6.88:1 | AA |
| Destructive | 6.83:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 8.07:1 | AAA |
| Secondary button | 9.14:1 | AAA |
| Muted text | 8.26:1 | AAA |
| Accent | 6.88:1 | AA |
| Destructive | 6.69:1 | AA |
Paste this into your globals.css to use Honored in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 54.474);
--foreground: oklch(0.148 0.02 60.48);
--muted: oklch(0.955 0.002 159.421);
--muted-foreground: oklch(0.478 0.028 158.093);
--popover: oklch(0.992 0.002 54.474);
--popover-foreground: oklch(0.148 0.02 60.48);
--card: oklch(0.992 0.002 54.474);
--card-foreground: oklch(0.148 0.02 60.48);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.171 0.01 53.688);
--primary-foreground: oklch(0.736 0.041 53.761);
--secondary: oklch(0.178 0.016 157.306);
--secondary-foreground: oklch(0.764 0.062 157.498);
--accent: oklch(0.159 0.017 302.016);
--accent-foreground: oklch(0.69 0.068 302.173);
--destructive: oklch(0.391 0.101 45.873);
--destructive-foreground: oklch(0.879 0.058 51.736);
--ring: oklch(0.171 0.01 53.688);
--chart-1: oklch(0.171 0.01 53.688);
--chart-2: oklch(0.178 0.016 157.306);
--chart-3: oklch(0.159 0.017 302.016);
--chart-4: oklch(0.216 0.022 156.896);
--chart-5: oklch(0.171 0.012 53.592);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.092 0.006 59.666);
--foreground: oklch(0.992 0.001 54.497);
--muted: oklch(0.171 0.003 159.055);
--muted-foreground: oklch(0.736 0.025 158.68);
--popover: oklch(0.092 0.006 59.666);
--popover-foreground: oklch(0.992 0.001 54.497);
--card: oklch(0.092 0.006 59.666);
--card-foreground: oklch(0.992 0.001 54.497);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.171 0.01 53.688);
--primary-foreground: oklch(0.736 0.041 53.761);
--secondary: oklch(0.178 0.016 157.306);
--secondary-foreground: oklch(0.764 0.062 157.498);
--accent: oklch(0.159 0.017 302.016);
--accent-foreground: oklch(0.69 0.068 302.173);
--destructive: oklch(0.674 0.173 46.032);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.171 0.01 53.688);
--chart-1: oklch(0.171 0.01 53.688);
--chart-2: oklch(0.178 0.016 157.306);
--chart-3: oklch(0.159 0.017 302.016);
--chart-4: oklch(0.216 0.022 156.896);
--chart-5: oklch(0.171 0.012 53.592);
}