Level Pergola Panorama is a shadcn/ui theme built around a muted light green primary color (#dfe7d9) with muted light green accents (#cbd3c5). The light mode uses a neutral background (#fcfdfc). Dark mode keeps the muted light green primary (#dfe7d9) on a green-tinted background (#070a05).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfcwhite | #070a05black |
| Foreground | #020401black | #fcfdfcwhite |
| Card | #fafcf8snow | #0a0e06black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fafcf8snow | #0a0e06black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #dfe7d9gainsboro | #dfe7d9gainsboro |
| Primary foreground | #455837darkolivegreen | #455837darkolivegreen |
| Secondary | #cbd3c5lightgrey | #141613black |
| Secondary foreground | #323a2cdarkslategray | #acb5a6darkgray |
| Muted | #eaf1e4beige | #141b0eblack |
| Muted foreground | #5b6454dimgray | #a2ab9bdarkgray |
| Accent | #cbd3c5lightgrey | #141613black |
| Accent foreground | #323a2cdarkslategray | #acb5a6darkgray |
| Destructive | #d9130dred | #f2241ccrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #eff2eewhitesmoke | #262b22darkslategray |
| Input | #eff2eewhitesmoke | #262b22darkslategray |
| Ring | #dfe7d9gainsboro | #dfe7d9gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 5.34:1 | AA |
| Accent | 7.69:1 | AAA |
| Destructive | 5.18:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 6.15:1 | AA |
| Secondary button | 8.57:1 | AAA |
| Muted text | 7.43:1 | AAA |
| Accent | 8.57:1 | AAA |
| Destructive | 4.17:1 | AA Large |
Paste this into your globals.css to use Level Pergola Panorama in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 131.108);
--foreground: oklch(0.103 0.021 129.326);
--muted: oklch(0.949 0.018 131.25);
--muted-foreground: oklch(0.49 0.028 131.605);
--popover: oklch(0.988 0.005 131.131);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 131.131);
--card-foreground: oklch(0 0 0);
--border: oklch(0.957 0.005 131.133);
--input: oklch(0.957 0.005 131.133);
--primary: oklch(0.919 0.021 131.283);
--primary-foreground: oklch(0.435 0.057 132.364);
--secondary: oklch(0.857 0.021 131.304);
--secondary-foreground: oklch(0.337 0.027 131.815);
--accent: oklch(0.857 0.021 131.304);
--accent-foreground: oklch(0.337 0.027 131.815);
--destructive: oklch(0.561 0.223 29.2);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.919 0.021 131.283);
--chart-1: oklch(0.919 0.021 131.283);
--chart-2: oklch(0.857 0.021 131.304);
--chart-3: oklch(0.857 0.021 131.304);
--chart-4: oklch(0.879 0.018 131.265);
--chart-5: oklch(0.921 0.023 131.309);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.14 0.015 130.169);
--foreground: oklch(0.993 0.001 131.092);
--muted: oklch(0.209 0.025 132.267);
--muted-foreground: oklch(0.73 0.026 131.397);
--popover: oklch(0.156 0.018 131.038);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.156 0.018 131.038);
--card-foreground: oklch(1 0 180);
--border: oklch(0.28 0.018 131.669);
--input: oklch(0.28 0.018 131.669);
--primary: oklch(0.919 0.021 131.283);
--primary-foreground: oklch(0.435 0.057 132.364);
--secondary: oklch(0.197 0.008 131.441);
--secondary-foreground: oklch(0.761 0.023 131.347);
--accent: oklch(0.197 0.008 131.441);
--accent-foreground: oklch(0.761 0.023 131.347);
--destructive: oklch(0.615 0.236 28.83);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.919 0.021 131.283);
--chart-1: oklch(0.919 0.021 131.283);
--chart-2: oklch(0.197 0.008 131.441);
--chart-3: oklch(0.197 0.008 131.441);
--chart-4: oklch(0.233 0.01 131.485);
--chart-5: oklch(0.921 0.023 131.309);
}