Glistening is a shadcn/ui theme built around a light pink primary color (#e8cad9) with light red accents (#e8caca). The light mode uses a neutral background (#fdf7fa). Dark mode keeps the light pink primary (#e8cad9) on a pink-tinted background (#0b0408).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fasnow | #0b0408black |
| Foreground | #080305black | #fcf8fasnow |
| Card | #fdf7fasnow | #0b0408black |
| Card foreground | #080305black | #fcf8fasnow |
| Popover | #fdf7fasnow | #0b0408black |
| Popover foreground | #080305black | #fcf8fasnow |
| Primary | #e8cad9thistle | #e8cad9thistle |
| Primary foreground | #592741darkslategray | #592741darkslategray |
| Secondary | #e7cae8gainsboro | #e7cae8gainsboro |
| Secondary foreground | #582759darkslateblue | #582759darkslateblue |
| Muted | #f0dff1lavender | #1f0e20black |
| Muted foreground | #574757darkslategray | #b8a8b8darkgray |
| Accent | #e8cacathistle | #e8cacathistle |
| Accent foreground | #592728saddlebrown | #592728saddlebrown |
| Destructive | #aa3109firebrick | #f4602ftomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e8cad9thistle | #e8cad9thistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.33:1 | AAA |
| Text on card | 19.33:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.56:1 | AAA |
| Muted text | 6.78:1 | AA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.67:1 | AA |
| Text on background | 19.24:1 | AAA |
| Text on card | 19.24:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.56:1 | AAA |
| Muted text | 8.15:1 | AAA |
| Accent | 7.85:1 | AAA |
| Destructive | 6.56:1 | AA |
Paste this into your globals.css to use Glistening in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.008 344.493);
--foreground: oklch(0.107 0.018 344.163);
--muted: oklch(0.923 0.03 325.321);
--muted-foreground: oklch(0.42 0.033 325.622);
--popover: oklch(0.981 0.008 344.493);
--popover-foreground: oklch(0.107 0.018 344.163);
--card: oklch(0.981 0.008 344.493);
--card-foreground: oklch(0.107 0.018 344.163);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.868 0.039 345.402);
--primary-foreground: oklch(0.35 0.081 349.822);
--secondary: oklch(0.872 0.051 325.5);
--secondary-foreground: oklch(0.361 0.101 326.786);
--accent: oklch(0.864 0.034 16.68);
--accent-foreground: oklch(0.342 0.074 20.696);
--destructive: oklch(0.493 0.163 36.105);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.868 0.039 345.402);
--chart-1: oklch(0.868 0.039 345.402);
--chart-2: oklch(0.872 0.051 325.5);
--chart-3: oklch(0.864 0.034 16.68);
--chart-4: oklch(0.898 0.041 325.411);
--chart-5: oklch(0.867 0.042 345.488);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.017 344.256);
--foreground: oklch(0.983 0.004 344.403);
--muted: oklch(0.198 0.042 326.434);
--muted-foreground: oklch(0.75 0.028 325.359);
--popover: oklch(0.125 0.017 344.256);
--popover-foreground: oklch(0.983 0.004 344.403);
--card: oklch(0.125 0.017 344.256);
--card-foreground: oklch(0.983 0.004 344.403);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.868 0.039 345.402);
--primary-foreground: oklch(0.35 0.081 349.822);
--secondary: oklch(0.872 0.051 325.5);
--secondary-foreground: oklch(0.361 0.101 326.786);
--accent: oklch(0.864 0.034 16.68);
--accent-foreground: oklch(0.342 0.074 20.696);
--destructive: oklch(0.673 0.192 37.905);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.868 0.039 345.402);
--chart-1: oklch(0.868 0.039 345.402);
--chart-2: oklch(0.872 0.051 325.5);
--chart-3: oklch(0.864 0.034 16.68);
--chart-4: oklch(0.898 0.041 325.411);
--chart-5: oklch(0.867 0.042 345.488);
}