styles

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InactiveTabBorder = tabBorderWithBottom("┴", "─", "┴")
	ActiveTabBorder   = tabBorderWithBottom("┘", " ", "└")
	InactiveTabStyle  = lipgloss.NewStyle().Border(InactiveTabBorder, true).Padding(0, 1)
	ActiveTabStyle    = InactiveTabStyle.Border(ActiveTabBorder, true)
	WindowSize        tea.WindowSizeMsg
	Border            = lipgloss.Border(lipgloss.RoundedBorder())
	HighlightColor    = lipgloss.AdaptiveColor{Light: "#874BFD", Dark: "#7D56F4"}
	InactiveStyle     = lipgloss.NewStyle()
	ActiveStyle       = InactiveStyle.BorderForeground(HighlightColor)
)

Functions

func GenerateTopBorderWithTitle

func GenerateTopBorderWithTitle(title string, width int, border lipgloss.Border, style lipgloss.Style) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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