Skip to content
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

Add support for Dark Mode. #21

Open
dmitshur opened this issue Nov 4, 2018 · 0 comments
Open

Add support for Dark Mode. #21

dmitshur opened this issue Nov 4, 2018 · 0 comments

Comments

@dmitshur
Copy link
Member

dmitshur commented Nov 4, 2018

This is a beginning...

image

A prototype is available at https://dmitri.shuralyov.com/projects/home-dark/.

References:

dmitshur added a commit that referenced this issue Jan 2, 2021
An SVG icon is better than PNG because it uses vector graphics. That
results in higher precision at different sizes. SVG can also support
dark mode via a prefers-color-scheme CSS query, whereas PNG cannot.

SVG icons were not widely supported by modern browsers earlier.
They are by now, so it has become viable to make the switch.

For #21.
dmitshur added a commit that referenced this issue Jan 2, 2021
The login page is largely standalone, and served as a good place to
start making progress on adding dark mode support to the whole site.

For #21.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant