theme

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Ico = &fyne.StaticResource{
	StaticName:    "logo.ico",
	StaticContent: logo,
}

Functions

This section is empty.

Types

type MyTheme

type MyTheme struct {
	Theme string
}

func (*MyTheme) Color

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

func (*MyTheme) Font

func (m *MyTheme) Font(_ fyne.TextStyle) fyne.Resource

func (*MyTheme) Icon

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

func (*MyTheme) Size

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

Jump to

Keyboard shortcuts

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