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

Dynamic theme change (Dark or Light) #685

Closed
lucasdevtec opened this issue May 22, 2024 · 2 comments
Closed

Dynamic theme change (Dark or Light) #685

lucasdevtec opened this issue May 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@lucasdevtec
Copy link

Dynamic theme change (Dark or Light)

Example: (There are two elements here!)

GitHub stats-Dark

GitHub stats-Light


[![GitHub stats-Dark](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&theme=dark#gh-dark-mode-only)](https://github.com/anuraghazra/github-readme-stats#gh-dark-mode-only)

[![GitHub stats-Light](https://github-readme-stats.vercel.app/api?username=anuraghazra&show_icons=true&theme=default#gh-light-mode-only)](https://github.com/anuraghazra/github-readme-stats#gh-light-mode-only)

It would be really cool to have this functionality!

PS: If it exists, I'm sorry but I didn't find it in the documentation.

Thanks!

@lucasdevtec lucasdevtec added the enhancement New feature or request label May 22, 2024
@DenverCoder1
Copy link
Owner

DenverCoder1 commented May 22, 2024

The theme context feature is part of GitHub and not specific to GitHub Stats, so it works for any images you want including Streak Stats.

I have documentation here in the FAQ on the way that is currently recommended:

https://github.com/DenverCoder1/github-readme-streak-stats/blob/main/docs/faq.md#how-do-i-make-different-images-for-dark-mode-and-light-mode

@lucasdevtec
Copy link
Author

OK I understand! Sorry for the lack of knowledge!

Thank you for your help! <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants