High is a shadcn/ui theme built around a near-black primary color (#0f0f0f) with near-black accents (#0f0f0f). The light mode uses a neutral background (#fcf7f7). Dark mode keeps the near-black primary (#0f0f0f) on a neutral background (#040101).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f7snow | #040101black |
| Foreground | #080202black | #faf5f5whitesmoke |
| Card | #fcf7f7snow | #040101black |
| Card foreground | #080202black | #faf5f5whitesmoke |
| Popover | #fcf7f7snow | #040101black |
| Popover foreground | #080202black | #faf5f5whitesmoke |
| Primary | #0f0f0fblack | #0f0f0fblack |
| Primary foreground | #a8a8a8darkgray | #a8a8a8darkgray |
| Secondary | #0f0f0fblack | #0f0f0fblack |
| Secondary foreground | #a8a8a8darkgray | #a8a8a8darkgray |
| Muted | #ebe5e5linen | #1a1414black |
| Muted foreground | #513e3edarkslategray | #c1aeaedarkgray |
| Accent | #0f0f0fblack | #0f0f0fblack |
| Accent foreground | #a8a8a8darkgray | #a8a8a8darkgray |
| Destructive | #8d0c07darkred | #ed140cred |
| Destructive foreground | #fccbcapink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0f0f0fblack | #0f0f0fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.46:1 | AAA |
| Text on card | 19.46:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 8.00:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 8.04:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 8.61:1 | AAA |
| Accent | 8.04:1 | AAA |
| Destructive | 4.44:1 | AA Large |
Paste this into your globals.css to use High in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 17.25);
--foreground: oklch(0.104 0.018 20.492);
--muted: oklch(0.927 0.006 17.274);
--muted-foreground: oklch(0.384 0.026 18.35);
--popover: oklch(0.981 0.005 17.25);
--popover-foreground: oklch(0.104 0.018 20.492);
--card: oklch(0.981 0.005 17.25);
--card-foreground: oklch(0.104 0.018 20.492);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.17 0 180);
--primary-foreground: oklch(0.733 0 180);
--secondary: oklch(0.17 0 180);
--secondary-foreground: oklch(0.733 0 180);
--accent: oklch(0.17 0 180);
--accent-foreground: oklch(0.733 0 180);
--destructive: oklch(0.408 0.16 29.098);
--destructive-foreground: oklch(0.885 0.056 20.566);
--ring: oklch(0.17 0 180);
--chart-1: oklch(0.17 0 180);
--chart-2: oklch(0.17 0 180);
--chart-3: oklch(0.17 0 180);
--chart-4: oklch(0.204 0 180);
--chart-5: oklch(0.169 0.002 17.308);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.082 0.014 20.688);
--foreground: oklch(0.974 0.005 17.247);
--muted: oklch(0.198 0.01 18.008);
--muted-foreground: oklch(0.768 0.021 17.629);
--popover: oklch(0.082 0.014 20.688);
--popover-foreground: oklch(0.974 0.005 17.247);
--card: oklch(0.082 0.014 20.688);
--card-foreground: oklch(0.974 0.005 17.247);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.17 0 180);
--primary-foreground: oklch(0.733 0 180);
--secondary: oklch(0.17 0 180);
--secondary-foreground: oklch(0.733 0 180);
--accent: oklch(0.17 0 180);
--accent-foreground: oklch(0.733 0 180);
--destructive: oklch(0.6 0.239 29.245);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.17 0 180);
--chart-1: oklch(0.17 0 180);
--chart-2: oklch(0.17 0 180);
--chart-3: oklch(0.17 0 180);
--chart-4: oklch(0.204 0 180);
--chart-5: oklch(0.169 0.002 17.308);
}