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

Dark mode in CSS for the main site as well as Hackage? #8

Open
L-TChen opened this issue Oct 28, 2019 · 2 comments
Open

Dark mode in CSS for the main site as well as Hackage? #8

L-TChen opened this issue Oct 28, 2019 · 2 comments
Assignees

Comments

@L-TChen
Copy link

L-TChen commented Oct 28, 2019

It will be such a nice addition if both sites support the dark mode. To be precise, try to use CSS prefers-color-scheme media queries.

This feature is now supported on desktop/mobile Safari, Chrome (post), Firefox (post), and see can I use? for further details. In other words, most of recent browsers are able to switch between light and dark modes.

The dark mode support for Hackage will be very useful for easing eye strain, especially when referencing the API frequently from an editor in a dark mode. I am not good at adjusting colour theme, otherwise I would create a PR directly. :-(

@ketzacoatl
Copy link
Contributor

@L-TChen this is a great suggestion, maybe you would be willing to hook up a PR, or help figure out what code would be updated where with what?

@philderbeast
Copy link

We're on [email protected] if the telltale version comment is correct for the CSS as well.

* Bootstrap v3.1.1 (http://getbootstrap.com)

I don't know about that version but the latest version has dark mode.

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

No branches or pull requests

4 participants