Honored is a shadcn/ui theme built around a vivid cyan primary color (#0cb1ed) with vivid blue accents (#0c41ed). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid cyan primary (#0cb1ed) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #010304black | #f9fafaghostwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #010304black | #f9fafaghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #010304black | #f9fafaghostwhite |
| Primary | #0cb1eddeepskyblue | #0cb1eddeepskyblue |
| Primary foreground | #02212cblack | #02212cblack |
| Secondary | #0cedb9mediumspringgreen | #0cedb9mediumspringgreen |
| Secondary foreground | #022c22black | #022c22black |
| Muted | #e2eeeblavender | #111d1ablack |
| Muted foreground | #495a56darkslategray | #a5b6b2darkgray |
| Accent | #0c41edroyalblue | #0c41edroyalblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #da0707red | #f92f2fcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0cb1eddeepskyblue | #0cb1eddeepskyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.66:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 6.14:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 5.24:1 | AA |
| Text on background | 20.08:1 | AAA |
| Text on card | 20.08:1 | AAA |
| Primary button | 6.81:1 | AA |
| Secondary button | 10.01:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 7.00:1 | AAA |
| Destructive | 3.84: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.094 0.011 215.789);
--muted: oklch(0.94 0.014 180.546);
--muted-foreground: oklch(0.452 0.021 179.578);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.094 0.011 215.789);
--card: oklch(1 0 180);
--card-foreground: oklch(0.094 0.011 215.789);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.716 0.144 232.053);
--primary-foreground: oklch(0.23 0.041 226.136);
--secondary: oklch(0.843 0.167 169.212);
--secondary-foreground: oklch(0.261 0.048 173.027);
--accent: oklch(0.485 0.259 264.303);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.559 0.227 28.997);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.716 0.144 232.053);
--chart-1: oklch(0.716 0.144 232.053);
--chart-2: oklch(0.843 0.167 169.212);
--chart-3: oklch(0.485 0.259 264.303);
--chart-4: oklch(0.858 0.168 169.951);
--chart-5: oklch(0.722 0.147 232.58);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.001 221.313);
--muted: oklch(0.219 0.018 178.295);
--muted-foreground: oklch(0.761 0.019 180.247);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.001 221.313);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.001 221.313);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.716 0.144 232.053);
--primary-foreground: oklch(0.23 0.041 226.136);
--secondary: oklch(0.843 0.167 169.212);
--secondary-foreground: oklch(0.261 0.048 173.027);
--accent: oklch(0.485 0.259 264.303);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.635 0.234 27.129);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.716 0.144 232.053);
--chart-1: oklch(0.716 0.144 232.053);
--chart-2: oklch(0.843 0.167 169.212);
--chart-3: oklch(0.485 0.259 264.303);
--chart-4: oklch(0.858 0.168 169.951);
--chart-5: oklch(0.722 0.147 232.58);
}