Lost is a shadcn/ui theme built around a near-black primary color (#040b09) with near-black accents (#0b0904). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-black primary (#040b09) on a teal-tinted background (#04100d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #04100dblack |
| Foreground | #03110dblack | #f9fbfamintcream |
| Card | #fcfcfcsnow | #051410black |
| Card foreground | #020d0ablack | #fcfdfdwhite |
| Popover | #fcfcfcsnow | #051410black |
| Popover foreground | #020d0ablack | #fcfdfdwhite |
| Primary | #040b09black | #040b09black |
| Primary foreground | #79c8b1mediumaquamarine | #79c8b1mediumaquamarine |
| Secondary | #09040bblack | #09040bblack |
| Secondary foreground | #b179c8mediumpurple | #b179c8mediumpurple |
| Muted | #ebe9eclavender | #151316black |
| Muted foreground | #4e4950darkslategray | #b4afb6darkgray |
| Accent | #0b0904black | #0b0904black |
| Accent foreground | #c8b179darkkhaki | #c8b179darkkhaki |
| Destructive | #d04901chocolate | #fe742atomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #040b09black | #040b09black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 10.13:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 7.27:1 | AAA |
| Accent | 9.50:1 | AAA |
| Destructive | 4.51:1 | AA |
| Text on background | 18.59:1 | AAA |
| Text on card | 18.45:1 | AAA |
| Primary button | 10.13:1 | AAA |
| Secondary button | 6.21:1 | AA |
| Muted text | 8.58:1 | AAA |
| Accent | 9.50:1 | AAA |
| Destructive | 7.74:1 | AAA |
Paste this into your globals.css to use Lost in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.163 0.024 173.672);
--muted: oklch(0.937 0.005 316.003);
--muted-foreground: oklch(0.413 0.011 315.923);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.145 0.02 175.906);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.145 0.02 175.906);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.14 0.013 176.679);
--primary-foreground: oklch(0.776 0.086 172.788);
--secondary: oklch(0.123 0.02 317.362);
--secondary-foreground: oklch(0.662 0.128 315.266);
--accent: oklch(0.14 0.012 91.579);
--accent-foreground: oklch(0.766 0.078 87.319);
--destructive: oklch(0.586 0.182 40.505);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.14 0.013 176.679);
--chart-1: oklch(0.14 0.013 176.679);
--chart-2: oklch(0.123 0.02 317.362);
--chart-3: oklch(0.14 0.012 91.579);
--chart-4: oklch(0.159 0.03 315.332);
--chart-5: oklch(0.141 0.014 176.616);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.161 0.021 174.021);
--foreground: oklch(0.986 0.003 176.583);
--muted: oklch(0.19 0.007 315.882);
--muted-foreground: oklch(0.761 0.01 315.975);
--popover: oklch(0.177 0.024 172.652);
--popover-foreground: oklch(0.993 0.001 176.621);
--card: oklch(0.177 0.024 172.652);
--card-foreground: oklch(0.993 0.001 176.621);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.14 0.013 176.679);
--primary-foreground: oklch(0.776 0.086 172.788);
--secondary: oklch(0.123 0.02 317.362);
--secondary-foreground: oklch(0.662 0.128 315.266);
--accent: oklch(0.14 0.012 91.579);
--accent-foreground: oklch(0.766 0.078 87.319);
--destructive: oklch(0.714 0.187 44.715);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.14 0.013 176.679);
--chart-1: oklch(0.14 0.013 176.679);
--chart-2: oklch(0.123 0.02 317.362);
--chart-3: oklch(0.14 0.012 91.579);
--chart-4: oklch(0.159 0.03 315.332);
--chart-5: oklch(0.141 0.014 176.616);
}