feat(theme): add MatrixHack and Wired themes#447
Open
xploitoverload wants to merge 8 commits into
Open
Conversation
wanna update
new file: lainwired-preview.svg new file: mine.png modified: src/theme.ts modified: src/trophy.ts new file: wired-preview.svg
Contributor
There was a problem hiding this comment.
Pull request overview
This PR aims to expand theme customization by adding two new themes (matrixhack, wired) and updating documentation to reflect theme availability and usage.
Changes:
- Added
matrixhackandwiredentries to the theme palette (src/theme.ts). - Updated trophy SVG rendering to use a theme-provided frame color (
src/trophy.ts). - Updated README and API UI links/examples related to themes and endpoints (
README.md,api/index.ts).
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| src/trophy.ts | Switches trophy frame stroke color from a constant to a theme-derived value. |
| src/theme.ts | Adds two new theme definitions: matrixhack and wired. |
| README.md | Documents additional themes and updates endpoint/repository links in multiple places. |
| api/index.ts | Updates the “available themes” documentation link shown in the HTML error/form response. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+8
to
+11
| [](https://github.com/xploitoverload/github-profile-trophy/stargazers) | ||
| [](https://github.com/xploitoverload/github-profile-trophy/network/members) | ||
| [](https://github.com/xploitoverload/github-profile-trophy/issues) | ||
| [](https://github.com/xploitoverload/github-profile-trophy/blob/master/LICENSE) |
| <text> | ||
| See all the available themes | ||
| <a href="https://github.com/ryo-ma/github-profile-trophy?tab=readme-ov-file#apply-theme" target="_blank">here</a> | ||
| <a href="https://github.com/xploitoverload/github-profile-trophy?tab=readme-ov-file#apply-theme" target="_blank">here</a> |
Comment on lines
83
to
89
| ``` | ||
| [](https://github.com/ryo-ma/github-profile-trophy) | ||
| [](https://github.com/xploitoverload/github-profile-trophy) | ||
| ``` | ||
|
|
||
| <p align="center"> | ||
| <img src="https://github-profile-trophy.vercel.app/?username=ryo-ma&column=8&rank=SSS,SS,S,AAA,AA,A,B,C" /> | ||
| <img src="https://trophy.cx330.in/?username=ryo-ma&column=8&rank=SSS,SS,S,AAA,AA,A,B,C" /> | ||
| </p> |
Comment on lines
+327
to
+338
|
|
||
| ### matrixhack | ||
|
|
||
| ``` | ||
| https://trophy.cx330.in/?username=ryo-ma&theme=matrixhack | ||
| ``` | ||
|
|
||
| <p align="center"> | ||
| <img width="660" src="lainwired-preview.svg"> | ||
| </p> | ||
|
|
||
|
|
|
|
||
| This product is licensed under the | ||
| [MIT License](https://github.com/ryo-ma/github-profile-trophy/blob/master/LICENSE). | ||
| [MIT License](https://github.com/xploitoverload/github-profile-trophy/blob/master/LICENSE). |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Self-hosted instance
As mentioned in the project notice, I have deployed and am maintaining a public self-hosted instance to help reduce load on the official service.
URL: https://trophy.cx330.in
If you'd like, I'm happy to keep this instance publicly available for the community.
Summary
This pull request adds two new themes:
Changes
matrixhackthemewiredthemeThese themes provide additional customization options while keeping compatibility with the existing renderer.
Thank you for maintaining this awesome project!