• Resolved 3yq9nfgnvh

    (@3yq9nfgnvh)


    How do I disable dark mode from being on by default? I manage a bunch of sites and they are all in dark mode initially. I want this feature to be off by default. Not a fan of it. How do I do this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support litetim

    (@litetim)

    @3yq9nfgnvh What is the system mode? Dark or Light?

    Thread Starter 3yq9nfgnvh

    (@3yq9nfgnvh)

    @litetim my system mode is dark. But I do not like the dark mode in the plugin. Would like some kind of setting to disable this auto dark mode.

    Plugin Support litetim

    (@litetim)

    @3yq9nfgnvh I see. There is no way to set default mode, with current coding. You can change mode on login and will get saved for every site.

    We might change this in the future, but for now there are no plans. We have some things to improve but I cannot guarantee any concrete results.
    Thank you for suggestion and we will keep this in mind.

    Thread Starter 3yq9nfgnvh

    (@3yq9nfgnvh)

    Maybe just add some vars through wp_localize_script and pass an “enable” variable that the “litespeed_init_dark_mode” function checks for?

    Plugin Support litetim

    (@litetim)

    @3yq9nfgnvh
    Yes that is a solution, but for now we are looking into other issues for dark mode and we will decide how we implement it.
    For now, this js code will do the trick, in admin:
    localStorage.setItem('litespeed-dark-preference', 'light');

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.