Open paramaggarwal opened 2 years ago
Seems like the most important feature to support.
@yep can you please update us with this?
I had a go here and got it kinda working. Aside from requiring building in Xcode, it reloads the page when coming out of dark mode. My first experience with JS so kinda janky. There's probably a better way to do it using the dark reader component.
https://github.com/user-attachments/assets/f214ed0e-e1e2-4a60-aca4-79cd80111b3f
Well, reloading page is really bad idea, since user could type something or filling form.. or play music and reload will kill it. deal breaker.
You're right, it should probably call darkReader.disable() instead, though not sure if that will work with the fallback mode. Will keep playing with it when I get some free time.
Is there a way to make this follow the system theme? When macOS is in Dark Mode, then the webpages are dark.