Possible error in the Python code for "Forcing the Dark Color Scheme" page
There's two pieces of Python code that don't seem to work properly in this section.
dark_mode_action = Gio.SimpleAction(name="dark-mode", GLib.Variant.new_boolean(False))
dark_mode_action = Gio.SimpleAction(name="dark-mode", GLib.Variant.new_boolean(dark_mode))
When I changed these to this, everything worked as expected:
dark_mode_action = Gio.SimpleAction.new_stateful("dark-mode", None, GLib.Variant.new_boolean(False))
dark_mode_action = Gio.SimpleAction.new_stateful("dark-mode", None, GLib.Variant.new_boolean(dark_mode))