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

Automatically switch between day and night themes #1001

Closed
chachako opened this issue Apr 18, 2021 · 6 comments
Closed

Automatically switch between day and night themes #1001

chachako opened this issue Apr 18, 2021 · 6 comments
Labels
enhancement New feature or request.

Comments

@chachako
Copy link

I hope that two themes can be set, which are displayed during the day and night respectively.

In the github night mode, displaying the white README element is really bad~~

@weensy
Copy link

weensy commented May 3, 2021

I totally agree. Since we can't use CSS in README.md, we need to do something about it.

@rickstaa
Copy link
Collaborator

rickstaa commented May 3, 2022

Putting this guide here as a reference. I will probably update the README in the future so that we can close this PR.

@rickstaa rickstaa added enhancement New feature or request. and removed feature labels Jul 25, 2022
@rickstaa rickstaa removed the popular label Sep 22, 2022
@rickstaa
Copy link
Collaborator

rickstaa commented Oct 1, 2022

Things that need to be done to close this issue:

@rickstaa
Copy link
Collaborator

rickstaa commented Oct 2, 2022

I just included a default transparent theme which has a contrast ratio of more than 4.5 in both black and white. We will only include this transparent theme for now. If you want to make your own transparent theme, you can set the bg_color to ffffff00.

https://github-readme-stats.vercel.app/api?username=anuraghazra&title_color=006AFF&icon_color=0579C3&text_color=417E87&bg_color=ffffff00&show_icons=true

[![Anurag's GitHub stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=transparent&show_icons=true)](https://github.com/anuraghazra/github-readme-stats)

Anurag's GitHub stats

@rickstaa
Copy link
Collaborator

Closing this since we have included all the currently available methods for creating a dynamic theme in documentation #2229 (see https://github.com/anuraghazra/github-readme-stats#responsive-card-theme).

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

3 participants