Popup Dark Mode Toggle
Overview
A dark/light theme toggle button for the extension's popup itself, demonstrating a theme switcher.
Popup Dark Mode Toggle adds a simple, reliable theme switcher to the extension’s popup UI. With one click, users can switch between Light and Dark themes and keep that choice the next time the popup opens. This is ideal for extensions that want to demonstrate or ship a clean, accessible theme toggle without touching webpage content. Why it’s useful Immediate readability: Match your preferred contrast in low-light or bright environments. Persistent preference: Remembers the last theme so your popup always opens the way you like it. Drop-in pattern: A straightforward example of stateful theming for MV3 popups. How it works Open the toolbar popup. Click the theme toggle to switch between Light and Dark. The chosen mode is saved and reapplied on the next open. Key points Theme setting stored locally using the storage permission (no accounts, no cloud). Runs entirely in the popup—does not inject scripts or modify websites. Minimal MV3 footprint: popup + local preference storage. manifest Privacy & permissions Uses storage only to save the theme preference on the device; no personal data is collected or transmitted. manifest
0 out of 5No ratings
Details
- Version1.0
- UpdatedOctober 29, 2025
- Offered bynguyenthianhthu29042019
- Size20.16KiB
- LanguagesEnglish
- DeveloperAnh Thu
253 Điện Biên Phủ Phường Võ Thị Sáu Quận 3, Thành phố Hồ Chí Minh 700000 VNEmail
nguyenthianhthu29042019@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes
Support
For help with questions, suggestions, or problems, visit the developer's support site