Honored is a shadcn/ui theme built around a muted deep indigo primary color (#0c0c13) with muted deep violet accents (#100c13). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the muted deep indigo primary (#0c0c13) on an indigo-tinted background (#07060f).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #07060fblack |
| Foreground | #050317black | #fcfcfdwhite |
| Card | #f7f6fdghostwhite | #080712black |
| Card foreground | #040212black | #ffffffwhite |
| Popover | #f7f6fdghostwhite | #080712black |
| Popover foreground | #040212black | #ffffffwhite |
| Primary | #0c0c13black | #0c0c13black |
| Primary foreground | #9893bddarkgray | #9893bddarkgray |
| Secondary | #0c0e13black | #0c0e13black |
| Secondary foreground | #93a3bddarkgray | #93a3bddarkgray |
| Muted | #d5deebgainsboro | #141c2ablack |
| Muted foreground | #3c434edarkslategray | #b1b8c3silver |
| Accent | #100c13black | #100c13black |
| Accent foreground | #ad93bddarkgray | #ad93bddarkgray |
| Destructive | #c80d09firebrick | #e00e0bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0c0c13black | #0c0c13black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 7.35:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 5.98:1 | AA |
| Text on background | 19.68:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 6.72:1 | AA |
| Secondary button | 7.53:1 | AAA |
| Muted text | 8.56:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 4.95:1 | AA |
Paste this into your globals.css to use Honored in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 291.691);
--foreground: oklch(0.121 0.047 285.114);
--muted: oklch(0.898 0.021 259.945);
--muted-foreground: oklch(0.38 0.021 259.908);
--popover: oklch(0.977 0.009 291.599);
--popover-foreground: oklch(0.111 0.041 286.255);
--card: oklch(0.977 0.009 291.599);
--card-foreground: oklch(0.111 0.041 286.255);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.157 0.016 289.837);
--primary-foreground: oklch(0.684 0.061 290.033);
--secondary: oklch(0.165 0.011 259.89);
--secondary-foreground: oklch(0.713 0.042 259.902);
--accent: oklch(0.162 0.017 312.279);
--accent-foreground: oklch(0.702 0.066 312.346);
--destructive: oklch(0.526 0.211 29.016);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.157 0.016 289.837);
--chart-1: oklch(0.157 0.016 289.837);
--chart-2: oklch(0.165 0.011 259.89);
--chart-3: oklch(0.162 0.017 312.279);
--chart-4: oklch(0.197 0.015 259.859);
--chart-5: oklch(0.156 0.017 289.551);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.128 0.021 289.548);
--foreground: oklch(0.991 0.002 291.741);
--muted: oklch(0.225 0.029 259.702);
--muted-foreground: oklch(0.781 0.017 259.945);
--popover: oklch(0.138 0.025 288.749);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.138 0.025 288.749);
--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.157 0.016 289.837);
--primary-foreground: oklch(0.684 0.061 290.033);
--secondary: oklch(0.165 0.011 259.89);
--secondary-foreground: oklch(0.713 0.042 259.902);
--accent: oklch(0.162 0.017 312.279);
--accent-foreground: oklch(0.702 0.066 312.346);
--destructive: oklch(0.573 0.23 29.055);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.157 0.016 289.837);
--chart-1: oklch(0.157 0.016 289.837);
--chart-2: oklch(0.165 0.011 259.89);
--chart-3: oklch(0.162 0.017 312.279);
--chart-4: oklch(0.197 0.015 259.859);
--chart-5: oklch(0.156 0.017 289.551);
}