Glistening is a shadcn/ui theme built around a muted pink primary color (#ab96a2) with muted green accents (#96ab9f). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted pink primary (#ab96a2) on a pink-tinted background (#0f050b).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0f050bblack |
| Foreground | #16030eblack | #fdfcfdwhite |
| Card | #ffffffwhite | #0f050bblack |
| Card foreground | #16030eblack | #fdfcfdwhite |
| Popover | #ffffffwhite | #0f050bblack |
| Popover foreground | #16030eblack | #fdfcfdwhite |
| Primary | #ab96a2darkgray | #ab96a2darkgray |
| Primary foreground | #080708black | #080708black |
| Secondary | #96ab9fdarkgray | #96ab9fdarkgray |
| Secondary foreground | #070808black | #070808black |
| Muted | #e3ede7lavender | #121c16black |
| Muted foreground | #525754dimgray | #a8adabdarkgray |
| Accent | #96ab9fdarkgray | #96ab9fdarkgray |
| Accent foreground | #070808black | #070808black |
| Destructive | #8f380fsaddlebrown | #ea6d34tomato |
| Destructive foreground | #fbe1d5antiquewhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ab96a2darkgray | #ab96a2darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.93:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 6.15:1 | AA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.15:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.57:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 7.68:1 | AAA |
| Accent | 8.24:1 | AAA |
| Destructive | 6.74:1 | AA |
Paste this into your globals.css to use Glistening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.146 0.043 346.026);
--muted: oklch(0.937 0.013 161.481);
--muted-foreground: oklch(0.45 0.008 161.379);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.146 0.043 346.026);
--card: oklch(1 0 180);
--card-foreground: oklch(0.146 0.043 346.026);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.696 0.03 342.793);
--primary-foreground: oklch(0.131 0.004 341.812);
--secondary: oklch(0.722 0.029 160.816);
--secondary-foreground: oklch(0.134 0.004 161.804);
--accent: oklch(0.722 0.029 160.816);
--accent-foreground: oklch(0.134 0.004 161.804);
--destructive: oklch(0.456 0.129 41.576);
--destructive-foreground: oklch(0.928 0.032 46.495);
--ring: oklch(0.696 0.03 342.793);
--chart-1: oklch(0.696 0.03 342.793);
--chart-2: oklch(0.722 0.029 160.816);
--chart-3: oklch(0.722 0.029 160.816);
--chart-4: oklch(0.745 0.026 160.935);
--chart-5: oklch(0.693 0.038 343.061);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.137 0.023 343.66);
--foreground: oklch(0.992 0.001 341.843);
--muted: oklch(0.214 0.018 159.626);
--muted-foreground: oklch(0.744 0.007 161.58);
--popover: oklch(0.137 0.023 343.66);
--popover-foreground: oklch(0.992 0.001 341.843);
--card: oklch(0.137 0.023 343.66);
--card-foreground: oklch(0.992 0.001 341.843);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.696 0.03 342.793);
--primary-foreground: oklch(0.131 0.004 341.812);
--secondary: oklch(0.722 0.029 160.816);
--secondary-foreground: oklch(0.134 0.004 161.804);
--accent: oklch(0.722 0.029 160.816);
--accent-foreground: oklch(0.134 0.004 161.804);
--destructive: oklch(0.677 0.169 43.173);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.696 0.03 342.793);
--chart-1: oklch(0.696 0.03 342.793);
--chart-2: oklch(0.722 0.029 160.816);
--chart-3: oklch(0.722 0.029 160.816);
--chart-4: oklch(0.745 0.026 160.935);
--chart-5: oklch(0.693 0.038 343.061);
}