v0.1.1 — Cascade fix
Changed
- Reinitialize CHANGELOG via homeboy changelog init
Fixed
- dark-mode CSS losing the cascade to global-styles-inline-css
Why this matters
v0.1.0 looked like it worked but silently did nothing in dark mode: the CSS was served, the media query matched, the selectors were right — but WordPress's block-theme palette is emitted as an inline <style id="global-styles-inline-css"> that loaded after our plugin, reverting --wp--preset--color--base back to #FFFFFF at the same specificity. Fixed two ways simultaneously: an explicit global-styles dependency for load order, plus html:root selector specificity as a safety net.
If you installed v0.1.0, upgrade immediately.
Upgrade
cd wp-content/plugins/simple-dark-mode
git pull origin v0.1.1No database or settings migration needed.