I sometimes need to test if a website I develop is working correctly in dark mode, but dark/light mode buttons doesn’t work in LibreWolf devtools. Is there a solution for this?

  • z3rOR0ne
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    7 months ago

    Librewolf turns on resist fingerprinting by default. If you go into about:config and disable resist fingerprinting, you can re enable light/dark mode preferences being recognized by the browser.

    Or you could install the Dark Reader extension, but that will overwrite all CSS and approximate Dark Mode rather than use a customized CSS stylesheet.

    Or you could install Vanilla Firefox and use that only to develop while you use Librewolf to privately browse, which is what I do.

      • ReversalHatchery@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        You can create a new profile on the about:profiles page, which you could use for development. This is like if you installed a new browser, but with your original one, because the new profile have it’s own separate settings.