P. \ Frost is a shadcn/ui theme built around a vivid deep green primary color (#098b3b) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep green primary (#098b3b) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #186756darkslategray | #186756darkslategray |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #135345darkslategray | #135345darkslategray |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #0f3e34darkslategray | #0f3e34darkslategray |
| Primary | #098b3bforestgreen | #098b3bforestgreen |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #acd2bbsilver | #acd2bbsilver |
| Secondary foreground | #1b3224darkslategray | #1b3224darkslategray |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #8a1000darkred | #8a1000darkred |
| Destructive foreground | #ffc4bdlightpink | #ffc4bdlightpink |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #098b3bforestgreen | #098b3bforestgreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 6.74:1 | AA |
| Text on card | 8.55:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 6.74:1 | AA |
| Text on card | 8.55:1 | AAA |
| Primary button | 4.40:1 | AA Large |
| Secondary button | 8.32:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 6.45:1 | AA |
Paste this into your globals.css to use P. \ Frost in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.464 0.079 174.627);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.329 0.053 175.376);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.398 0.067 174.927);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.557 0.155 148.774);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.831 0.052 157.985);
--secondary-foreground: oklch(0.292 0.039 155.972);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.404 0.156 31.322);
--destructive-foreground: oklch(0.872 0.068 27.161);
--ring: oklch(0.557 0.155 148.774);
--chart-1: oklch(0.557 0.155 148.774);
--chart-2: oklch(0.831 0.052 157.985);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.851 0.046 158.211);
--chart-5: oklch(0.563 0.159 148.509);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.464 0.079 174.627);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0.329 0.053 175.376);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.398 0.067 174.927);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.557 0.155 148.774);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.831 0.052 157.985);
--secondary-foreground: oklch(0.292 0.039 155.972);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.404 0.156 31.322);
--destructive-foreground: oklch(0.872 0.068 27.161);
--ring: oklch(0.557 0.155 148.774);
--chart-1: oklch(0.557 0.155 148.774);
--chart-2: oklch(0.831 0.052 157.985);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.851 0.046 158.211);
--chart-5: oklch(0.563 0.159 148.509);
}