style

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DialogPadding dialog inner paddign.
	DialogPadding = 3
	// DialogFormHeight dialog "Enter"/"Cancel" form height.
	DialogFormHeight = 3

	// DialogMinWidth dialog min width.
	DialogMinWidth = 40

	InputFieldBgColor = tcell.ColorLightGray
	InputFieldFgColor = tcell.ColorBlack
)
View Source
const Header = tcell.Color241

Variables

View Source
var (
	DetailsValueFg = tcell.ColorDefault
	DetailsValueBg = tcell.ColorDefault

	DetailsKeyFg = tcell.ColorDarkGray
	DetailsKeyBg = tcell.ColorDefault

	DetailsProgressLeft  = tcell.GetColor("#5A56E0")
	DetailsProgressRight = tcell.GetColor("#EE6FF8")
)
View Source
var (
	DialogFgColor = tcell.ColorDefault
	DialogBgColor = tcell.NewRGBColor(98, 0, 140)

	ButtonBgColor     = tcell.Color241
	DialogBorderColor = tcell.ColorWhite
)
View Source
var (
	DefaultTimelineStyle = TimeLine{
		Earlier: tcell.StyleDefault.Foreground(tcell.GetColor("#17e1cf")),
		Later:   tcell.StyleDefault.Foreground(tcell.GetColor("#17e1cf")),

		NotExisting: tcell.StyleDefault,
		Deleted:     tcell.StyleDefault.Background(tcell.GetColor("#303030")),
		NotSynced:   tcell.StyleDefault.Background(tcell.GetColor("#805056")),
		NotReady:    tcell.StyleDefault.Background(tcell.GetColor("#80672c")),
		Ready:       tcell.StyleDefault.Background(tcell.GetColor("#0c7568")),
	}

	SelectedTimeLineStyle = TimeLine{
		Earlier: tcell.StyleDefault.Foreground(tcell.GetColor("#17e1cf")),
		Later:   tcell.StyleDefault.Foreground(tcell.GetColor("#17e1cf")),

		NotExisting: tcell.StyleDefault,
		Deleted:     tcell.StyleDefault.Background(tcell.GetColor("#737373")),
		NotSynced:   tcell.StyleDefault.Background(tcell.GetColor("#996067")),
		NotReady:    tcell.StyleDefault.Background(tcell.GetColor("#997b34")),
		Ready:       tcell.StyleDefault.Background(tcell.GetColor("#0e8c7c")),
	}
)
View Source
var TreeGraphics = tcell.GetColor("#9a5efc")

Functions

This section is empty.

Types

type TimeLine

type TimeLine struct {
	Earlier tcell.Style
	Later   tcell.Style

	NotExisting tcell.Style
	Deleted     tcell.Style
	NotSynced   tcell.Style
	NotReady    tcell.Style
	Ready       tcell.Style
}

Jump to

Keyboard shortcuts

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