In T394665#11249088, @Sebastian_Berlin-WMSE wrote:
Description
Description
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Open | None | T394665 Fix things on the WMSE wiki that don't support dark mode | |||
| Duplicate | Sebastian_Berlin-WMSE | T410254 Dark mode logo on se.wikimedia.se |
Event Timeline
Comment Actions
Adding the class skin-invert works here too:
Not sure if it's possible to do this easily via config.
Comment Actions
refer T383378#10467631 onwiki fix , i will close this as duplicate of T383378: Logo for Chapter wikis is not inverted on dark mode
Comment Actions
Thanks for letting me know. That task was more general, but pointed me in the right direction.
The proper fix (which I stole from WMF's wiki), was:
@media screen { html.skin-theme-clientpref-night img.mw-logo-icon, html.skin-theme-clientpref-night .darklogoimg { color-scheme: light; filter: invert(1) hue-rotate(180deg); } } @media screen and (prefers-color-scheme: dark) { html.skin-theme-clientpref-os img.mw-logo-icon, html.skin-theme-clientpref-night .darklogoimg { color-scheme: light; filter: invert(1) hue-rotate(180deg); } }

