Trying to make a dark- lightmode switcher
im trying to make a Button which switches between light and darkmode. Switching to darkmode is pretty easy, but switching to lightmode again is a bit complicated I try to switch to the default Palette but idk how it really works.. This is the function: def modeSwitch(self): if self.dark_mode: self.dark_mode = False QApplication.setPalette("") else: self.dark_mode… Read More Trying to make a dark- lightmode switcher