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

docs: support dark color-scheme #769

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from

Conversation

Tachi107
Copy link
Contributor

@Tachi107 Tachi107 commented Jan 7, 2023

This patch updates the html documentation to add the color-scheme meta element, signalling light and dark color scheme support, and updating the inline CSS styles to override some colors when dark mode is active, to make sure that the document is always readable.

I've also cleaned up a bit the CSS styles, but without functional changes.

I've only updated the latest standard revision (r7), but please let me know if I should revert changes to that file.

Here's how it looks on my system; the dark scheme is provided by the browser:

image

image

PS: to be clear, the page is rendered in dark mode only if the user has set dark mode in the browser/system settings

This patch updates the html documentation to add the color-scheme meta
element, signaling ligth and dark color scheme support, and updating the
inline CSS styles to override some colors when dark mode is active, to
make sure that the document is always readable.

I've also cleaned up a bit the CSS styles, but without functional
changes.
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.

None yet

1 participant