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()