Dark/Light Toggle Not Working on Shopkeeper Page
📌 Issue Summary
The dark/light theme toggle is not functioning correctly on the Shopkeeper page. Clicking the toggle does not switch the theme as expected.
🔍 Expected Behavior
Clicking the theme toggle button should:
Switch between light and dark mode.
Apply the dark-mode class to the .
Persist the selected theme using localStorage.
Maintain the selected theme after page refresh.
❌ Current Behavior
Toggle button does not change the theme.
dark-mode class is not being applied to .
OR theme does not persist after refresh.
🛠 Possible Causes
Toggle JavaScript not properly included.
Button ID mismatch.
Missing dark-mode styles in CSS.
localStorage theme initialization not running on page load.
Dark/Light Toggle Not Working on Shopkeeper Page
📌 Issue Summary
The dark/light theme toggle is not functioning correctly on the Shopkeeper page. Clicking the toggle does not switch the theme as expected.
🔍 Expected Behavior
Clicking the theme toggle button should:
Switch between light and dark mode.
Apply the dark-mode class to the .
Persist the selected theme using localStorage.
Maintain the selected theme after page refresh.
❌ Current Behavior
Toggle button does not change the theme.
dark-mode class is not being applied to .
OR theme does not persist after refresh.
🛠 Possible Causes
Toggle JavaScript not properly included.
Button ID mismatch.
Missing dark-mode styles in CSS.
localStorage theme initialization not running on page load.