danth/stylix

firefox: apply dark mode depending on theme polarity

Opened this issue · 1 comments

IIRC, Firefox currently does not apply dark mode depending on theme polarity.

Maybe dark mode can be applied via something like programs.firefox.profiles or Firefox extensions.

Related: #175

I'm using Hyprland with GTK apps, and previously (before migrating to Stylix), I was setting the polarity manually. Based on the source code, I noticed that dark mode is applied only if GNOME is enabled, along with other tweaks useful to GTK users (and not just GNOME). That's why, in my system, I added stylix.targets.gnome.enable = true; even though GNOME is not installed.

I still don't understand why the config doesn't live-switch to light/dark mode, while previously it did.