Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to change color scheme #40

Open
yangwao opened this issue Jan 16, 2022 · 2 comments
Open

Option to change color scheme #40

yangwao opened this issue Jan 16, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@yangwao
Copy link

yangwao commented Jan 16, 2022

I was thinking to change the colour scheme of particular files, background and circles, would be that possible?

Happy to learn a new trick if you tell me how it could be done.

Oh found hints how to do it probably https://github.com/githubocto/repo-visualizer/blob/main/src/Tree.tsx#L85

@Wattenberger
Copy link
Contributor

that could be a great way to customize the output! The colors are imported from this json file:
https://github.com/githubocto/repo-visualizer/blob/main/src/language-colors.json
https://github.com/githubocto/repo-visualizer/blob/main/src/Tree.tsx#L22

One way would be to extend that object with key/values passed in through an Action configuration.

@yangwao
Copy link
Author

yangwao commented Jan 19, 2022

that could be a great way to customize the output! The colors are imported from this json file: https://github.com/githubocto/repo-visualizer/blob/main/src/language-colors.json https://github.com/githubocto/repo-visualizer/blob/main/src/Tree.tsx#L22

One way would be to extend that object with key/values passed in through an Action configuration.

Lovely! 🥰 Had just good morning to check back for your reply 😇

Let's see if someone can pick it up on our behalf and make PR to repo-visualizer kodadot/nft-gallery#1928

shixin-guo pushed a commit to shixin-guo/repo-visualizer that referenced this issue Mar 9, 2022
Wattenberger added a commit that referenced this issue Mar 30, 2022
feat: Option to change color scheme #40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants