evoYTMode
evoYTMode: changes by version
Dates are those of the corresponding entry in the product repository, not necessarily the publication date of the ZIP.
1.1.2 (2026-10-17)
- The button and its scripts are only added if the active template is YOOtheme or a child of YOOtheme. With evoTheme the plugin injects nothing, so a second light/dark switch does not appear.
1.1.1 (2026-10-12)
- Maintenance release: the package is rebuilt with the neutral licence and update path. The button, the settings and the storage do not change.
1.1.0 (2026-10-12)
- The visitor’s choice is only written when the button is pressed. The product’s tests also check this on page load and reload.
- The stored value carries a date and expires: 12 months by default, configurable from 1 to 24. After that it is discarded and deleted. A stored value without a date (the 1.0.0 format) is also discarded and deleted when read, so anyone who had already chosen has to choose again, once.
- Two new settings in the Privacy tab: Remember the choice (in the browser with an expiry, only for the session, or remember nothing) and Months it is remembered. They can also be read and changed from evoMCP with
evoytmode_get_settingsandevoytmode_set_settings. - With storage blocked, or with “No” in Remember the choice, the button cycle advances within the same page. Before, with storage blocked, it stayed on the first step.
- The plugin’s page includes the “What is stored in the browser” note and a suggested text for your cookie policy, in Spanish and English.
1.0.0 (2026-10-11)
First version recorded in the repository.
- A light, dark and automatic mode button for YOOtheme Pro, with the option of only two states. Automatic follows the system or browser preference and reacts live if it changes.
- An inline start-up script that sets the mode before the first paint, with no flash.
data-evo-prefanddata-evo-modeattributes onhtmlfor the theme’s CSS, and theevoytmode:changeevent.- Button position: header corner (next to the menu on mobile), four floating corners or none; outline or filled icons; configurable accessible text.
- A Colour mode element for the YOOtheme Pro builder, in the evoAddons group.
- An optional generic dark skin, off by default, with seven configurable colours.
- Tools for evoMCP:
evoytmode_get_settings,evoytmode_set_settings(withdry_runand human approval) andevoytmode_status. - Spanish and English texts and the licence client.