• v0.3.6 511a115086

    Robin released this 2026-11-21 21:49:13 +01:00 | 0 commits to main since this release

    Plays well with the other plugins of your site.

    What you get

    • Black is black, white is white. WordPress's own black and white no longer change with the mode. Other plugins use them as a sure black and a sure white for their text: in the other mode, they kept them, inverted, and their text could vanish. Where your content uses them as text, they still get a readable value as text. If you had typed a value for them yourself, it is kept.
    • Your theme's own mode, untouched. In the mode your theme was made for, the plugin now sets no color at all: every rule it writes is for the other mode only.
    • Follow the mode from your own code. The lrob-dark-mode:change event on document now also fires when the visitor's system switches between light and dark while your site follows it, not only on a click on the toggle. A component that reads colors once can read them again then.
    Downloads