Skip to content
Open
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
11 changes: 11 additions & 0 deletions THEMES.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ https://commitpulse.vercel.app/api/streak?user=YOUR_USERNAME&theme=<slug>
| monokai | `#272822` | `#f8f8f2` | `#a6e22e` |
| retro-terminal | `#000000` | `#00ff41` | `#00ff41` |
| midnight_ocean | `#020c1b` | `#ccd6f6` | `#0af5ff` |
| catppuccin_mocha | `#1e1e2e` | `#cdd6f4` | `#cba6f7` |

---

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

---

### Catppuccin Mocha

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

| Parameter | Value |
| --------- | ------ |
| `bg` | 1e1e2e |
| `text` | cdd6f4 |
| `accent` | cba6f7 |

## Custom Theme

Not finding what you want? Build your own using raw color parameters - all values are hex codes **without** the `#` prefix:
Expand Down
37 changes: 37 additions & 0 deletions created_issues.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
[
7999,
{
"title": "feat(themes): Add Catppuccin Mocha theme preset",
"body": "### Description\nAdd the popular Catppuccin Mocha theme preset for the badge. Colors: Background #1e1e2e, Text #cdd6f4, Accent #cba6f7."
}
],
[
8000,
{
"title": "feat(themes): Add Rose Pine theme preset",
"body": "### Description\nAdd the Rose Pine theme preset for the badge. Colors: Background #191724, Text #e0def4, Accent #c4a7e7."
}
],
[
8001,
{
"title": "feat(themes): Add Ayu Mirage theme preset",
"body": "### Description\nAdd the Ayu Mirage theme preset for the badge. Colors: Background #212733, Text #D9D7CE, Accent #FFCC66."
}
],
[
8002,
{
"title": "feat(calendar): Add support for a start_day parameter to start weeks on Monday",
"body": "### Description\nGitHub defaults to starting the week on Sunday, but many users prefer Monday. We should add a ?start_day=1 parameter to chunkDaysIntoWeeks logic to shift the calendar offset."
}
],
[
8003,
{
"title": "feat(weekday): Add hide_weekend parameter to the weekday graph",
"body": "### Description\nAdd a ?hide_weekend=true parameter that filters out Saturday and Sunday from the weekday view so developers can exclusively display their work-week activity."
}
]
]
2 changes: 1 addition & 1 deletion lib/svg/themes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('theme count', () => {
// If this fails, either a theme was added to themes.ts without updating
// THEMES.md, or a theme was removed without updating the docs.
// Update this count when intentionally adding/removing themes.
expect(themeNames).toHaveLength(32);
expect(themeNames).toHaveLength(33);
});

it('contains all expected theme keys', () => {
Expand Down
1 change: 1 addition & 0 deletions lib/svg/themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export const themes: Record<string, BadgeTheme> = {
enterprise: makeTheme('1a1a2e', 'e2e8f0', '6366f1', '8b5cf6'),
// India theme β€” saffron accent (#FF9933), India green negative (#138808)
india: makeTheme('0a0a0a', 'ffffff', 'FF9933', '138808'),
catppuccin_mocha: makeTheme('1e1e2e', 'cdd6f4', 'cba6f7', 'f38ba8'),
};

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