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 darkmode #27

Closed
wants to merge 5 commits into from
Closed

Add support for darkmode #27

wants to merge 5 commits into from

Conversation

zebreus
Copy link

@zebreus zebreus commented Feb 9, 2024

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
Copy link
Author

zebreus commented Feb 9, 2024

Some example screenshots for darkmode:

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

@zebreus zebreus deleted the branch NixOS:master February 10, 2024 16:41
@zebreus zebreus closed this Feb 10, 2024
@zebreus zebreus deleted the master branch February 10, 2024 16:41
@zebreus zebreus restored the master branch February 10, 2024 16:42
@zebreus zebreus reopened this Feb 10, 2024
@zebreus
Copy link
Author

zebreus commented Feb 10, 2024

This PR is included in #28

@zebreus zebreus closed this Feb 10, 2024
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

Successfully merging this pull request may close these issues.

1 participant