meshy / pythonwheels

Adoption analysis of Python Wheels: https://pythonwheels.com/
BSD 2-Clause "Simplified" License
102 stars 26 forks source link

Add dark mode #153

Closed hugovk closed 3 months ago

hugovk commented 9 months ago

This is based on the dark mode (https://github.com/hugovk/drop-python/pull/42) I added to https://hugovk.github.io/drop-python/, which was originally based on this repo.

Preview:

image
meshy commented 3 months ago

Apologies for not digging into this one yet.

I seem to remember having to avoid separate CSS files in SVGs in the past to avoid issues in some browsers, but I don't recall which ones.

Have you had the chance to test this on a range of browsers?

hugovk commented 3 months ago

Here's how it looks in some other browsers on macOS.

Safari

image

Firefox

image

Opera

image