themes

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DarkTheme

func DarkTheme() fyne.Theme

func LightTheme

func LightTheme() fyne.Theme

Types

type MyTheme

type MyTheme struct {
	Variant fyne.ThemeVariant
}

func (*MyTheme) Color

func (m *MyTheme) Color(n fyne.ThemeColorName, v fyne.ThemeVariant) color.Color

func (*MyTheme) Font

func (*MyTheme) Font(s fyne.TextStyle) fyne.Resource

return bundled font resource

func (*MyTheme) Icon

func (*MyTheme) Icon(n fyne.ThemeIconName) fyne.Resource

func (*MyTheme) Size

func (*MyTheme) Size(n fyne.ThemeSizeName) float32

Jump to

Keyboard shortcuts

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