Balcony is a shadcn/ui theme built around a muted green primary color (#a2b578) with muted purple accents (#b578a2). The light mode uses a neutral background (#fdfefb). Dark mode keeps the muted green primary (#a2b578) on a green-tinted background (#0c1004).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #0c1004black |
| Foreground | #060902black | #fafbf9snow |
| Card | #fdfefbwhite | #0c1004black |
| Card foreground | #060902black | #fafbf9snow |
| Popover | #fdfefbwhite | #0c1004black |
| Popover foreground | #060902black | #fafbf9snow |
| Primary | #a2b578darkkhaki | #a2b578darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #78a2b5cadetblue | #78a2b5cadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e3eaedlavender | #12191cblack |
| Muted foreground | #565e61dimgray | #9ea5a9darkgray |
| Accent | #b578a2rosybrown | #b578a2rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #8e1c10darkred | #e94735tomato |
| Destructive foreground | #fad9d6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a2b578darkkhaki | #a2b578darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.75:1 | AAA |
| Text on card | 19.75:1 | AAA |
| Primary button | 9.38:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 5.44:1 | AA |
| Accent | 6.17:1 | AA |
| Destructive | 6.84:1 | AA |
| Text on background | 18.53:1 | AAA |
| Text on card | 18.53:1 | AAA |
| Primary button | 9.38:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 7.12:1 | AAA |
| Accent | 6.17:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Balcony in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 120.821);
--foreground: oklch(0.131 0.023 120.489);
--muted: oklch(0.932 0.009 226.97);
--muted-foreground: oklch(0.476 0.011 227.159);
--popover: oklch(0.995 0.003 120.821);
--popover-foreground: oklch(0.131 0.023 120.489);
--card: oklch(0.995 0.003 120.821);
--card-foreground: oklch(0.131 0.023 120.489);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.743 0.085 122.757);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.687 0.053 228.181);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.649 0.093 339.173);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.423 0.151 30.462);
--destructive-foreground: oklch(0.913 0.037 25.374);
--ring: oklch(0.743 0.085 122.757);
--chart-1: oklch(0.743 0.085 122.757);
--chart-2: oklch(0.687 0.053 228.181);
--chart-3: oklch(0.649 0.093 339.173);
--chart-4: oklch(0.711 0.049 227.99);
--chart-5: oklch(0.75 0.093 122.944);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.164 0.025 122.202);
--foreground: oklch(0.986 0.002 120.802);
--muted: oklch(0.207 0.012 227.765);
--muted-foreground: oklch(0.718 0.01 227.031);
--popover: oklch(0.164 0.025 122.202);
--popover-foreground: oklch(0.986 0.002 120.802);
--card: oklch(0.164 0.025 122.202);
--card-foreground: oklch(0.986 0.002 120.802);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.743 0.085 122.757);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.687 0.053 228.181);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.649 0.093 339.173);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.627 0.201 29.996);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.743 0.085 122.757);
--chart-1: oklch(0.743 0.085 122.757);
--chart-2: oklch(0.687 0.053 228.181);
--chart-3: oklch(0.649 0.093 339.173);
--chart-4: oklch(0.711 0.049 227.99);
--chart-5: oklch(0.75 0.093 122.944);
}