theme

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳