DenverCoder1 / github-readme-streak-stats

🔥 Stay motivated and show off your contribution streak! 🌟 Display your total contributions, current streak, and longest streak on your GitHub profile README
https://streak-stats.demolab.com
MIT License
4.66k stars 720 forks source link

Dynamic theme change (Dark or Light) #685

Closed lucasdevtec closed 4 months ago

lucasdevtec commented 4 months ago

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!

DenverCoder1 commented 4 months ago

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 commented 4 months ago

OK I understand! Sorry for the lack of knowledge!

Thank you for your help! <3