Horizon Bright is a shadcn/ui theme built around a muted deep indigo primary color (#1d1c21) with vivid light red accents (#f5b6a8). The light mode uses a red-tinted background (#fdf0ed). Dark mode keeps the muted deep indigo primary (#1d1c21) on a red-tinted background (#fdf0ed).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf0edseashell | #fdf0edseashell |
| Foreground | #333333darkslategray | #333333darkslategray |
| Card | #fce8e3mistyrose | #fce8e3mistyrose |
| Card foreground | #262626darkslategray | #262626darkslategray |
| Popover | #fbe4dfmistyrose | #fbe4dfmistyrose |
| Popover foreground | #1a1a1ablack | #1a1a1ablack |
| Primary | #1d1c21black | #1d1c21black |
| Primary foreground | #b4b2bdsilver | #b4b2bdsilver |
| Secondary | #bfbfbfsilver | #bfbfbfsilver |
| Secondary foreground | #262626darkslategray | #262626darkslategray |
| Muted | #e9e4e2gainsboro | #e9e4e2gainsboro |
| Muted foreground | #564743darkolivegreen | #564743darkolivegreen |
| Accent | #f5b6a8lightpink | #f5b6a8lightpink |
| Accent foreground | #601a0bmaroon | #601a0bmaroon |
| Destructive | #de2002red | #de2002red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f8ded8mistyrose | #f8ded8mistyrose |
| Input | #f6d3cbbisque | #f6d3cbbisque |
| Ring | #1d1c21black | #1d1c21black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 11.31:1 | AAA |
| Text on card | 12.81:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 4.86:1 | AA |
| Text on background | 11.31:1 | AAA |
| Text on card | 12.81:1 | AAA |
| Primary button | 8.08:1 | AAA |
| Secondary button | 8.25:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.36:1 | AAA |
| Destructive | 4.86:1 | AA |
Paste this into your globals.css to use Horizon Bright in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.964 0.015 32.668);
--foreground: oklch(0.321 0 180);
--muted: oklch(0.921 0.006 32.661);
--muted-foreground: oklch(0.411 0.021 32.767);
--popover: oklch(0.937 0.027 32.691);
--popover-foreground: oklch(0.216 0 180);
--card: oklch(0.946 0.023 32.681);
--card-foreground: oklch(0.27 0 180);
--border: oklch(0.92 0.03 32.702);
--input: oklch(0.894 0.041 32.743);
--primary: oklch(0.23 0.009 294.819);
--primary-foreground: oklch(0.769 0.016 295.188);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.831 0.077 32.983);
--accent-foreground: oklch(0.332 0.104 33.978);
--destructive: oklch(0.576 0.223 31.02);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.23 0.009 294.819);
--chart-1: oklch(0.23 0.009 294.819);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.831 0.077 32.983);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.228 0.013 294.512);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.964 0.015 32.668);
--foreground: oklch(0.321 0 180);
--muted: oklch(0.921 0.006 32.661);
--muted-foreground: oklch(0.411 0.021 32.767);
--popover: oklch(0.937 0.027 32.691);
--popover-foreground: oklch(0.216 0 180);
--card: oklch(0.946 0.023 32.681);
--card-foreground: oklch(0.27 0 180);
--border: oklch(0.92 0.03 32.702);
--input: oklch(0.894 0.041 32.743);
--primary: oklch(0.23 0.009 294.819);
--primary-foreground: oklch(0.769 0.016 295.188);
--secondary: oklch(0.805 0 169.695);
--secondary-foreground: oklch(0.27 0 180);
--accent: oklch(0.831 0.077 32.983);
--accent-foreground: oklch(0.332 0.104 33.978);
--destructive: oklch(0.576 0.223 31.02);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.23 0.009 294.819);
--chart-1: oklch(0.23 0.009 294.819);
--chart-2: oklch(0.805 0 169.695);
--chart-3: oklch(0.831 0.077 32.983);
--chart-4: oklch(0.829 0 180);
--chart-5: oklch(0.228 0.013 294.512);
}