Change the enable/disable toggle to a dropdown with the options: System, Light theme, Dark theme
Set the default value for the dropdown to System; the default style of Jami will respect the user's system's configuration. This would also be consistent with the default value for Jami's User interface language which is System.
Inspiration from Ubuntu as shown in the image below:
What do you think?
Thank you
Edited
Designs
Child items
...
Show closed items
Linked items
0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Activity
Sort or filter
Newest first
Oldest first
Show all activity
Show comments only
Show history only
ovarichanged the descriptionCompare with previous version
gsettings get org.gnome.desktop.interface gtk-color-schemegsettings get org.gnome.desktop.interface color-scheme gsettings get org.gnome.desktop.interface gtk-theme
It will only pass in "Dark" if one of the 3 commands return something containing "dark" or "black" (e.g. Adwaita:Dark, Yaru-Dark on my 2 systems)
There is no default method to get the correct preference.
Flatpak is containerized and not maintained by us. For Flatpak, you will need to override the themes https://itsfoss.com/flatpak-app-apply-theme/ probably. But this is out of scope.
$ gsettings get org.gnome.desktop.interface gtk-color-scheme''$ gsettings get org.gnome.desktop.interface color-scheme'default'$ gsettings get org.gnome.desktop.interface gtk-theme'Mint-Y-Aqua'
ovarichanged title from Setting{- Enable dark theme → Styl-}e with options System, Light{- theme-}, Dark{- theme-} to {++}Setting{+s, General, Appearance, Them+}e with options System, Light, Dark
changed title from Setting{- Enable dark theme → Styl-}e with options System, Light{- theme-}, Dark{- theme-} to {++}Setting{+s, General, Appearance, Them+}e with options System, Light, Dark
ovarichanged title from {--}Settings{--}, {--}General{--}, {--}Appearance{--}, {--}Theme{--} with options System, Light, Dark to Settings, General, Appearance, Theme with options System, Light, Dark
changed title from {--}Settings{--}, {--}General{--}, {--}Appearance{--}, {--}Theme{--} with options System, Light, Dark to Settings, General, Appearance, Theme with options System, Light, Dark
ovarichanged title from Settings, General, Appearance, Theme with options {--}System{--}, {--}Light{--}, {--}Dark{--} to Settings, General, Appearance, Theme with options: System, Light, Dark
changed title from Settings, General, Appearance, Theme with options {--}System{--}, {--}Light{--}, {--}Dark{--} to Settings, General, Appearance, Theme with options: System, Light, Dark