styles

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

	FooterHeight = 3
	FooterStyle  = lipgloss.NewStyle().
					Height(FooterHeight - 1).
					BorderTop(true).
					BorderStyle(lipgloss.NormalBorder()).
					BorderForeground(Theme.Border)
)
View Source
var (
	SingleRuneWidth    = 4
	MainContentPadding = 1
)
View Source
var Theme = func() ThemeSpec {
	return dracula

}()

Functions

This section is empty.

Types

type ThemeSpec

type ThemeSpec struct {
	MainText        lipgloss.AdaptiveColor
	FaintText       lipgloss.AdaptiveColor
	PageMetaText    lipgloss.AdaptiveColor
	HighlightTab    lipgloss.AdaptiveColor
	HighlightRow    lipgloss.AdaptiveColor
	HighlightColumn lipgloss.AdaptiveColor
	Border          lipgloss.AdaptiveColor
	FaintBorder     lipgloss.AdaptiveColor
	SearchPrompt    lipgloss.AdaptiveColor
}

Jump to

Keyboard shortcuts

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