Dynamic themes #1415
-
|
Is there a way to make a card appear with the GitHub light or dark theme depending on the user's settings? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
-
|
No. You should choose your theme manually. |
Beta Was this translation helpful? Give feedback.
-
|
Dynamic themes would be very nice.. |
Beta Was this translation helpful? Give feedback.
-
|
Actually, there is a clever way which was referred in #1268. It makes the background transparent so it looks good on both GitHub themes. |
Beta Was this translation helpful? Give feedback.
-
|
I've solved it by using the See it working here- |
Beta Was this translation helpful? Give feedback.
-
|
All the currently available ways for creating a dynamic theme are now documented in the README.md (See https://github.com/anuraghazra/github-readme-stats#responsive-card-theme). |
Beta Was this translation helpful? Give feedback.


I've solved it by using the
#gh-dark-mode-onlyin anchor href and then place image inside it. Check my profile readmeSee it working here-
https://twitter.com/dev__adi/status/1491851695714111488