Documentation
¶
Overview ¶
Package theme contains custome themes for the Fyne GUI toolkit.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultWithFixedVariant ¶
func DefaultWithFixedVariant(v fyne.ThemeVariant) fyne.Theme
DefaultWithFixedVariant returns the default Fyne theme, but with a fixed theme variant. This allows apps to choose a light or dark mode independant of the current os settings.
For example here is how to set an app to permament dark variant:
app.Settings().SetTheme(kxtheme.DefaultWithFixedVariant(theme.VariantDark))
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.