Cant get Firefox 148.0 to honor system theme preference on i3

I’m on NixOs using Firefox 148.0 and have written a script that uses dconf to change the preffered theme:

dconf write /org/gnome/desktop/interface/color-scheme "'prefer-dark|prefer-light'"

All of my other programs honor this, including: Zed, Slack, Chrome.
Only Firefox does not honor this and is stuck in dark mode when the theming is set to “automatic”

Any help on this would be greatly appreciated! Thanks!

Check ff settings?

hey, thanks for the quick reply. The purpose of my script is to do this dynamically without re-loading the config.