Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
2308 Näkymät

I am running the Spiffy backend theme. Not sure if that has any affect here or not.

Even when Dark Mode is disabled, the rows are still styled in the dark mode colors (ie. background-color). Any idea why that may be happening?


Odoo.sh version 16.


CSS Inspector - https://ibb.co/gw8hM5s


-------------------------


For anyone else coming across this, Spiffy was not removing the cookie for color_scheme. That appears to be a bug, but deleting that cookie resolved the issue.

Avatar
Hylkää
Paras vastaus

Hi,

All these themes work by changing the default style when it is enabled or the module is installed, so in the module Spiffy backend theme you are using there may be changing the background styles when you install the theme, and the affected background styles may not be reverted back to the original styles when you turning off or uninstalling the module, either you can change the code in the module to change the style to default style when you disabling the them, Or just try to upgrade the base module from the apps after disabling the theme to check whether it reverting back to original style.


Hope it helps



Avatar
Hylkää
Paras vastaus

Hi Brit,

have a look at Andre de Kock's anser to this thread, dark reader add-on is now our favorite

https://www.odoo.com/de_DE/forum/hilfe-1/dark-mode-on-backend-for-enterprise-edition-198190

Cheers

Avatar
Hylkää