Skip to content

Commit

Permalink
Will set custom dark mode only on windows (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
raivisdejus authored Oct 5, 2024
1 parent 6bd3e67 commit 6723821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buzz/widgets/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self, argv: list) -> None:
else:
self.setFont(QFont(self.font().family(), font_size))

if darkdetect.isDark():
if sys.platform.startswith("win") and darkdetect.isDark():
palette = QPalette()
palette.setColor(QPalette.ColorRole.Window, QColor("#121212"))
palette.setColor(QPalette.ColorRole.WindowText, QColor("#ffffff"))
Expand Down

0 comments on commit 6723821

Please sign in to comment.