serde-rs.github.io
serde-rs.github.io copied to clipboard
Dark mode
Add dark mode to serde.rs inside @media (prefers-color-scheme: dark) query. This should prevent people from getting flashbanged when opening serde.rs in dark-mode
For context, this is how it looks in Firefox
In chrome the scrollbars are still white
I don't know how the html is generated, but if <meta name="color-scheme" content="dark light"> is added to <head>, it will look like this
Would love to see this get merged. 🙏🏼