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

Have a dark mode for the viewer #531

Open
mliebelt opened this issue Apr 9, 2024 · 0 comments
Open

Have a dark mode for the viewer #531

mliebelt opened this issue Apr 9, 2024 · 0 comments

Comments

@mliebelt
Copy link
Owner

mliebelt commented Apr 9, 2024

Nowadays many people use by default a dark mode, and the pgn-viewer is not aware of that. That may result in an ugly display, when all content is showing on a dark background, but the moves (and may be other parts as well) are shown with a light background.

The following should be done:

  • Have a media query to switch between light and dark mode.
  • Decide if the switch should be done all the time, or only when an option is set. Maybe it is a good way to have that option, but by default have it set to 'use what is defined'.
  • May be an additional option in the UI to switch between dark and light mode could be implemented.
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