Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Dark mode #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
Loading
from
Open

Conversation

escritorio-gustavo
Copy link

@escritorio-gustavo escritorio-gustavo commented Jan 31, 2024

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

@escritorio-gustavo
Copy link
Author

escritorio-gustavo commented Jan 31, 2024

For context, this is how it looks in Firefox

image

@escritorio-gustavo
Copy link
Author

In chrome the scrollbars are still white
image

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
image

@ranger-ross
Copy link

Would love to see this get merged. 🙏🏼

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.