Skip to content

Light mode toggle does not work when clicking theme switch button #401

@ChiragTankan

Description

@ChiragTankan

Bug description

When clicking the theme toggle button in the top-right corner, the site does not switch to light mode. Dark mode remains active and no visible change occurs.

Steps to reproduce

  1. Open the site
  2. Click the theme (light/dark) toggle in the top-right corner
  3. Observe that light mode is not applied

Expected behavior

The site should switch between dark and light themes when clicking the toggle button.

Actual behavior

Light mode does not activate after clicking the toggle.

Environment

  • Browser: Chrome / Firefox (mention yours)
  • OS: (mention yours)
  • Project: Docsy sample site

Additional context

This appears to be related to theme switching logic or missing CSS variables for light mode.
I would like to work on fixing this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions