Documentation
¶
Index ¶
Constants ¶
View Source
const ( // HeaderHeight is the height of header HeaderHeight = 5 // AvatarSize is the width and height of an avatar AvatarSize = 4 )
Variables ¶
View Source
var Ethereum = &Style{ FgColor: tcell.ColorFloralWhite, BgColor: tview.Styles.PrimitiveBackgroundColor, SectionColor: tcell.ColorCoral, SectionColor2: tcell.Color73, HelpKeyColor: tcell.Color69, TitleColor: tcell.ColorFloralWhite, BorderColor: tcell.Color60, TitleColor2: tcell.ColorFloralWhite, BorderColor2: tcell.Color60, MethResultBorderColor: tcell.Color69, TableHeaderStyle: new(tcell.Style).Foreground(tcell.Color147).Bold(true), DialogBgColor: tview.Styles.PrimitiveBackgroundColor, DialogBorderColor: tcell.Color147, ButtonBgColor: tcell.ColorCoral, PrgBarCellColor: tcell.ColorCoral, PrgBarTitleColor: tcell.ColorFloralWhite, PrgBarBorderColor: tcell.ColorDimGray, InputFieldLableColor: tcell.ColorSandyBrown, InputFieldBgColor: tcell.Color60, }
Palette
Color60: #5F5F87 Color69: #5F87FF Color73: #5FAFAF Color147: #AFAFFF ColorCoral: #FF7F50 ColorDimGray: #696969 ColorSandyBrown: #F4A460
Functions ¶
func BoldPadding ¶
Types ¶
type Style ¶
type Style struct {
// main
FgColor tcell.Color
BgColor tcell.Color
SectionColor tcell.Color
SectionColor2 tcell.Color
// help
HelpKeyColor tcell.Color
// body
TitleColor tcell.Color
BorderColor tcell.Color
TitleColor2 tcell.Color
BorderColor2 tcell.Color
// methodCall
MethResultBorderColor tcell.Color
// table
TableHeaderStyle tcell.Style
// dialog
DialogBgColor tcell.Color
DialogBorderColor tcell.Color
ButtonBgColor tcell.Color
// progress bar
PrgBarCellColor tcell.Color
PrgBarTitleColor tcell.Color
PrgBarBorderColor tcell.Color
// others
InputFieldLableColor tcell.Color
InputFieldBgColor tcell.Color
}
Click to show internal directories.
Click to hide internal directories.