theme

package
v0.0.0-...-7f9e108 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	// contains filtered or unexported fields
}

func NewDefaultTheme

func NewDefaultTheme(path string) *Theme

func (*Theme) Color

func (t *Theme) Color(name fyne.ThemeColorName, variant fyne.ThemeVariant) color.Color

func (*Theme) Font

func (t *Theme) Font(style fyne.TextStyle) fyne.Resource

func (*Theme) Icon

func (t *Theme) Icon(name fyne.ThemeIconName) fyne.Resource

func (*Theme) Size

func (t *Theme) Size(name fyne.ThemeSizeName) float32

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL