utiltheme

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2025 License: GPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ButtonThemeSmall added in v0.8.0

func ButtonThemeSmall(
	gtx layout.Context, baseTheme material.Theme, clickable *widget.Clickable, label string,
) func(gtx layout.Context) layout.Dimensions

func MaterialTheme added in v0.8.0

func MaterialTheme(baseTheme material.Theme, tc Themecolor, fontSize unit.Sp) *material.Theme

Types

type Themecolor

type Themecolor int
const (
	ThemecolorDefault Themecolor = iota
	ThemecolorDisabled
	ThemecolorFgBlackBgBlue
	ThemecolorFgBlackBgGreen
	ThemecolorFgBlackBgRed
	ThemecolorFgBlackBgGray
)

Jump to

Keyboard shortcuts

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