Skip to content

Feat : Implement Theme Toggle (Light/Dark Mode)Β #6

@imSubhro

Description

@imSubhro

✨ Feature Description

Add a Light/Dark Mode theme toggle so users can switch between themes based on their preference, with the choice persisted across sessions.

πŸ€” Problem It Solves

Code editors are tools developers spend hours in. Having only one fixed theme β€” especially a light one β€” is uncomfortable for long sessions and immediately feels outdated compared to every other editor tool users are familiar with. A theme toggle is one of the most expected features in any developer-facing product.

πŸ’‘ Proposed Solution

  • Add a sun/moon toggle button to the navbar or editor toolbar.
  • Switch between light and dark CSS themes on click.
  • Persist the user's preference in localStorage so it's remembered on return.
  • Ensure all UI components β€” sidebar, editor, toolbar, modals β€” respond correctly to both themes.

βœ… Acceptance Criteria

  • Theme toggle button added to the UI.
  • Light and dark themes both work across all pages and components.
  • Preference persisted in localStorage.
  • No visual inconsistencies in either theme.

🌱 Contributor Checklist

  • I am participating via GSSoC
  • I have read the contribution guidelines
  • I checked for existing issues before creating this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions