Gaseous is a shadcn/ui theme built around a purple primary color (#b875a7) with red accents (#b87586). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#b875a7) on a purple-tinted background (#0e060c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e060cblack |
| Foreground | #11040eblack | #ffffffwhite |
| Card | #ffffffwhite | #0e060cblack |
| Card foreground | #11040eblack | #ffffffwhite |
| Popover | #ffffffwhite | #0e060cblack |
| Popover foreground | #11040eblack | #ffffffwhite |
| Primary | #b875a7rosybrown | #b875a7rosybrown |
| Primary foreground | #000000black | #000000black |
| Secondary | #a775b8mediumpurple | #a775b8mediumpurple |
| Secondary foreground | #000000black | #000000black |
| Muted | #ede7eelavender | #161118black |
| Muted foreground | #676567dimgray | #9a989adarkgray |
| Accent | #b87586rosybrown | #b87586rosybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #a12608firebrick | #f4461aorangered |
| Destructive foreground | #fde3ddmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b875a7rosybrown | #b875a7rosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.88:1 | AA |
| Muted text | 4.73:1 | AA |
| Accent | 5.92:1 | AA |
| Destructive | 6.16:1 | AA |
| Text on background | 19.98:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 6.13:1 | AA |
| Secondary button | 5.88:1 | AA |
| Muted text | 6.51:1 | AA |
| Accent | 5.92:1 | AA |
| Destructive | 3.65:1 | AA Large |
Paste this into your globals.css to use Gaseous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.136 0.035 336.401);
--muted: oklch(0.934 0.012 317.742);
--muted-foreground: oklch(0.509 0.004 317.751);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.136 0.035 336.401);
--card: oklch(1 0 180);
--card-foreground: oklch(0.136 0.035 336.401);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.649 0.107 336.442);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.112 317.432);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.638 0.086 3.565);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.466 0.163 33.781);
--destructive-foreground: oklch(0.936 0.03 34.303);
--ring: oklch(0.649 0.107 336.442);
--chart-1: oklch(0.649 0.107 336.442);
--chart-2: oklch(0.638 0.112 317.432);
--chart-3: oklch(0.638 0.086 3.565);
--chart-4: oklch(0.664 0.103 317.481);
--chart-5: oklch(0.648 0.116 336.67);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.022 335.574);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.018 317.602);
--muted-foreground: oklch(0.682 0.003 317.755);
--popover: oklch(0.139 0.022 335.574);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.022 335.574);
--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.649 0.107 336.442);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.638 0.112 317.432);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.638 0.086 3.565);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.643 0.217 34.195);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.649 0.107 336.442);
--chart-1: oklch(0.649 0.107 336.442);
--chart-2: oklch(0.638 0.112 317.432);
--chart-3: oklch(0.638 0.086 3.565);
--chart-4: oklch(0.664 0.103 317.481);
--chart-5: oklch(0.648 0.116 336.67);
}