Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ Transform your GitHub contribution history into a cinematic 3D monolith.
| `glacier` | Icy sky blue & cyan | `e0f2fe` | `06b6d4` | `0369a1` |
| `lumos` | Void black & mint gold | `0a0a0a` | `fbbf24` | `a7f3d0` |
| `tokyo_night` | Deep navy & soft pastel blue | `1a1b26` | `7aa2f7` | `c0caf5` |
| `monokai` | Classic vibrant dark | `272822` | `a6e22e` | `f8f8f2` |

> **`auto` uses CSS `@media (prefers-color-scheme)`** inside the SVG so the badge switches between the `light` and `dark` palettes based on the viewer's OS setting β€” no JavaScript required. This is ideal for GitHub profile READMEs where visitors may use either mode.

Expand Down
13 changes: 13 additions & 0 deletions THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
| cyberpunk | `#fce22a` | `#111111` | `#ff003c` |
| glacier | `#e0f2fe` | `#0369a1` | `#06b6d4` |
| lumos | `#0a0a0a` | `#a7f3d0` | `#fbbf24` |
| monokai | `#272822` | `#f8f8f2` | `#a6e22e` |

---

Expand Down Expand Up @@ -329,6 +330,18 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>

---

### Monokai

![monokai](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=monokai)

| Parameter | Value |
| --------- | ------ |
| `bg` | 272822 |
| `text` | f8f8f2 |
| `accent` | a6e22e |

---

## Custom Theme

Not finding what you want? Build your own using raw color parameters - all values are hex codes **without** the `#` prefix:
Expand Down
1 change: 1 addition & 0 deletions lib/svg/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const themes: Record<string, BadgeTheme> = {
tokyonight: makeTheme('1a1b26', 'c0caf5', 'f7768e'),
cyberpunk: makeTheme('fce22a', '111111', 'ff003c'),
tokyo_night: makeTheme('1a1b26', 'c0caf5', '7aa2f7'),
monokai: makeTheme('272822', 'f8f8f2', 'a6e22e', 'f92672'),
};

// Auto-theme pairs: the SVG switches between these two palettes
Expand Down
Loading