Damant-beaj is a shadcn/ui theme built around a muted green primary color (#809671) with muted green accents (#809671). The light mode uses an orange-tinted background (#e5e0d8). Dark mode switches to a pink primary (#d44996) on a neutral background (#040203).
| Token | Light | Dark |
|---|---|---|
| Background | #e5e0d8gainsboro | #040203black |
| Foreground | #000000black | #ffffffwhite |
| Card | #ffffffwhite | #070305black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #ffffffwhite | #070305black |
| Popover foreground | #10040bblack | #ffffffwhite |
| Primary | #809671gray | #d44996palevioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #b3b792darkgray | #96d449yellowgreen |
| Secondary foreground | #ffffffwhite | #2b4210darkgreen |
| Muted | #e6e9e2gainsboro | #1a1d16black |
| Muted foreground | #809671gray | #a4ad99darkgray |
| Accent | #809671gray | #4996d4cornflowerblue |
| Accent foreground | #ffffffwhite | #000000black |
| Destructive | #809671gray | #ee651bchocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #725c3adarkolivegreen | #201d1fblack |
| Input | #c6c6c6silver | #201d1fblack |
| Ring | #000000black | #d44996palevioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 15.98:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 3.22:1 | AA Large |
| Secondary button | 2.07:1 | Fail |
| Muted text | 2.62:1 | Fail |
| Accent | 3.22:1 | AA Large |
| Destructive | 3.22:1 | AA Large |
| Text on background | 20.74:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 4.03:1 | AA Large |
| Secondary button | 6.26:1 | AA |
| Muted text | 7.32:1 | AAA |
| Accent | 6.58:1 | AA |
| Destructive | 6.50:1 | AA |
Paste this into your globals.css to use Damant-beaj in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.908 0.012 79.777);
--foreground: oklch(0 0 0);
--muted: oklch(0.93 0.01 125.682);
--muted-foreground: oklch(0.646 0.059 132.911);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.135 0.03 344.845);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.488 0.057 77.698);
--input: oklch(0.827 0 172.875);
--primary: oklch(0.646 0.059 132.911);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.767 0.051 112.618);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.646 0.059 132.911);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.646 0.059 132.911);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0 0 0);
--chart-1: oklch(0.646 0.059 132.911);
--chart-2: oklch(0.908 0.012 79.777);
--chart-3: oklch(0.873 0.041 75.764);
--chart-4: oklch(0.766 0.073 69.111);
--chart-5: oklch(0.767 0.051 112.618);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.087 0.011 342.596);
--foreground: oklch(1 0 180);
--muted: oklch(0.225 0.014 127.266);
--muted-foreground: oklch(0.736 0.03 126.963);
--popover: oklch(0.109 0.014 342.596);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.109 0.014 342.596);
--card-foreground: oklch(1 0 180);
--border: oklch(0.236 0.005 343.081);
--input: oklch(0.236 0.005 343.081);
--primary: oklch(0.62 0.19 350.083);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.801 0.18 130.37);
--secondary-foreground: oklch(0.349 0.08 130.529);
--accent: oklch(0.651 0.121 245.847);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.669 0.186 43.536);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.62 0.19 350.083);
--chart-1: oklch(0.62 0.19 350.083);
--chart-2: oklch(0.801 0.18 130.37);
--chart-3: oklch(0.651 0.121 245.847);
--chart-4: oklch(0.814 0.171 129.931);
--chart-5: oklch(0.622 0.197 350.459);
}