Lounge is a shadcn/ui theme built around a muted deep green primary color (#172315) with muted green accents (#b6c7b2). The light mode uses a neutral background (#fcfdfb). Dark mode keeps the muted deep green primary (#172315) on a neutral background (#030802).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfdfbsnow | #030802black |
| Foreground | #030802black | #f6faf5whitesmoke |
| Card | #f9fcf8mintcream | #050c04black |
| Card foreground | #020401black | #f9fcf8mintcream |
| Popover | #f9fcf8mintcream | #050c04black |
| Popover foreground | #020401black | #f9fcf8mintcream |
| Primary | #172315black | #172315black |
| Primary foreground | #a9c8a2darkgray | #a9c8a2darkgray |
| Secondary | #cfd4celightgrey | #1b231ablack |
| Secondary foreground | #363c34darkslategray | #b0c3acsilver |
| Muted | #d6ded4gainsboro | #232b21darkslategray |
| Muted foreground | #3e4f3bdarkslategray | #b4c4b0silver |
| Accent | #b6c7b2silver | #2b4026darkslategray |
| Accent foreground | #20291eblack | #c4d9bfsilver |
| Destructive | #b80c00firebrick | #ff1f0fred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #172315black | #172315black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.85:1 | AAA |
| Text on card | 19.87:1 | AAA |
| Primary button | 8.87:1 | AAA |
| Secondary button | 7.55:1 | AAA |
| Muted text | 6.37:1 | AA |
| Accent | 8.46:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 19.15:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 8.87:1 | AAA |
| Secondary button | 8.59:1 | AAA |
| Muted text | 7.94:1 | AAA |
| Accent | 7.54:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Lounge in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 139.988);
--foreground: oklch(0.125 0.025 138.05);
--muted: oklch(0.891 0.016 139.975);
--muted-foreground: oklch(0.407 0.04 139.917);
--popover: oklch(0.987 0.006 139.985);
--popover-foreground: oklch(0.099 0.02 138.05);
--card: oklch(0.987 0.006 139.985);
--card-foreground: oklch(0.099 0.02 138.05);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.241 0.032 139.909);
--primary-foreground: oklch(0.8 0.063 139.927);
--secondary: oklch(0.865 0.01 139.98);
--secondary-foreground: oklch(0.348 0.016 139.951);
--accent: oklch(0.811 0.035 139.953);
--accent-foreground: oklch(0.27 0.025 139.92);
--destructive: oklch(0.494 0.198 30.027);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.032 139.909);
--chart-1: oklch(0.241 0.032 139.909);
--chart-2: oklch(0.865 0.01 139.98);
--chart-3: oklch(0.811 0.035 139.953);
--chart-4: oklch(0.888 0.009 139.982);
--chart-5: oklch(0.243 0.035 139.91);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.021 138.354);
--foreground: oklch(0.98 0.008 139.984);
--muted: oklch(0.279 0.021 139.929);
--muted-foreground: oklch(0.803 0.034 139.954);
--popover: oklch(0.141 0.024 138.405);
--popover-foreground: oklch(0.987 0.005 139.986);
--card: oklch(0.141 0.024 138.405);
--card-foreground: oklch(0.987 0.005 139.986);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.241 0.032 139.909);
--primary-foreground: oklch(0.8 0.063 139.927);
--secondary: oklch(0.247 0.022 139.922);
--secondary-foreground: oklch(0.797 0.038 139.95);
--accent: oklch(0.345 0.051 139.911);
--accent-foreground: oklch(0.862 0.041 139.949);
--destructive: oklch(0.636 0.25 29.756);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.241 0.032 139.909);
--chart-1: oklch(0.241 0.032 139.909);
--chart-2: oklch(0.247 0.022 139.922);
--chart-3: oklch(0.345 0.051 139.911);
--chart-4: oklch(0.281 0.026 139.919);
--chart-5: oklch(0.243 0.035 139.91);
}