styles

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MainTextStyle = lipgloss.NewStyle().
					Foreground(DefaultTheme.MainText).
					Bold(true)

	FooterHeight = 3
	FooterStyle  = lipgloss.NewStyle().
					Height(FooterHeight - 1).
					BorderTop(true).
					BorderStyle(lipgloss.NormalBorder()).
					BorderForeground(DefaultTheme.Border)
)
View Source
var (
	SingleRuneWidth    = 4
	MainContentPadding = 1
)
View Source
var DefaultTheme = Theme{
	MainText:           lipgloss.AdaptiveColor{Light: draculaForeground, Dark: draculaForeground},
	BrightMainText:     lipgloss.AdaptiveColor{Light: draculaPink, Dark: draculaPink},
	Border:             lipgloss.AdaptiveColor{Light: draculaCurrentLine, Dark: draculaCurrentLine},
	FaintBorder:        lipgloss.AdaptiveColor{Light: "#2b2b40", Dark: "#2b2b40"},
	FaintText:          lipgloss.AdaptiveColor{Light: draculaComment, Dark: draculaComment},
	SelectedBackground: lipgloss.AdaptiveColor{Light: draculaCurrentLine, Dark: draculaCurrentLine},
	SelectedTab:        lipgloss.AdaptiveColor{Light: draculaPurple, Dark: draculaPurple},
	SelectedColHeader:  lipgloss.AdaptiveColor{Light: draculaGreen, Dark: draculaGreen},
	SearchPrompt:       lipgloss.AdaptiveColor{Light: draculaGreen, Dark: draculaGreen},
	AWSAccountId:       lipgloss.AdaptiveColor{Light: draculaYellow, Dark: draculaYellow},
}

Functions

This section is empty.

Types

type Theme

type Theme struct {
	MainText           lipgloss.AdaptiveColor
	BrightMainText     lipgloss.AdaptiveColor
	Border             lipgloss.AdaptiveColor
	FaintBorder        lipgloss.AdaptiveColor
	FaintText          lipgloss.AdaptiveColor
	SelectedBackground lipgloss.AdaptiveColor
	SelectedTab        lipgloss.AdaptiveColor
	SelectedColHeader  lipgloss.AdaptiveColor
	SearchPrompt       lipgloss.AdaptiveColor
	AWSAccountId       lipgloss.AdaptiveColor
}

Jump to

Keyboard shortcuts

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