Skip to content

fix(docusaurus): respect users' preferred color scheme #2006

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

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from

Conversation

xoyseau
Copy link

@xoyseau xoyseau commented Jun 10, 2025

Description

these are some minor changes to the docusaurus config to respect user's system theme instead of always defaulting to the light mode; i.e. if you have dark mode in your OS, then the docs will be dark too (unless you manually switch the theme)

however, it's still going to default to the light mode on systems which do not support dark/light/auto modes
(or let me know if you want the dark to be the default for such cases, i'll push the change)

Related Issue(s)

Screenshots

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