Apply theme.json style variations per page, let visitors switch styles on the frontend, and add a Light/Dark toggle to the navigation menu (FSE block themes).
| Setting | Value |
|---|---|
| Theme | Twenty Twenty-Five |
| Allowed variations | Morning, Afternoon, Evening |
| Default style | Morning |
| Light / Dark | Morning ↔ Midnight |
| Frontend switcher | On (bottom right) |
| Menu | Light/Dark block in navigation |
- WordPress 6.4+
- Block theme with style variations in
/styles/
cd wp-content/plugins/4wp-style-switcher
composer install
composer testGPL-2.0-or-later — see LICENSE.


