Skip to content

Conversation

@Rovel
Copy link

@Rovel Rovel commented Sep 19, 2025

Hi great project!!, I added a dark theme option on the settings, hope you like it

image

def _apply_system_theme(self):
"""Apply system default theme"""
# Reset to system default palette
self.app.setPalette(self.app.style().standardPalette())
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This way of resetting the palette incorrectly applies the style's default palette instead of clearing the palette. This causes the app to act as if it were in light mode while in "System Default" on my machine (arch, wayland, darkmode)

Changing this line to self.app.setPalette(QtGui.QPalette()) seems to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants