theme

package
v0.0.0-...-6915f5a Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Unlicense, Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDuoUIcolors

func NewDuoUIcolors() (c map[string]string)

func NewDuoUIicons

func NewDuoUIicons() (i map[string]*widget.Icon)

Types

type DuoUItheme

type DuoUItheme struct {
	T        *material.Theme
	Shaper   text.Shaper
	TextSize unit.Value
	Color    struct {
		Primary color.RGBA
		Text    color.RGBA
		Hint    color.RGBA
		InvText color.RGBA
	}
	Colors map[string]string
	Fonts  map[string]text.Typeface
	Icons  map[string]*widget.Icon
	// contains filtered or unexported fields
}

func NewDuoUItheme

func NewDuoUItheme() *DuoUItheme

func (*DuoUItheme) ChangeLightDark

func (t *DuoUItheme) ChangeLightDark()

Jump to

Keyboard shortcuts

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