How can I make Firefox on Ubuntu follow system dark mode? (snap)

I'm using Firefox (snap) on Ubuntu 26.04 LTS (GNOME 50). Firefox is configured to follow system settings in regards to using light mode or dark mode. Here is the screenshot from the "Appearance" section of Firefox's settings: If I launch GNOME Settings, I can navigate to "Apperance", and switch the style from "Default" (light mode) to "Dark". When I do so, most apps immediately switch to dark…