Gasket is a shadcn/ui theme built around a muted light green primary color (#c5cec8) with muted light teal accents (#c5cecc). The light mode uses a neutral background (#f7fdf9). Dark mode keeps the muted light green primary (#c5cec8) on a neutral background (#020402).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf9mintcream | #020402black |
| Foreground | #06140bblack | #f5faf7whitesmoke |
| Card | #f7fdf9mintcream | #020402black |
| Card foreground | #06140bblack | #f5faf7whitesmoke |
| Popover | #f7fdf9mintcream | #020402black |
| Popover foreground | #06140bblack | #f5faf7whitesmoke |
| Primary | #c5cec8silver | #c5cec8silver |
| Primary foreground | #2d342fdarkslategray | #2d342fdarkslategray |
| Secondary | #c6cec5silver | #c6cec5silver |
| Secondary foreground | #2e342ddarkslategray | #2e342ddarkslategray |
| Muted | #e1e5e1gainsboro | #1a1e1ablack |
| Muted foreground | #5a7156dimgray | #92a98edarkseagreen |
| Accent | #c5cecclightgrey | #c5cecclightgrey |
| Accent foreground | #2d3433darkslategray | #2d3433darkslategray |
| Destructive | #b9110efirebrick | #f0403dtomato |
| Destructive foreground | #fffafasnow | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c5cec8silver | #c5cec8silver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.32:1 | AAA |
| Text on card | 18.32:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 4.20:1 | AA Large |
| Accent | 7.91:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 7.91:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.63:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Gasket in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.009 157.794);
--foreground: oklch(0.174 0.028 154.946);
--muted: oklch(0.918 0.007 141.048);
--muted-foreground: oklch(0.523 0.051 140.858);
--popover: oklch(0.989 0.009 157.794);
--popover-foreground: oklch(0.174 0.028 154.946);
--card: oklch(0.989 0.009 157.794);
--card-foreground: oklch(0.174 0.028 154.946);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.842 0.012 157.682);
--primary-foreground: oklch(0.317 0.014 157.037);
--secondary: oklch(0.842 0.014 141.029);
--secondary-foreground: oklch(0.317 0.016 140.954);
--accent: oklch(0.844 0.01 186.307);
--accent-foreground: oklch(0.319 0.011 185.716);
--destructive: oklch(0.499 0.197 28.772);
--destructive-foreground: oklch(0.989 0.005 18.433);
--ring: oklch(0.842 0.012 157.682);
--chart-1: oklch(0.842 0.012 157.682);
--chart-2: oklch(0.842 0.014 141.029);
--chart-3: oklch(0.844 0.01 186.307);
--chart-4: oklch(0.865 0.012 141.035);
--chart-5: oklch(0.844 0.017 157.568);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 157.776);
--foreground: oklch(0.98 0.006 157.847);
--muted: oklch(0.231 0.01 140.969);
--muted-foreground: oklch(0.71 0.048 140.92);
--popover: oklch(0.096 0.01 157.776);
--popover-foreground: oklch(0.98 0.006 157.847);
--card: oklch(0.096 0.01 157.776);
--card-foreground: oklch(0.98 0.006 157.847);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.842 0.012 157.682);
--primary-foreground: oklch(0.317 0.014 157.037);
--secondary: oklch(0.842 0.014 141.029);
--secondary-foreground: oklch(0.317 0.016 140.954);
--accent: oklch(0.844 0.01 186.307);
--accent-foreground: oklch(0.319 0.011 185.716);
--destructive: oklch(0.634 0.214 26.517);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.842 0.012 157.682);
--chart-1: oklch(0.842 0.012 157.682);
--chart-2: oklch(0.842 0.014 141.029);
--chart-3: oklch(0.844 0.01 186.307);
--chart-4: oklch(0.865 0.012 141.035);
--chart-5: oklch(0.844 0.017 157.568);
}