NixOS / ofborg-viewer

MIT License
7 stars 5 forks source link

Add support for darkmode #27

Closed zebreus closed 9 months ago

zebreus commented 9 months ago

This PR adjusts the stylesheet to enable darkmode if the user prefers-color-scheme: dark.

To build ofborg-viewer you need to use an old nix channel that includes nodejs 6. Building with 18-03 (https://nixos.org/channels/nixos-18.03) seemed to work for me.

zebreus commented 9 months ago

Some example screenshots for darkmode:

Screenshot from 2024-02-09 23-58-34 Screenshot from 2024-02-09 23-58-26

zebreus commented 9 months ago

This PR is included in #28