CGA Pink Mole is a shadcn/ui theme built around a vivid purple primary color (#fe16c4) with muted purple accents (#caafc3). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid purple primary (#fe16c4) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #090107black | #faf9fasnow |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040103black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #030303black |
| Popover foreground | #040103black | #fdfcfdwhite |
| Primary | #fe16c4deeppink | #fe16c4deeppink |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dcd0d9lightgrey | #242324black |
| Secondary foreground | #463541darkslategray | #bebbbdsilver |
| Muted | #e9e7e9lavender | #181618black |
| Muted foreground | #5f535cdimgray | #aca0a9darkgray |
| Accent | #caafc3silver | #3b3038darkslategray |
| Accent foreground | #2b1d27darkslategray | #d3cad1lightgrey |
| Destructive | #790e02maroon | #fc3822orangered |
| Destructive foreground | #feb7aflightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fe16c4deeppink | #fe16c4deeppink |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.60:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 3.43:1 | AA Large |
| Secondary button | 7.64:1 | AAA |
| Muted text | 5.92:1 | AA |
| Accent | 8.00:1 | AAA |
| Destructive | 6.74:1 | AA |
| Text on background | 19.99:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 3.43:1 | AA Large |
| Secondary button | 8.21:1 | AAA |
| Muted text | 7.17:1 | AAA |
| Accent | 7.87:1 | AAA |
| Destructive | 3.67:1 | AA Large |
Paste this into your globals.css to use CGA Pink Mole in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.105 0.03 334.809);
--muted: oklch(0.93 0.004 333.95);
--muted-foreground: oklch(0.458 0.022 334.662);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.083 0.024 334.809);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.083 0.024 334.809);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.673 0.282 342.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.871 0.017 334.204);
--secondary-foreground: oklch(0.351 0.032 335.342);
--accent: oklch(0.784 0.041 334.725);
--accent-foreground: oklch(0.251 0.029 335.712);
--destructive: oklch(0.368 0.141 30.995);
--destructive-foreground: oklch(0.842 0.084 26.114);
--ring: oklch(0.673 0.282 342.434);
--chart-1: oklch(0.673 0.282 342.434);
--chart-2: oklch(0.871 0.017 334.204);
--chart-3: oklch(0.784 0.041 334.725);
--chart-4: oklch(0.895 0.014 334.134);
--chart-5: oklch(0.678 0.286 342.663);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.984 0.002 333.905);
--muted: oklch(0.202 0.006 334.362);
--muted-foreground: oklch(0.718 0.02 334.33);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 333.891);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 333.891);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.673 0.282 342.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.258 0.003 334.065);
--secondary-foreground: oklch(0.796 0.004 333.963);
--accent: oklch(0.325 0.02 334.903);
--accent-foreground: oklch(0.848 0.015 334.164);
--destructive: oklch(0.645 0.233 30.489);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.673 0.282 342.434);
--chart-1: oklch(0.673 0.282 342.434);
--chart-2: oklch(0.258 0.003 334.065);
--chart-3: oklch(0.325 0.02 334.903);
--chart-4: oklch(0.289 0.003 334.075);
--chart-5: oklch(0.678 0.286 342.663);
}