Cold Horizon, No Italics is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted deep blue accents (#3d4152). The light mode uses a blue-tinted background (#1c1e26). Dark mode keeps the near-white primary (#ffffff) on a blue-tinted background (#1c1e26).
| Token | Light | Dark |
|---|---|---|
| Background | #1c1e26black | #1c1e26black |
| Foreground | #ffffffwhite | #ffffffwhite |
| Card | #181a20black | #181a20black |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #16171dblack | #16171dblack |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #ffffffwhite | #ffffffwhite |
| Primary foreground | #333333darkslategray | #333333darkslategray |
| Secondary | #404040darkslategray | #404040darkslategray |
| Secondary foreground | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Muted | #262831darkslategray | #262831darkslategray |
| Muted foreground | #a1a5b5darkgray | #a1a5b5darkgray |
| Accent | #3d4152darkslategray | #3d4152darkslategray |
| Accent foreground | #dcdee5gainsboro | #dcdee5gainsboro |
| Destructive | #ef220bred | #ef220bred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #2c2d30darkslategray | #2c2d30darkslategray |
| Input | #333438darkslategray | #333438darkslategray |
| Ring | #ffffffwhite | #ffffffwhite |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 16.59:1 | AAA |
| Text on card | 17.45:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.29:1 | AA Large |
| Text on background | 16.59:1 | AAA |
| Text on card | 17.45:1 | AAA |
| Primary button | 12.63:1 | AAA |
| Secondary button | 7.37:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 7.53:1 | AAA |
| Destructive | 4.29:1 | AA Large |
Paste this into your globals.css to use Cold Horizon, No Italics in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.237 0.016 274.131);
--foreground: oklch(1 0 180);
--muted: oklch(0.279 0.016 274.278);
--muted-foreground: oklch(0.723 0.024 274.609);
--popover: oklch(0.207 0.012 274.218);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.217 0.013 274.185);
--card-foreground: oklch(1 0 180);
--border: oklch(0.296 0.007 274.746);
--input: oklch(0.325 0.008 274.735);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.378 0.03 273.921);
--accent-foreground: oklch(0.9 0.01 274.895);
--destructive: oklch(0.607 0.235 30.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.378 0.03 273.921);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.237 0.016 274.131);
--foreground: oklch(1 0 180);
--muted: oklch(0.279 0.016 274.278);
--muted-foreground: oklch(0.723 0.024 274.609);
--popover: oklch(0.207 0.012 274.218);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.217 0.013 274.185);
--card-foreground: oklch(1 0 180);
--border: oklch(0.296 0.007 274.746);
--input: oklch(0.325 0.008 274.735);
--primary: oklch(1 0 180);
--primary-foreground: oklch(0.321 0 180);
--secondary: oklch(0.371 0 168.69);
--secondary-foreground: oklch(0.885 0 180);
--accent: oklch(0.378 0.03 273.921);
--accent-foreground: oklch(0.9 0.01 274.895);
--destructive: oklch(0.607 0.235 30.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(1 0 180);
--chart-1: oklch(1 0 180);
--chart-2: oklch(0.371 0 168.69);
--chart-3: oklch(0.378 0.03 273.921);
--chart-4: oklch(0.399 0 180);
--chart-5: oklch(1 0 180);
}