Gaseous is a shadcn/ui theme built around a deep blue primary color (#171b2c) with deep green accents (#1b2c17). The light mode uses a neutral background (#f8f9fc). Dark mode keeps the deep blue primary (#171b2c) on a blue-tinted background (#06080f).
| Token | Light | Dark |
|---|---|---|
| Background | #f8f9fcghostwhite | #06080fblack |
| Foreground | #020408black | #ffffffwhite |
| Card | #f4f5fbwhitesmoke | #070a12black |
| Card foreground | #010204black | #ffffffwhite |
| Popover | #f4f5fbwhitesmoke | #070a12black |
| Popover foreground | #010204black | #ffffffwhite |
| Primary | #171b2cblack | #171b2cblack |
| Primary foreground | #a4aed0lightsteelblue | #a4aed0lightsteelblue |
| Secondary | #2c171bblack | #2c171bblack |
| Secondary foreground | #d0a4aesilver | #d0a4aesilver |
| Muted | #eeececlinen | #131111black |
| Muted foreground | #4a4a4adarkslategray | #b5b5b5silver |
| Accent | #1b2c17black | #1b2c17black |
| Accent foreground | #aed0a4silver | #aed0a4silver |
| Destructive | #e60400red | #f00400red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #171b2cblack | #171b2cblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.12:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 7.53:1 | AAA |
| Accent | 8.72:1 | AAA |
| Destructive | 4.81:1 | AA |
| Text on background | 20.03:1 | AAA |
| Text on card | 19.79:1 | AAA |
| Primary button | 7.74:1 | AAA |
| Secondary button | 7.73:1 | AAA |
| Muted text | 9.19:1 | AAA |
| Accent | 8.72:1 | AAA |
| Destructive | 4.45:1 | AA Large |
Paste this into your globals.css to use Gaseous in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 272.605);
--foreground: oklch(0.104 0.015 265.869);
--muted: oklch(0.945 0.003 1.043);
--muted-foreground: oklch(0.409 0 190.305);
--popover: oklch(0.972 0.007 272.578);
--popover-foreground: oklch(0.083 0.012 265.869);
--card: oklch(0.972 0.007 272.578);
--card-foreground: oklch(0.083 0.012 265.869);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.228 0.033 270.691);
--primary-foreground: oklch(0.755 0.05 271.859);
--secondary: oklch(0.234 0.035 5.053);
--secondary-foreground: oklch(0.762 0.054 2.862);
--accent: oklch(0.271 0.044 138.61);
--accent-foreground: oklch(0.822 0.07 138.436);
--destructive: oklch(0.581 0.237 29.382);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.033 270.691);
--chart-1: oklch(0.228 0.033 270.691);
--chart-2: oklch(0.234 0.035 5.053);
--chart-3: oklch(0.271 0.044 138.61);
--chart-4: oklch(0.263 0.042 5.323);
--chart-5: oklch(0.226 0.036 270.445);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.016 268.422);
--foreground: oklch(1 0 180);
--muted: oklch(0.179 0.004 1.62);
--muted-foreground: oklch(0.773 0 180);
--popover: oklch(0.146 0.019 269.708);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.146 0.019 269.708);
--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.228 0.033 270.691);
--primary-foreground: oklch(0.755 0.05 271.859);
--secondary: oklch(0.234 0.035 5.053);
--secondary-foreground: oklch(0.762 0.054 2.862);
--accent: oklch(0.271 0.044 138.61);
--accent-foreground: oklch(0.822 0.07 138.436);
--destructive: oklch(0.6 0.245 29.374);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.033 270.691);
--chart-1: oklch(0.228 0.033 270.691);
--chart-2: oklch(0.234 0.035 5.053);
--chart-3: oklch(0.271 0.044 138.61);
--chart-4: oklch(0.263 0.042 5.323);
--chart-5: oklch(0.226 0.036 270.445);
}