Commit f89d184
authored
Refactor: rename auto theme aliases (JhaSourav07#589)
## Description
Fixes JhaSourav07#357
Refactored the auto theme alias naming for better clarity and
consistency across the SVG theme generation logic.
## Pillar
* [ ] π¨ Pillar 1 β New Theme Design
* [ ] π Pillar 2 β Geometric SVG Improvement
* [ ] π Pillar 3 β Timezone Logic Optimization
* [x] π οΈ Other (Bug fix, refactoring, docs)
### Changes made
* Renamed 'AUTO_LIGHT_THEME' to 'AUTO_THEME_LIGHT'
* Renamed 'AUTO_DARK_THEME' to 'AUTO_THEME_DARK'
* Verified there are no leftover references to old aliases
## Visual Preview
N/A β This PR only includes internal constant renaming/refactoring
changes.
## 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=Harshitbhardwaj468').
* [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): ...').
* [ ] 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 server for faster
collaboration, mentorship, and PR support.2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
241 | | - | |
| 240 | + | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
| 429 | + | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
| 32 | + | |
| 33 | + | |
0 commit comments