styles

package
v0.0.0-...-c424ded Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultStyles = Styles{
	Text:   lg.NewStyle().Foreground(DefaultTheme.Text),
	Active: lg.NewStyle().Foreground(DefaultTheme.ActiveText).Background(DefaultTheme.ActiveBackground),
}
View Source
var DefaultTheme = Theme{
	Text:             lg.Color("#ffffff"),
	ActiveText:       lg.Color("#000000"),
	ActiveBackground: lg.Color("#00e7e3"),
	FaintText:        lg.Color("#bbbbbb"),
	FaintBackground:  lg.Color("0"),
	TitleText:        lg.Color("#ff4884"),
	TitleBackground:  lg.Color("0"),
	ActiveBorder:     lg.Color("#00e7e3"),
	InactiveBorder:   lg.Color("#aaaaaa"),
	Border:           lg.Color("#a3fffd"),
}

Functions

This section is empty.

Types

type Styles

type Styles struct {
	Text           lg.Style
	Active         lg.Style
	Faint          lg.Style
	Title          lg.Style
	Border         lg.Style
	ActiveBorder   lg.Style
	InactiveBorder lg.Style
}

type Theme

type Theme struct {
	Text             lg.Color
	ActiveText       lg.Color
	ActiveBackground lg.Color
	FaintText        lg.Color
	FaintBackground  lg.Color
	TitleText        lg.Color
	TitleBackground  lg.Color
	Border           lg.Color
	ActiveBorder     lg.Color
	InactiveBorder   lg.Color
}

Jump to

Keyboard shortcuts

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