Skip to content

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

Open
@L-TChen

Description

@L-TChen

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. :-(

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions