Gas is a shadcn/ui theme built around a muted light cyan primary color (#e9f0f1) with muted cyan accents (#a9ccd0). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the muted light cyan primary (#e9f0f1) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfcmintcream | #010404black |
| Foreground | #010809black | #ffffffwhite |
| Card | #f4fafbmintcream | #020708black |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #f4fafbmintcream | #020708black |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #e9f0f1whitesmoke | #e9f0f1whitesmoke |
| Primary foreground | #1a2729darkslategray | #1a2729darkslategray |
| Secondary | #cbdbdclightgrey | #141515black |
| Secondary foreground | #2f4446darkslategray | #adaeaedarkgray |
| Muted | #e4ebeclavender | #131a1bblack |
| Muted foreground | #404444darkslategray | #bbbebfsilver |
| Accent | #a9ccd0lightsteelblue | #252c2ddarkslategray |
| Accent foreground | #192c2edarkslategray | #bcc7c8silver |
| Destructive | #6a1b0bmaroon | #e94a2bchocolate |
| Destructive foreground | #f7bcb1lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9f0f1whitesmoke | #e9f0f1whitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.48:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 13.36:1 | AAA |
| Secondary button | 7.20:1 | AAA |
| Muted text | 8.17:1 | AAA |
| Accent | 8.50:1 | AAA |
| Destructive | 7.19:1 | AAA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 13.36:1 | AAA |
| Secondary button | 8.24:1 | AAA |
| Muted text | 9.43:1 | AAA |
| Accent | 8.22:1 | AAA |
| Destructive | 3.83:1 | AA Large |
Paste this into your globals.css to use Gas in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.004 204.957);
--foreground: oklch(0.125 0.016 201.731);
--muted: oklch(0.935 0.007 204.932);
--muted-foreground: oklch(0.383 0.005 204.897);
--popover: oklch(0.981 0.006 204.941);
--popover-foreground: oklch(0.099 0.013 201.731);
--card: oklch(0.981 0.006 204.941);
--card-foreground: oklch(0.099 0.013 201.731);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.951 0.008 204.927);
--primary-foreground: oklch(0.262 0.019 204.686);
--secondary: oklch(0.879 0.017 204.853);
--secondary-foreground: oklch(0.37 0.027 204.686);
--accent: oklch(0.821 0.037 204.727);
--accent-foreground: oklch(0.278 0.025 204.723);
--destructive: oklch(0.352 0.115 33.107);
--destructive-foreground: oklch(0.846 0.07 31.439);
--ring: oklch(0.951 0.008 204.927);
--chart-1: oklch(0.951 0.008 204.927);
--chart-2: oklch(0.879 0.017 204.853);
--chart-3: oklch(0.821 0.037 204.727);
--chart-4: oklch(0.9 0.014 204.878);
--chart-5: oklch(0.952 0.009 204.919);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.01 202.429);
--foreground: oklch(1 0 180);
--muted: oklch(0.211 0.01 204.72);
--muted-foreground: oklch(0.8 0.004 204.951);
--popover: oklch(0.123 0.012 202.429);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.012 202.429);
--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.951 0.008 204.927);
--primary-foreground: oklch(0.262 0.019 204.686);
--secondary: oklch(0.193 0.001 204.966);
--secondary-foreground: oklch(0.75 0.002 204.972);
--accent: oklch(0.287 0.01 204.763);
--accent-foreground: oklch(0.821 0.012 204.882);
--destructive: oklch(0.63 0.2 33.17);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.951 0.008 204.927);
--chart-1: oklch(0.951 0.008 204.927);
--chart-2: oklch(0.193 0.001 204.966);
--chart-3: oklch(0.287 0.01 204.763);
--chart-4: oklch(0.227 0.001 204.963);
--chart-5: oklch(0.952 0.009 204.919);
}