Usher is a shadcn/ui theme built around an orange primary color (#c49f64) with muted light orange accents (#e2ddd5). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#c49f64) on an orange-tinted background (#0e0b06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0b06black |
| Foreground | #050301black | #fafaf9snow |
| Card | #fcfcfcsnow | #110e08black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #0e0b06black |
| Popover foreground | #050301black | #fafaf9snow |
| Primary | #c49f64darkkhaki | #c49f64darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #e2ddd5gainsboro | #272420black |
| Secondary foreground | #4e4536darkolivegreen | #c3beb7silver |
| Muted | #e6e2dbgainsboro | #242019black |
| Muted foreground | #5e5c5adimgray | #a5a4a1darkgray |
| Accent | #e2ddd5gainsboro | #272420black |
| Accent foreground | #4e4536darkolivegreen | #c3beb7silver |
| Destructive | #e60400red | #ff0400red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c49f64darkkhaki | #c49f64darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.58:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 6.95:1 | AA |
| Muted text | 5.14:1 | AA |
| Accent | 6.95:1 | AA |
| Destructive | 4.81:1 | AA |
| Text on background | 18.79:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 8.50:1 | AAA |
| Secondary button | 8.32:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 8.32:1 | AAA |
| Destructive | 3.98:1 | AA Large |
Paste this into your globals.css to use Usher in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.099 0.015 88.861);
--muted: oklch(0.914 0.011 79.91);
--muted-foreground: oklch(0.476 0.004 79.918);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.099 0.015 88.861);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.723 0.089 78.543);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.899 0.012 79.907);
--secondary-foreground: oklch(0.396 0.027 79.571);
--accent: oklch(0.899 0.012 79.907);
--accent-foreground: oklch(0.396 0.027 79.571);
--destructive: oklch(0.581 0.237 29.382);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.723 0.089 78.543);
--chart-1: oklch(0.723 0.089 78.543);
--chart-2: oklch(0.899 0.012 79.907);
--chart-3: oklch(0.899 0.012 79.907);
--chart-4: oklch(0.921 0.009 79.914);
--chart-5: oklch(0.728 0.094 78.347);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.152 0.012 81.73);
--foreground: oklch(0.985 0.001 79.932);
--muted: oklch(0.246 0.015 79.647);
--muted-foreground: oklch(0.718 0.004 79.925);
--popover: oklch(0.152 0.012 81.73);
--popover-foreground: oklch(0.985 0.001 79.932);
--card: oklch(0.165 0.013 79.939);
--card-foreground: oklch(0.993 0.001 79.933);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.723 0.089 78.543);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.263 0.008 79.844);
--secondary-foreground: oklch(0.803 0.011 79.904);
--accent: oklch(0.263 0.008 79.844);
--accent-foreground: oklch(0.803 0.011 79.904);
--destructive: oklch(0.629 0.257 29.363);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.723 0.089 78.543);
--chart-1: oklch(0.723 0.089 78.543);
--chart-2: oklch(0.263 0.008 79.844);
--chart-3: oklch(0.263 0.008 79.844);
--chart-4: oklch(0.296 0.01 79.837);
--chart-5: oklch(0.728 0.094 78.347);
}