Skip to content

If theme.LightTheme() is deprecated #3575

Answered by Jacalz
bq-wrongway asked this question in Q&A
Discussion options

You must be logged in to vote

We already do switch between light/dark theme automatically on most platforms. Version v2.3.0 added support for the feature on Linux (as long as the desktop supports the FreeDesktop Dark Theme Preference). We already had support for macOS/Windows before as far as I know. Is there any platform on which it doesn’t work for you?

For changing these settings, I personally used https://pkg.go.dev/fyne.io/fyne/v2/cmd/fyne_settings/settings#Settings.LoadAppearanceScreen in Rymdport (https://github.com/Jacalz/rymdport/blob/563f716f967de28830799cafd91d5c51934915c3/internal/ui/settings.go#L199) to integrate part of the fyne_settings application. I am not entirely sure that I would recommend it in al…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Jacalz
Comment options

Jacalz Jan 16, 2023
Collaborator

@Jacalz
Comment options

Jacalz Jan 16, 2023
Collaborator

@bq-wrongway
Comment options

@andydotxyz
Comment options

Answer selected by Jacalz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants