Butane is a shadcn/ui theme built around a light cyan primary color (#a9d3e0) with muted cyan accents (#acc6cd). The light mode uses a neutral background (#ffffff). Dark mode keeps the light cyan primary (#a9d3e0) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020708black |
| Foreground | #020709black | #fcfdfdwhite |
| Card | #fcfcfcsnow | #040a0cblack |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #ffffffwhite | #020708black |
| Popover foreground | #020709black | #fcfdfdwhite |
| Primary | #a9d3e0lightblue | #a9d3e0lightblue |
| Primary foreground | #173640darkslategray | #173640darkslategray |
| Secondary | #c6d3d7lightgrey | #191a1ablack |
| Secondary foreground | #2c3b3fdarkslategray | #b2b3b3darkgray |
| Muted | #d4e7edgainsboro | #12252bblack |
| Muted foreground | #516267dimgray | #98a9aedarkgray |
| Accent | #acc6cdlightsteelblue | #2c3335darkslategray |
| Accent foreground | #1b282ddarkslategray | #c5cccelightgrey |
| Destructive | #691407maroon | #f25840tomato |
| Destructive foreground | #f9b4a9lightpink | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9d3e0lightblue | #a9d3e0lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.25:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 4.99:1 | AA |
| Accent | 8.41:1 | AAA |
| Destructive | 7.11:1 | AAA |
| Text on background | 19.91:1 | AAA |
| Text on card | 19.95:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 6.49:1 | AA |
| Accent | 7.92:1 | AAA |
| Destructive | 6.23:1 | AA |
Paste this into your globals.css to use Butane in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.12 0.014 212.481);
--muted: oklch(0.916 0.021 217.904);
--muted-foreground: oklch(0.483 0.022 218.139);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.12 0.014 212.481);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.095 0.011 212.481);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.841 0.048 218.289);
--primary-foreground: oklch(0.314 0.04 220.297);
--secondary: oklch(0.859 0.016 217.861);
--secondary-foreground: oklch(0.34 0.021 218.359);
--accent: oklch(0.809 0.03 218.031);
--accent-foreground: oklch(0.268 0.02 218.607);
--destructive: oklch(0.342 0.12 31.712);
--destructive-foreground: oklch(0.831 0.083 28.767);
--ring: oklch(0.841 0.048 218.289);
--chart-1: oklch(0.841 0.048 218.289);
--chart-2: oklch(0.859 0.016 217.861);
--chart-3: oklch(0.809 0.03 218.031);
--chart-4: oklch(0.881 0.013 217.836);
--chart-5: oklch(0.843 0.051 218.339);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.119 0.012 213.328);
--foreground: oklch(0.993 0.001 217.751);
--muted: oklch(0.252 0.027 219.418);
--muted-foreground: oklch(0.723 0.02 217.946);
--popover: oklch(0.119 0.012 213.328);
--popover-foreground: oklch(0.993 0.001 217.751);
--card: oklch(0.137 0.013 214.044);
--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.841 0.048 218.289);
--primary-foreground: oklch(0.314 0.04 220.297);
--secondary: oklch(0.216 0.001 217.76);
--secondary-foreground: oklch(0.766 0.001 217.753);
--accent: oklch(0.315 0.01 217.978);
--accent-foreground: oklch(0.84 0.009 217.805);
--destructive: oklch(0.662 0.193 31.35);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.841 0.048 218.289);
--chart-1: oklch(0.841 0.048 218.289);
--chart-2: oklch(0.216 0.001 217.76);
--chart-3: oklch(0.315 0.01 217.978);
--chart-4: oklch(0.249 0.001 217.761);
--chart-5: oklch(0.843 0.051 218.339);
}