GatCode / OpenGrind

☕️ Sophisticated Coffee Grinder Timer Firmware
GNU General Public License v3.0
21 stars 10 forks source link

Switch pictures for different mode #2

Open Steffeeeen1234 opened 2 years ago

Steffeeeen1234 commented 2 years ago

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.