-
Notifications
You must be signed in to change notification settings - Fork 199
docs(website): enable system color mode toggle #933
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
Conversation
Allow users to cycle through light, dark, and system theme preferences by enabling respectPrefersColorScheme in the Docusaurus color mode config. This fixes the issue where only light/dark modes were toggleable, preventing users from selecting their OS theme preference.
WalkthroughThe PR updates documentation examples to remove PR number suffixes from commit message subjects and adds system color mode preference support to the Docusaurus configuration by enabling Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Pre-merge checks and finishing touches❌ Failed checks (3 warnings)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (2)📓 Common learnings📚 Learning: 2025-02-17T06:01:50.745ZApplied to files:
🪛 markdownlint-cli2 (0.18.1)CLAUDE.md352-352: Fenced code blocks should have a language specified (MD040, fenced-code-language) ⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Allow users to cycle through light, dark, and system theme preferences
by enabling respectPrefersColorScheme in the Docusaurus color mode config.
This fixes the issue where only light/dark modes were toggleable,
preventing users from selecting their OS theme preference.
Notes
Fixes #895
Summary by CodeRabbit
New Features
Documentation