Description
Description: The dark mode toggle button in the navbar adds/removes a dark-mode class on document.body, but no .dark-mode CSS rules exist anywhere in the project. Clicking the toggle has zero visual effect.
Steps to Reproduce
Steps to Reproduce:
- Log in to the application.
- Click the dark mode toggle button in the navbar.
- Observe that nothing changes on the page.
Expected vs Actual Behavior
Expected vs Actual Behavior:
- Expected: Page switches to a dark color theme
- Actual: No visual change occurs
Environment Details
Environment Details:
- File:
learnhub/frontend/src/components/common/NavBar.jsx, Lines 24-35
- OS: Any
- Browser: Any
Severity
Low (minor visual bug or typo)
Screenshots / Screen Recording

Description
Description: The dark mode toggle button in the navbar adds/removes a
dark-modeclass ondocument.body, but no.dark-modeCSS rules exist anywhere in the project. Clicking the toggle has zero visual effect.Steps to Reproduce
Steps to Reproduce:
Expected vs Actual Behavior
Expected vs Actual Behavior:
Environment Details
Environment Details:
learnhub/frontend/src/components/common/NavBar.jsx, Lines 24-35Severity
Low (minor visual bug or typo)
Screenshots / Screen Recording