Headlight is a shadcn/ui theme built around a teal primary color (#88ddb7) with pink accents (#dd88ae). The light mode uses a neutral background (#fcfdfd). Dark mode keeps the teal primary (#88ddb7) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfdwhite | #010403black |
| Foreground | #030c08black | #fcfdfdwhite |
| Card | #fcfdfdwhite | #010403black |
| Card foreground | #030c08black | #fcfdfdwhite |
| Popover | #fcfdfdwhite | #010403black |
| Popover foreground | #030c08black | #fcfdfdwhite |
| Primary | #88ddb7mediumaquamarine | #88ddb7mediumaquamarine |
| Primary foreground | #0b281bblack | #0b281bblack |
| Secondary | #dd88aepalevioletred | #dd88aepalevioletred |
| Secondary foreground | #280b18black | #280b18black |
| Muted | #edd9e2gainsboro | #26121bblack |
| Muted foreground | #514d4fdarkslategray | #b2aeb0darkgray |
| Accent | #dd88aepalevioletred | #dd88aepalevioletred |
| Accent foreground | #280b18black | #280b18black |
| Destructive | #ce4412chocolate | #eb551echocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #88ddb7mediumaquamarine | #88ddb7mediumaquamarine |
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 | 9.82:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 7.12:1 | AAA |
| Destructive | 4.68:1 | AA |
| Text on background | 20.21:1 | AAA |
| Text on card | 20.21:1 | AAA |
| Primary button | 9.82:1 | AAA |
| Secondary button | 7.12:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 7.12:1 | AAA |
| Destructive | 3.58:1 | AA Large |
Paste this into your globals.css to use Headlight in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 167.752);
--foreground: oklch(0.143 0.02 167.562);
--muted: oklch(0.904 0.025 348.562);
--muted-foreground: oklch(0.425 0.005 348.116);
--popover: oklch(0.993 0.002 167.752);
--popover-foreground: oklch(0.143 0.02 167.562);
--card: oklch(0.993 0.002 167.752);
--card-foreground: oklch(0.143 0.02 167.562);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.833 0.1 163.844);
--primary-foreground: oklch(0.25 0.043 161.409);
--secondary: oklch(0.726 0.114 351.835);
--secondary-foreground: oklch(0.203 0.051 354.48);
--accent: oklch(0.726 0.114 351.835);
--accent-foreground: oklch(0.203 0.051 354.48);
--destructive: oklch(0.578 0.183 37.436);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.1 163.844);
--chart-1: oklch(0.833 0.1 163.844);
--chart-2: oklch(0.726 0.114 351.835);
--chart-3: oklch(0.726 0.114 351.835);
--chart-4: oklch(0.752 0.102 351.285);
--chart-5: oklch(0.838 0.105 163.633);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.012 168.028);
--foreground: oklch(0.993 0.001 167.775);
--muted: oklch(0.215 0.037 352.16);
--muted-foreground: oklch(0.755 0.004 347.961);
--popover: oklch(0.098 0.012 168.028);
--popover-foreground: oklch(0.993 0.001 167.775);
--card: oklch(0.098 0.012 168.028);
--card-foreground: oklch(0.993 0.001 167.775);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.833 0.1 163.844);
--primary-foreground: oklch(0.25 0.043 161.409);
--secondary: oklch(0.726 0.114 351.835);
--secondary-foreground: oklch(0.203 0.051 354.48);
--accent: oklch(0.726 0.114 351.835);
--accent-foreground: oklch(0.203 0.051 354.48);
--destructive: oklch(0.645 0.196 38.05);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.833 0.1 163.844);
--chart-1: oklch(0.833 0.1 163.844);
--chart-2: oklch(0.726 0.114 351.835);
--chart-3: oklch(0.726 0.114 351.835);
--chart-4: oklch(0.752 0.102 351.285);
--chart-5: oklch(0.838 0.105 163.633);
}