github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

Transparent card of stats

Open mjovanc opened this issue 2 years ago • 6 comments

Is your feature request related to a problem? Please describe. The card does not work well when switching by light/dark mode.

Describe the solution you'd like Would like to have a transparent card of stats with black/white text that adjusts based on current GitHub theme (if possible).

Describe alternatives you've considered Nothing to add here.

Additional context No screenshots or material to share.

mjovanc avatar Jun 08 '22 19:06 mjovanc

@mjovanc Thanks for your feature request. There already exist several PRs that give the desired behaviour (see #1785 & #1010). We, however, did not yet find the time to look at them. You can, however, already use them on your fork and provide feedback to these PRs. 🚀

rickstaa avatar Jun 09 '22 19:06 rickstaa

@mjovanc You can also use the solutions provided in #1415. An example of a dynamic card can be seen on my profile.

rickstaa avatar Jun 09 '22 19:06 rickstaa

Sweet. Thanks @rickstaa !

mjovanc avatar Jun 10 '22 10:06 mjovanc

No problem. I think we can keep this open as a feature request for tracking https://github.com/anuraghazra/github-readme-stats/pull/1785 & https://github.com/anuraghazra/github-readme-stats/pull/1010. Feel free to unsubscribe if my previous comments already are what you had in mind.

rickstaa avatar Jun 10 '22 10:06 rickstaa

We can also add the bg_color=00000000 property to the card tag to make it transparent.

Originally posted by @HaiderSultanArc in https://github.com/anuraghazra/github-readme-stats/issues/1981#issuecomment-1229209505

rickstaa avatar Aug 27 '22 22:08 rickstaa

@rickstaa You are the MAN! This works beautifully!

jsolly avatar Sep 12 '22 04:09 jsolly

This feature was implemented in 406dbc5656ea8e12ff224967cd7ebacc5f0d8729.

rickstaa avatar Oct 02 '22 11:10 rickstaa