styles

package
v0.0.0-...-6932d60 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SingleRuneWidth    = 4
	MainContentPadding = 1
)

Variables

This section is empty.

Functions

func MainTextStyle

func MainTextStyle() lipgloss.Style

Types

type Theme

type Theme struct {
	MainText           lipgloss.AdaptiveColor
	BrightMainText     lipgloss.AdaptiveColor
	Border             lipgloss.AdaptiveColor
	SecondaryBorder    lipgloss.AdaptiveColor
	WarningText        lipgloss.AdaptiveColor
	SuccessText        lipgloss.AdaptiveColor
	FaintBorder        lipgloss.AdaptiveColor
	FaintText          lipgloss.AdaptiveColor
	SelectedBackground lipgloss.AdaptiveColor
	SecondaryText      lipgloss.AdaptiveColor
	SubleMainText      lipgloss.AdaptiveColor
}

func DefaultTheme

func DefaultTheme() Theme

Jump to

Keyboard shortcuts

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