Have you read the Contributing Guidelines on issues?
Prerequisites
Description
The light/dark mode toggle icon is reversed. When in light mode, it should display a moon icon with the HTML title "Switch to dark mode"—indicating the result of clicking—rather than representing the current state.
This aligns with standard UX conventions where:
- The icon always reflects the target state (what you’ll get after clicking)
- The HTML title describes the action ("Switch to...") instead of the current mode
Reproducible demo
No response
Steps to reproduce
Standard installation
Expected behavior
- When in light mode, the mode button should display a moon icon.
- When in dark mode, the mode button should display the sun icon.
Actual behavior
- When in light mode, the mode button displays the sun icon.
- When in dark mode, the mode button displays the moon icon.
Your environment
- Public source code:
- Public site URL:
- Docusaurus version used:
- Environment name and version (e.g. Chrome 89, Node.js 16.4):
- Operating system and version (e.g. Ubuntu 20.04.2 LTS):
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
The light/dark mode toggle icon is reversed. When in light mode, it should display a moon icon with the HTML title "Switch to dark mode"—indicating the result of clicking—rather than representing the current state.
This aligns with standard UX conventions where:
Reproducible demo
No response
Steps to reproduce
Standard installation
Expected behavior
Actual behavior
Your environment
Self-service