Skip to content

Commit

Permalink
feat: don't force dark color scheme on Halftone, just prefer it
Browse files Browse the repository at this point in the history
  • Loading branch information
tfuxu committed Jan 19, 2024
1 parent a436a7a commit a6be24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions halftone/views/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def setup(self):
if build_type == "debug":
self.add_css_class("devel")

# Force window to use dark scheme
Adw.StyleManager.get_default().set_color_scheme(Adw.ColorScheme.FORCE_DARK)
# Prefer to use dark scheme
Adw.StyleManager.get_default().set_color_scheme(Adw.ColorScheme.PREFER_DARK)

self.setup_image_chooser()
self.setup_main_stack()
Expand Down

0 comments on commit a6be24c

Please sign in to comment.