Skip to content

Add theme toggle#30

Merged
akash-kumar-dev merged 1 commit intobrowseping:feat/theme-togglefrom
puneetnith28:feat/theme-toggle
Feb 28, 2026
Merged

Add theme toggle#30
akash-kumar-dev merged 1 commit intobrowseping:feat/theme-togglefrom
puneetnith28:feat/theme-toggle

Conversation

@puneetnith28
Copy link
Copy Markdown
Contributor

@puneetnith28 puneetnith28 commented Feb 15, 2026

Summary

Adds a light/dark theme toggle to the extension popup.
The toggle allows users to switch themes at runtime and persists the selected preference across sessions using chrome.storage.sync and localStorage.


What Changed

Feature: ThemeToggle component

  • Added ThemeToggle.tsx component.
  • Allows users to switch between light and dark themes.
  • Applies the selected theme immediately at runtime.

Persistence

  • Stores theme preference in:
    • chrome.storage.sync (for extension sync across browsers/devices)
    • localStorage (as a fallback)
  • Automatically loads the saved theme on popup open.

Theming

  • Uses CSS variables for theme colors.
  • Ensures consistent color updates across the popup.

Screenshots-------------------------------->>>>>>>>>>>>>>>>

image image

Closes:---->> #28

@puneetnith28
Copy link
Copy Markdown
Contributor Author

Hello @akash-kumar-dev
Please review this PR and let me know if any changes are required !!
Thanks !!

@akash-kumar-dev akash-kumar-dev changed the base branch from main to feat/theme-toggle February 28, 2026 16:56
@akash-kumar-dev
Copy link
Copy Markdown
Member

Looks good for now. I'll adjust it later for merging this feature into main. Thanks @puneetnith28 for your valuable contributions.

@akash-kumar-dev akash-kumar-dev merged commit f0e63fb into browseping:feat/theme-toggle Feb 28, 2026
1 check passed
@puneetnith28
Copy link
Copy Markdown
Contributor Author

Looks good for now. I'll adjust it later for merging this feature into main. Thanks @puneetnith28 for your valuable contributions.

Thanks @akash-kumar-dev
It was great contributing to the project. I really enjoyed working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants