BACK TO DIRECTORY
The axismundi/theme-switcher block puts an Auto / Light / Dark control on the
page, as a connected button group or a single cycling button, and writes the
choice to html[data-theme]. The choice is kept in a first-party cookie and
reapplied before the next page paints, so returning to the site does not flash
the wrong scheme.
The block reads its colors, corner sizes and motion from the Material Design
system custom properties, so it looks as intended under any theme that publishes
them, and falls back to Material’s own baseline where a theme publishes none.
The Axismundi theme supports the html[data-theme] contract natively.
Plugin Details
Active Installs
0Total Downloads
400Version
0.1.9Requires WP
7.1Requires PHP
8.1Tested Up To
7.1Added
2026-07-08Last Updated
2026-09-06 7:07am GMTRatings
5
0
4
0
3
0
2
0
1
0