theme

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColorNameGraphGreen     = "goxray_theme_graph_green"
	ColorNameGraphBlue      = "goxray_theme_graph_blue"
	ColorNameTextMuted      = "goxray_theme_text_muted"
	ColorNameTextErrorMuted = "goxray_theme_text_error_muted"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AppTheme

type AppTheme struct {
	Variant fyne.ThemeVariant
}

AppTheme represents small styling additions to fyne default theme.

func (AppTheme) Color

func (m AppTheme) Color(c fyne.ThemeColorName, _ fyne.ThemeVariant) color.Color

func (AppTheme) Font

func (m AppTheme) Font(style fyne.TextStyle) fyne.Resource

func (AppTheme) Icon

func (m AppTheme) Icon(name fyne.ThemeIconName) fyne.Resource

func (AppTheme) Size

func (m AppTheme) Size(name fyne.ThemeSizeName) float32

Jump to

Keyboard shortcuts

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