Blister is a shadcn/ui theme built around a vivid green primary color (#41fe20) with vivid green accents (#20fe6d). The light mode uses a neutral background (#f7fdf6). Dark mode keeps the vivid green primary (#41fe20) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf6mintcream | #000000black |
| Foreground | #061004black | #f9fbf9mintcream |
| Card | #f7fdf6mintcream | #000000black |
| Card foreground | #061004black | #f9fbf9mintcream |
| Popover | #f7fdf6mintcream | #000000black |
| Popover foreground | #061004black | #f9fbf9mintcream |
| Primary | #41fe20limegreen | #41fe20limegreen |
| Primary foreground | #0d5100darkgreen | #0d5100darkgreen |
| Secondary | #b0fe20greenyellow | #b0fe20greenyellow |
| Secondary foreground | #355100darkgreen | #355100darkgreen |
| Muted | #edeeecwhitesmoke | #121311black |
| Muted foreground | #5f6850dimgray | #a7af97darkgray |
| Accent | #20fe6dspringgreen | #20fe6dspringgreen |
| Accent foreground | #00511ddarkgreen | #00511ddarkgreen |
| Destructive | #9a3c09saddlebrown | #e3580dchocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #41fe20limegreen | #41fe20limegreen |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.83:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 5.04:1 | AA |
| Accent | 7.03:1 | AAA |
| Destructive | 6.94:1 | AA |
| Text on background | 20.19:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.02:1 | AAA |
| Secondary button | 7.31:1 | AAA |
| Muted text | 8.19:1 | AAA |
| Accent | 7.03:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Blister in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.011 141.04);
--foreground: oklch(0.159 0.032 139.563);
--muted: oklch(0.948 0.002 122.254);
--muted-foreground: oklch(0.502 0.038 123.431);
--popover: oklch(0.989 0.011 141.04);
--popover-foreground: oklch(0.159 0.032 139.563);
--card: oklch(0.989 0.011 141.04);
--card-foreground: oklch(0.159 0.032 139.563);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.87 0.281 141.416);
--primary-foreground: oklch(0.38 0.125 141.163);
--secondary: oklch(0.912 0.235 128.953);
--secondary-foreground: oklch(0.398 0.105 128.989);
--accent: oklch(0.871 0.246 148.137);
--accent-foreground: oklch(0.38 0.109 148.133);
--destructive: oklch(0.48 0.138 42.712);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.281 141.416);
--chart-1: oklch(0.87 0.281 141.416);
--chart-2: oklch(0.912 0.235 128.953);
--chart-3: oklch(0.871 0.246 148.137);
--chart-4: oklch(0.915 0.228 128.248);
--chart-5: oklch(0.878 0.285 141.475);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 141.06);
--muted: oklch(0.184 0.004 122.53);
--muted-foreground: oklch(0.741 0.035 122.957);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.986 0.002 141.06);
--card: oklch(0 0 0);
--card-foreground: oklch(0.986 0.002 141.06);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.87 0.281 141.416);
--primary-foreground: oklch(0.38 0.125 141.163);
--secondary: oklch(0.912 0.235 128.953);
--secondary-foreground: oklch(0.398 0.105 128.989);
--accent: oklch(0.871 0.246 148.137);
--accent-foreground: oklch(0.38 0.109 148.133);
--destructive: oklch(0.634 0.187 41.937);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.87 0.281 141.416);
--chart-1: oklch(0.87 0.281 141.416);
--chart-2: oklch(0.912 0.235 128.953);
--chart-3: oklch(0.871 0.246 148.137);
--chart-4: oklch(0.915 0.228 128.248);
--chart-5: oklch(0.878 0.285 141.475);
}