Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Dark mode not working in elementary OS 6.1 #93

Open
casasfernando opened this issue Jan 29, 2022 · 2 comments
Open

Dark mode not working in elementary OS 6.1 #93

casasfernando opened this issue Jan 29, 2022 · 2 comments

Comments

@casasfernando
Copy link

casasfernando commented Jan 29, 2022

This may be an elementary OS 6.1 specific problem but I thought about bringing it up since other flatpak apps are working in dark mode without any problems (eg: Gnome Web, GIMP).
It may be related to #16 but I'm not sure tough. I tried to install org.gtk.Gtk3theme.elementary and org.gtk.Gtk3theme.Adwaita-dark from Flathub and restart the app but it didn't help.

Test case

  1. Open the app
  2. Go to Preferences
  3. Set Dark Theme to enabled.

Actual

The app is not switching to dark mode and it will remain in light mode.

Expected

The app will switch to dark mode when enabled in Preferences.

This is the output of flatpak list:

Name                                             Application ID                                       Version                 Branch                Origin                Installation
Markets                                          com.bitstower.Markets                                0.5.4                   stable                flathub               system
elementary platform                              io.elementary.Platform                                                       6.1                   appcenter             system
elementary development platform                  io.elementary.Sdk                                                            6                     appcenter             system
Adwaita dark GTK theme                           org.gtk.Gtk3theme.Adwaita-dark                                               3.22                  flathub               system
elementary stylesheet                            org.gtk.Gtk3theme.elementary                                                 3.22                  flathub               system

Let me know if I should provide any additional information.
Thanks.

@oscfdezdz
Copy link
Contributor

I think this can't be fixed until version 42 of GNOME Platform is released as it will come with libhandy 1.6.0 which will introduce the Style Manager class. You can try this artifact which should follow the system theme in elementary OS 6.1.

@casasfernando
Copy link
Author

Thanks for the suggestion @oscfdezdz.
I can wait until version 42 of GNOME Platform is released.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants