Gaseous is a shadcn/ui theme built around a muted deep indigo primary color (#373546) with muted deep green accents (#354637). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep indigo primary (#373546) on a neutral background (#030208).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030208black |
| Foreground | #070515black | #f9f8fcghostwhite |
| Card | #fcfcfcsnow | #05040cblack |
| Card foreground | #060411black | #fcfcfdwhite |
| Popover | #fcfcfcsnow | #05040cblack |
| Popover foreground | #060411black | #fcfcfdwhite |
| Primary | #373546darkslategray | #373546darkslategray |
| Primary foreground | #d2d0dclightgrey | #d2d0dclightgrey |
| Secondary | #463735darkslategray | #463735darkslategray |
| Secondary foreground | #dcd2d0lightgrey | #dcd2d0lightgrey |
| Muted | #f2e5e3mistyrose | #1c0f0dblack |
| Muted foreground | #5a5453dimgray | #aca6a5darkgray |
| Accent | #354637darkslategray | #354637darkslategray |
| Accent foreground | #d0dcd2lightgrey | #d0dcd2lightgrey |
| Destructive | #832c07saddlebrown | #f46a2ftomato |
| Destructive foreground | #fcd2c0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #373546darkslategray | #373546darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 6.06:1 | AA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.49:1 | AA |
| Text on background | 19.50:1 | AAA |
| Text on card | 19.93:1 | AAA |
| Primary button | 7.86:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.78:1 | AAA |
| Accent | 7.15:1 | AAA |
| Destructive | 6.94:1 | AA |
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.13 0.037 288.959);
--muted: oklch(0.933 0.014 29.524);
--muted-foreground: oklch(0.452 0.008 29.535);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.119 0.032 290.064);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.119 0.032 290.064);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.337 0.03 291.583);
--primary-foreground: oklch(0.864 0.016 292.963);
--secondary: oklch(0.353 0.021 29.805);
--secondary-foreground: oklch(0.872 0.011 29.514);
--accent: oklch(0.374 0.033 149.024);
--accent-foreground: oklch(0.883 0.018 149.979);
--destructive: oklch(0.418 0.127 39.511);
--destructive-foreground: oklch(0.895 0.053 44.48);
--ring: oklch(0.337 0.03 291.583);
--chart-1: oklch(0.337 0.03 291.583);
--chart-2: oklch(0.353 0.021 29.805);
--chart-3: oklch(0.374 0.033 149.024);
--chart-4: oklch(0.381 0.024 29.816);
--chart-5: oklch(0.333 0.036 291.153);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.098 0.019 291.7);
--foreground: oklch(0.981 0.004 293.223);
--muted: oklch(0.186 0.022 30.338);
--muted-foreground: oklch(0.729 0.007 29.501);
--popover: oklch(0.113 0.022 291.606);
--popover-foreground: oklch(0.991 0.002 293.265);
--card: oklch(0.113 0.022 291.606);
--card-foreground: oklch(0.991 0.002 293.265);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.337 0.03 291.583);
--primary-foreground: oklch(0.864 0.016 292.963);
--secondary: oklch(0.353 0.021 29.805);
--secondary-foreground: oklch(0.872 0.011 29.514);
--accent: oklch(0.374 0.033 149.024);
--accent-foreground: oklch(0.883 0.018 149.979);
--destructive: oklch(0.686 0.184 41.367);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.337 0.03 291.583);
--chart-1: oklch(0.337 0.03 291.583);
--chart-2: oklch(0.353 0.021 29.805);
--chart-3: oklch(0.374 0.033 149.024);
--chart-4: oklch(0.381 0.024 29.816);
--chart-5: oklch(0.333 0.036 291.153);
}