Glamorous is a shadcn/ui theme built around a deep green primary color (#155b2c) with muted green accents (#a5c5b0). The light mode uses a neutral background (#fbfdfc). Dark mode keeps the deep green primary (#155b2c) on a green-tinted background (#060e09).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfcwhite | #060e09black |
| Foreground | #06130bblack | #fbfdfcwhite |
| Card | #f8fcf9mintcream | #07120bblack |
| Card foreground | #051008black | #ffffffwhite |
| Popover | #fbfdfcwhite | #060e09black |
| Popover foreground | #06130bblack | #fbfdfcwhite |
| Primary | #155b2cdarkslategray | #155b2cdarkslategray |
| Primary foreground | #b4eec7powderblue | #b4eec7powderblue |
| Secondary | #c4d4c9lightgrey | #2e2e2edarkslategray |
| Secondary foreground | #2b3b30darkslategray | #c7c7c7silver |
| Muted | #dbe1ddgainsboro | #241e1eblack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #a5c5b0darkgray | #3f3737darkslategray |
| Accent foreground | #16221ablack | #d7d1d1lightgrey |
| Destructive | #b91313firebrick | #e71d1dcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #155b2cdarkslategray | #155b2cdarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.65:1 | AAA |
| Text on card | 18.69:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 7.69:1 | AAA |
| Muted text | 4.88:1 | AA |
| Accent | 8.79:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.08:1 | AAA |
| Text on card | 19.06:1 | AAA |
| Primary button | 6.20:1 | AA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 6.35:1 | AA |
| Accent | 7.73:1 | AAA |
| Destructive | 4.56:1 | AA |
Paste this into your globals.css to use Glamorous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.003 157.211);
--foreground: oklch(0.172 0.027 154.408);
--muted: oklch(0.904 0.009 157.055);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(0.993 0.003 157.211);
--popover-foreground: oklch(0.172 0.027 154.408);
--card: oklch(0.987 0.005 157.156);
--card-foreground: oklch(0.157 0.023 155.743);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.418 0.103 150.027);
--primary-foreground: oklch(0.899 0.079 155.321);
--secondary: oklch(0.855 0.023 156.706);
--secondary-foreground: oklch(0.335 0.029 155.383);
--accent: oklch(0.794 0.046 156.016);
--accent-foreground: oklch(0.238 0.023 155.065);
--destructive: oklch(0.5 0.195 28.183);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.418 0.103 150.027);
--chart-1: oklch(0.418 0.103 150.027);
--chart-2: oklch(0.855 0.023 156.706);
--chart-3: oklch(0.794 0.046 156.016);
--chart-4: oklch(0.877 0.019 156.806);
--chart-5: oklch(0.422 0.106 149.727);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.019 156.022);
--foreground: oklch(0.994 0.003 157.208);
--muted: oklch(0.242 0.01 17.887);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.154 0.019 156.022);
--popover-foreground: oklch(0.994 0.003 157.208);
--card: oklch(0.169 0.022 154.74);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.418 0.103 150.027);
--primary-foreground: oklch(0.899 0.079 155.321);
--secondary: oklch(0.301 0 189.462);
--secondary-foreground: oklch(0.829 0 180);
--accent: oklch(0.344 0.012 17.732);
--accent-foreground: oklch(0.864 0.007 17.286);
--destructive: oklch(0.592 0.23 28.09);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.418 0.103 150.027);
--chart-1: oklch(0.418 0.103 150.027);
--chart-2: oklch(0.301 0 189.462);
--chart-3: oklch(0.344 0.012 17.732);
--chart-4: oklch(0.331 0 180);
--chart-5: oklch(0.422 0.106 149.727);
}