-
Notifications
You must be signed in to change notification settings - Fork 199
Description
Description
The theme toggle button (sun/moon icon) in the navigation bar is not functioning properly when users are on the "Add New Blog Post" page. Clicking the toggle does not switch between dark and light modes.
Steps to Reproduce
Navigate to the "Add Blog Post" page
Click on the theme toggle button (sun/moon icon) in the top right corner
Observe that the theme does not change
Expected Behavior
Clicking the toggle should switch between dark and light modes
The theme preference should persist across page navigation
All form elements should properly adapt to the selected theme
Actual Behavior
The toggle button does not trigger any theme change on the Add Blog Post page
Possible Causes
Event listener not attached to the toggle button
Theme switching logic not applied to this specific page
CSS classes for dark mode not defined for form elements
JavaScript not loaded or executed properly on this page
###Tags
hacktoberfest