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

Switch pictures for different mode #2

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Steffeeeen1234
Copy link

@Steffeeeen1234 Steffeeeen1234 commented Dec 6, 2021

Since there are many users who use the darkmode also for github, it is really nice if your pictures support dark mode and light mode. I had trupple to visualize your picture untill I switched to light mode.
I was experimenting a little and found this:
https://www.stefanjudis.com/notes/how-to-define-dark-light-mode-images-in-github-markdown/

In this pull requested I have implemented, that if the user has darkmode turned on he gets a picture which tells him to turn of darkmode t the the staes picture correctly. It would be really greate if you can prepare a states picture with darkmode support.

btw. sorry for the amount of commits. I did a few change only for myself and didn't wanted to put them in your project. Thats why it is a little messed up.

Copy link
Author

@Steffeeeen1234 Steffeeeen1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At the end I have only one new file inserted "turnoffdarkmode.png" and updated two lines in the readme.md. Yo can check it out on my forked project master to see how it works. Just switch between dark and light mode

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

Successfully merging this pull request may close these issues.

1 participant