Pulse is a shadcn/ui theme built around a vivid cyan primary color (#0294a1) with vivid green accents (#94a102). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the vivid cyan primary (#0294a1) on a neutral background (#020708).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #020708black |
| Foreground | #020708black | #fcfdfdwhite |
| Card | #f7fcfcmintcream | #030b0cblack |
| Card foreground | #010404black | #ffffffwhite |
| Popover | #f7fcfcmintcream | #030b0cblack |
| Popover foreground | #010404black | #ffffffwhite |
| Primary | #0294a1darkcyan | #0294a1darkcyan |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #a10294darkmagenta | #a10294darkmagenta |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #eae6e9lavender | #191518black |
| Muted foreground | #5b575bdimgray | #a8a4a7darkgray |
| Accent | #94a102olive | #94a102olive |
| Accent foreground | #000000black | #000000black |
| Destructive | #82280dsaddlebrown | #d54215chocolate |
| Destructive foreground | #f9d3c7peachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0294a1darkcyan | #0294a1darkcyan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.92:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 3.66:1 | AA Large |
| Secondary button | 7.12:1 | AAA |
| Muted text | 5.75:1 | AA |
| Accent | 7.33:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 19.83:1 | AAA |
| Text on card | 19.83:1 | AAA |
| Primary button | 3.66:1 | AA Large |
| Secondary button | 7.12:1 | AAA |
| Muted text | 7.33:1 | AAA |
| Accent | 7.33:1 | AAA |
| Destructive | 4.53:1 | AA |
Paste this into your globals.css to use Pulse in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 203.559);
--foreground: oklch(0.123 0.013 201.109);
--muted: oklch(0.93 0.005 328.123);
--muted-foreground: oklch(0.463 0.007 328.219);
--popover: oklch(0.988 0.005 203.536);
--popover-foreground: oklch(0.098 0.01 201.109);
--card: oklch(0.988 0.005 203.536);
--card-foreground: oklch(0.098 0.01 201.109);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.607 0.104 205.972);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.489 0.219 332.868);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.674 0.153 115.494);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.412 0.129 36.29);
--destructive-foreground: oklch(0.896 0.046 37.597);
--ring: oklch(0.607 0.104 205.972);
--chart-1: oklch(0.607 0.104 205.972);
--chart-2: oklch(0.489 0.219 332.868);
--chart-3: oklch(0.674 0.153 115.494);
--chart-4: oklch(0.523 0.234 332.9);
--chart-5: oklch(0.614 0.105 206.127);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 201.109);
--foreground: oklch(0.993 0.001 203.572);
--muted: oklch(0.202 0.008 328.451);
--muted-foreground: oklch(0.723 0.006 328.153);
--popover: oklch(0.141 0.015 201.569);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.015 201.569);
--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.607 0.104 205.972);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.489 0.219 332.868);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.674 0.153 115.494);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.588 0.191 35.8);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.607 0.104 205.972);
--chart-1: oklch(0.607 0.104 205.972);
--chart-2: oklch(0.489 0.219 332.868);
--chart-3: oklch(0.674 0.153 115.494);
--chart-4: oklch(0.523 0.234 332.9);
--chart-5: oklch(0.614 0.105 206.127);
}