Gasket is a shadcn/ui theme built around a deep green primary color (#061d0e) with deep orange accents (#1d0e06). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep green primary (#061d0e) on a green-tinted background (#030c06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030c06black |
| Foreground | #000000black | #f7f8f7whitesmoke |
| Card | #fcfcfcsnow | #051008black |
| Card foreground | #000000black | #f9fafaghostwhite |
| Popover | #fcfcfcsnow | #051008black |
| Popover foreground | #000000black | #f9fafaghostwhite |
| Primary | #061d0eblack | #061d0eblack |
| Primary foreground | #2ac65emediumseagreen | #2ac65emediumseagreen |
| Secondary | #0e061dblack | #0e061dblack |
| Secondary foreground | #d7c8f3thistle | #d7c8f3thistle |
| Muted | #e2dceflavender | #161023black |
| Muted foreground | #48464edarkslategray | #b4b1b9silver |
| Accent | #1d0e06black | #1d0e06black |
| Accent foreground | #e29974darksalmon | #e29974darksalmon |
| Destructive | #792901saddlebrown | #f75402orangered |
| Destructive foreground | #fec9aepeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #061d0eblack | #061d0eblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 6.96:1 | AA |
| Accent | 8.08:1 | AAA |
| Destructive | 6.63:1 | AA |
| Text on background | 18.62:1 | AAA |
| Text on card | 18.55:1 | AAA |
| Primary button | 7.81:1 | AAA |
| Secondary button | 12.63:1 | AAA |
| Muted text | 8.74:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 3.36:1 | AA Large |
Paste this into your globals.css to use Gasket in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.906 0.026 301.038);
--muted-foreground: oklch(0.399 0.015 300.879);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.209 0.043 152.254);
--primary-foreground: oklch(0.726 0.191 149.076);
--secondary: oklch(0.152 0.049 296.169);
--secondary-foreground: oklch(0.859 0.061 300.346);
--accent: oklch(0.184 0.031 48.195);
--accent-foreground: oklch(0.746 0.101 47.275);
--destructive: oklch(0.397 0.12 41.333);
--destructive-foreground: oklch(0.876 0.071 47.893);
--ring: oklch(0.209 0.043 152.254);
--chart-1: oklch(0.209 0.043 152.254);
--chart-2: oklch(0.152 0.049 296.169);
--chart-3: oklch(0.184 0.031 48.195);
--chart-4: oklch(0.179 0.064 294.367);
--chart-5: oklch(0.21 0.044 152.108);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.021 156.748);
--foreground: oklch(0.978 0.002 157.221);
--muted: oklch(0.192 0.037 298.198);
--muted-foreground: oklch(0.764 0.013 301.221);
--popover: oklch(0.158 0.024 155.659);
--popover-foreground: oklch(0.985 0.001 157.236);
--card: oklch(0.158 0.024 155.659);
--card-foreground: oklch(0.985 0.001 157.236);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.209 0.043 152.254);
--primary-foreground: oklch(0.726 0.191 149.076);
--secondary: oklch(0.152 0.049 296.169);
--secondary-foreground: oklch(0.859 0.061 300.346);
--accent: oklch(0.184 0.031 48.195);
--accent-foreground: oklch(0.746 0.101 47.275);
--destructive: oklch(0.663 0.211 39.148);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.209 0.043 152.254);
--chart-1: oklch(0.209 0.043 152.254);
--chart-2: oklch(0.152 0.049 296.169);
--chart-3: oklch(0.184 0.031 48.195);
--chart-4: oklch(0.179 0.064 294.367);
--chart-5: oklch(0.21 0.044 152.108);
}