Commit 1322d20
authored
feat(ui): add gruvbox and highcontrast theme icons (JhaSourav07#440)
## Description
Added the missing `gruvbox` and `highcontrast` quick preset icons to the
`ThemeQuickPresets` component, resolving the missing icon issue in the
customization panel.
- Designed and implemented a custom SVG lantern/flame icon for the
**Gruvbox** theme.
- Designed and implemented a custom SVG eye icon for the
**Highcontrast** theme.
- Registered both icons in the `ICON_MAP` under
`app/customize/components/ThemeQuickPresets.tsx`.
Fixes JhaSourav07#358
## Pillar
- [x] 🎨 Pillar 1 — New Theme Design
- [ ] 📐 Pillar 2 — Geometric SVG Improvement
- [ ] 🕐 Pillar 3 — Timezone Logic Optimization
- [ ] 🛠️ Other (Bug fix, refactoring, docs)
## Visual Preview
<table align="center">
<tr>
<td align="center">
## GruvBox
<img
src="https://github.com/user-attachments/assets/59b8e408-91f2-4676-b0c4-717c75ea9c0c"
width="500" alt="GruvBox theme preview" />
</td>
<td align="center">
## HighContrast
<img
src="https://github.com/user-attachments/assets/00e5ae83-c69c-460b-9efd-31c5d7995621"
width="539" alt="HighContrast theme preview" />
</td>
</tr>
</table>
## 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 started 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).
- [x] (Recommended) I joined the CommitPulse Discord community for
contributor discussions, mentorship, and faster PR support.1 file changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
309 | 348 | | |
310 | 349 | | |
311 | 350 | | |
| |||
317 | 356 | | |
318 | 357 | | |
319 | 358 | | |
| 359 | + | |
| 360 | + | |
320 | 361 | | |
321 | 362 | | |
322 | 363 | | |
| |||
0 commit comments