P. \ Mist is a shadcn/ui theme built around a muted light orange primary color (#d3bbb1) with muted teal accents (#5e6e6e). The light mode uses a teal-tinted background (#3b4545). Dark mode keeps the muted light orange primary (#d3bbb1) on a teal-tinted background (#3b4545).
| Token | Light | Dark |
|---|---|---|
| Background | #3b4545darkslategray | #3b4545darkslategray |
| Foreground | #ffe3ccbisque | #ffe3ccbisque |
| Card | #363f3fdarkslategray | #363f3fdarkslategray |
| Card foreground | #fff1e6oldlace | #fff1e6oldlace |
| Popover | #343d3ddarkslategray | #343d3ddarkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #d3bbb1silver | #d3bbb1silver |
| Primary foreground | #34241ddarkslategray | #34241ddarkslategray |
| Secondary | #4b3b34darkslategray | #4b3b34darkslategray |
| Secondary foreground | #e0d6d2gainsboro | #e0d6d2gainsboro |
| Muted | #415353darkslategray | #415353darkslategray |
| Muted foreground | #c3d0d0lightgrey | #c3d0d0lightgrey |
| Accent | #5e6e6edimgray | #5e6e6edimgray |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #ec1313red | #ec1313red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #4d4d4ddarkslategray | #4d4d4ddarkslategray |
| Input | #545454dimgray | #545454dimgray |
| Ring | #d3bbb1silver | #d3bbb1silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 8.08:1 | AAA |
| Text on card | 9.74:1 | AAA |
| Primary button | 8.12:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 5.33:1 | AA |
| Destructive | 4.50:1 | AA |
| Text on background | 8.08:1 | AAA |
| Text on card | 9.74:1 | AAA |
| Primary button | 8.12:1 | AAA |
| Secondary button | 7.43:1 | AAA |
| Muted text | 5.13:1 | AA |
| Accent | 5.33:1 | AA |
| Destructive | 4.50:1 | AA |
Paste this into your globals.css to use P. \ Mist in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.381 0.013 196.606);
--foreground: oklch(0.933 0.043 61.548);
--muted: oklch(0.427 0.022 196.354);
--muted-foreground: oklch(0.847 0.014 196.893);
--popover: oklch(0.35 0.012 196.618);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.36 0.012 196.614);
--card-foreground: oklch(0.966 0.022 61.895);
--border: oklch(0.418 0 173.29);
--input: oklch(0.446 0 180);
--primary: oklch(0.809 0.031 44.633);
--primary-foreground: oklch(0.278 0.027 44.221);
--secondary: oklch(0.368 0.026 44.412);
--secondary-foreground: oklch(0.883 0.012 44.845);
--accent: oklch(0.525 0.02 196.57);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.597 0.238 28.618);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.031 44.633);
--chart-1: oklch(0.809 0.031 44.633);
--chart-2: oklch(0.368 0.026 44.412);
--chart-3: oklch(0.525 0.02 196.57);
--chart-4: oklch(0.397 0.028 44.402);
--chart-5: oklch(0.809 0.034 44.601);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.381 0.013 196.606);
--foreground: oklch(0.933 0.043 61.548);
--muted: oklch(0.427 0.022 196.354);
--muted-foreground: oklch(0.847 0.014 196.893);
--popover: oklch(0.35 0.012 196.618);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.36 0.012 196.614);
--card-foreground: oklch(0.966 0.022 61.895);
--border: oklch(0.418 0 173.29);
--input: oklch(0.446 0 180);
--primary: oklch(0.809 0.031 44.633);
--primary-foreground: oklch(0.278 0.027 44.221);
--secondary: oklch(0.368 0.026 44.412);
--secondary-foreground: oklch(0.883 0.012 44.845);
--accent: oklch(0.525 0.02 196.57);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.597 0.238 28.618);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.809 0.031 44.633);
--chart-1: oklch(0.809 0.031 44.633);
--chart-2: oklch(0.368 0.026 44.412);
--chart-3: oklch(0.525 0.02 196.57);
--chart-4: oklch(0.397 0.028 44.402);
--chart-5: oklch(0.809 0.034 44.601);
}