=== LumaSwitch ===

Contributors: arifulrazib1
Donate link: https://arifulrazib.com
Tags: dark mode, night mode, color scheme, theme switcher, accessibility
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 7.1
Stable tag: 1.4.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Light and dark mode controls with customizable colors, a floating switch, saved preferences, and an optional admin theme switcher.

== Description ==

LumaSwitch provides a lightweight light/dark mode experience for WordPress sites. Visitors can switch between light and dark themes, follow their operating-system preference, and optionally remember their choice in the browser.

Administrators can configure the frontend switch, colors, positions, sizes, transitions, and a strong theme override. An optional administrator-only switch can also change the WordPress dashboard between light and dark mode.

The plugin does not require an external service, CDN, analytics platform, tracking script, or remote executable code.

== Features ==

* Light, dark, and system modes.
* Optional remembered visitor preference using browser localStorage.
* Twelve fixed frontend toggle styles.
* Eight toggle positions and three sizes.
* Separate light and dark color controls.
* Background, surface, heading, text, muted, link, border, input, placeholder, button, hover, and accent colors.
* Strong theme override for common WordPress, Elementor, WooCommerce, form, card, navigation, and layout surfaces.
* Optional WordPress administrator light/dark theme switcher.
* AJAX settings saving without a full page reload.
* AJAX settings-tab navigation.
* Keyboard accessible frontend and administrator switches.
* Reduced-motion support.
* No external services or tracking.

== Installation ==

1. Upload the plugin ZIP through **Plugins > Add New > Upload Plugin**.
2. Activate LumaSwitch.
3. Open **LumaSwitch** in the WordPress admin menu.
4. Configure General, Toggle, Colors, Display, and Advanced settings.
5. Save your settings and test the frontend switch.

== Privacy ==

LumaSwitch does not send visitor data to external services. When Remember Visitor Choice is enabled, the visitor's selected theme is stored locally in the visitor's browser using localStorage. No personal information is collected by the plugin.

== Support ==

Website: https://www.arifulrazib.com/
Email: smarifulrazib@gmail.com
WhatsApp: https://wa.me/8801717080638

== Screenshots ==

1. Plugin dashboard.
2. General settings.
3. Toggle settings.
4. Colors settings.

== Changelog ==

= 1.4.2 =
* Fixed Plugin Check input sanitization findings.
* Removed deprecated manual text-domain loading.
* Added the current WordPress tested-up-to header.
* Added a Settings link to the Installed Plugins screen.
* Removed the package marker file that was not allowed in WordPress.org plugin packages.


= 1.4.0 =
* Reworked the plugin architecture and settings sanitization.
* Added AJAX settings-tab navigation and robust AJAX saving.
* Added twelve fixed frontend toggle styles.
* Added separate light and dark accent colors.
* Improved admin dashboard accessibility and responsive layout.
* Improved frontend theme initialization and theme override coverage.
* Added administrator theme switching across WordPress admin screens.
* Removed the oversized custom WordPress menu icon implementation.
* Prepared plugin metadata, documentation, licensing and assets for WordPress.org review.

= 1.3.1 =
* Improved admin menu icon sizing and frontend theme override behavior.
