greasyfork-org / greasyfork

An online repository of user scripts.
https://greasyfork.org
GNU General Public License v3.0
1.41k stars 422 forks source link

Add automatic dark mode #1274

Open vitaly-zdanevich opened 3 weeks ago

vitaly-zdanevich commented 3 weeks ago

With https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

JasonBarnabe commented 3 weeks ago

I am open to this change. I imagine it's just a matter of creating a media query with black/white swaps defined inside.

vitaly-zdanevich commented 2 weeks ago

Yes, can I do this?

JasonBarnabe commented 2 weeks ago

Yeah, give it a shot if you're interested.

vitaly-zdanevich commented 2 weeks ago

Okay, thanks, I will try :)

vitaly-zdanevich commented 2 weeks ago
$ bundle install
Bundler 2.4.22 is running, but your lockfile was generated with 2.5.11. Installing Bundler 2.5.11 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
There was an error installing the locked bundler version (2.5.11), rerun with the `--verbose` flag for more details. Going on using bundler 2.4.22.
Your Ruby version is 3.1.4, but your Gemfile specified 3.3.3

On my Gentoo the max available version is 3.3.2 :(

JasonBarnabe commented 2 weeks ago

3.3.3 was released recently, if you don't want to wait for it to be available the way you're installing Ruby, you could just undo the upgrade locally.