Skip to content

Commit 3ff18a9

Browse files
committed
feat(themes): add tokyonight and cyberpunk palettes
1 parent 0783fae commit 3ff18a9

2 files changed

Lines changed: 29 additions & 0 deletions

File tree

THEMES.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
3232
| nord_light | `#eceff4` | `#2e3440` | `#5e81ac` |
3333
| obsidian | `#1a1a2e` | `#e2e8f0` | `#f59e0b` |
3434
| cyber-pulse | `#000000` | `#ffffff` | `#00ffee` |
35+
| tokyonight | `#1a1b26` | `#c0caf5` | `#f7768e` |
36+
| cyberpunk | `#fce22a` | `#111111` | `#ff003c` |
3537

3638
---
3739

@@ -171,6 +173,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
171173

172174
### Gruvbox
173175

176+
174177
![gruvbox](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=gruvbox)
175178

176179
| Parameter | Value |
@@ -277,6 +280,30 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
277280

278281
---
279282

283+
### Tokyo Night
284+
285+
![tokyonight](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=tokyonight)
286+
287+
| Parameter | Value |
288+
| --------- | ------ |
289+
| `bg` | 1a1b26 |
290+
| `text` | c0caf5 |
291+
| `accent` | f7768e |
292+
293+
---
294+
295+
### Cyberpunk
296+
297+
![cyberpunk](https://commitpulse.vercel.app/api/streak?user=jhasourav07&theme=cyberpunk)
298+
299+
| Parameter | Value |
300+
| --------- | ------ |
301+
| `bg` | fce22a |
302+
| `text` | 111111 |
303+
| `accent` | ff003c |
304+
305+
---
306+
280307
## Custom Theme
281308

282309
Not finding what you want? Build your own using raw color parameters - all values are hex codes **without** the `#` prefix:

lib/svg/themes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export const themes: Record<string, BadgeTheme> = {
3434
'cyber-pulse': makeTheme('000000', 'ffffff', '00ffee', 'ff0055'),
3535
glacier: makeTheme('e0f2fe', '0369a1', '06b6d4', 'ef4444'),
3636
lumos: makeTheme('0a0a0a', 'a7f3d0', 'fbbf24', 'ef4444'),
37+
tokyonight: makeTheme('1a1b26', 'c0caf5', 'f7768e'),
38+
cyberpunk: makeTheme('fce22a', '111111', 'ff003c'),
3739
};
3840

3941
// Auto-theme pairs: the SVG switches between these two palettes

0 commit comments

Comments
 (0)