Skip to content

Commit 508143c

Browse files
authored
feat: add synthwave theme (JhaSourav07#83)
## Description Fixes JhaSourav07#56 Adds a `synthwave` theme — retro 80s-inspired palette with deep indigo background (`#0d0221`), neon pink accent glow (`#ff2d78`), and crisp off-white text (`#f8f8f2`). ## Pillar - [x] 🎨 Pillar 1 — New Theme Design - [ ] 📐 Pillar 2 — Geometric SVG Improvement - [ ] 🕐 Pillar 3 — Timezone Logic Optimization - [ ] 🛠️ Other (Bug fix, refactoring, docs) ## Visual Preview ![Synthwave Theme Preview](https://github.com/Priyanshu-byte-coder/commitpulse/blob/feat/synthwave-theme/assets/themes/synthwave.png?raw=true) **Colors:** | Key | Hex | Role | |---|---|---| | `bg` | `#0d0221` | Deep space indigo | | `text` | `#f8f8f2` | Off-white | | `accent` | `#ff2d78` | Neon pink glow | **Usage:** `/api/streak?user=yourusername&theme=synthwave` ## Checklist before requesting a review: - [x] I have read the `CONTRIBUTING.md` file. - [x] I have tested these changes locally (`localhost:3000/api/streak?user=YOUR_USERNAME`). - [x] I have run `npm run format` and `npm run lint` locally and resolved all errors (CI will fail otherwise). - [x] My commits follow the Conventional Commits format (e.g., `feat(themes): ...`, `fix(calculate): ...`). - [x] I have updated `README.md` if I added a new theme or URL parameter. - [x] I have starred the repo. - [x] I have made sure that I have only one commit to merge in this PR. - [x] The SVG output matches the CommitPulse "premium quality" aesthetic standard (no raw elements, smooth animations, correct fonts).
2 parents a07022c + 1d8604d commit 508143c

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

THEMES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,11 @@ Usage: `/api/streak?user=yourusername&theme=rose`
8181
![Nord](assets/themes/nord.png)
8282

8383
Usage: `/api/streak?user=yourusername&theme=nord`
84+
85+
## 🌆 Synthwave
86+
87+
![Synthwave](assets/themes/synthwave.png)
88+
89+
Retro 80s-inspired palette — deep indigo background, neon pink glow, crisp white text.
90+
91+
Usage: `/api/streak?user=yourusername&theme=synthwave`

assets/themes/synthwave.png

80.7 KB
Loading

lib/svg/themes.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,9 @@ export const themes: Record<string, BadgeTheme> = {
5252
text: 'd8dee9',
5353
accent: '88c0d0',
5454
},
55+
synthwave: {
56+
bg: '0d0221',
57+
text: 'f8f8f2',
58+
accent: 'ff2d78',
59+
},
5560
};

0 commit comments

Comments
 (0)