constants

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AlertStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("62")).Render

AlertStyle provides styling for alert messages

View Source
var DocStyle = lipgloss.NewStyle().Margin(0, 2)

DocStyle styling for viewports

View Source
var ErrStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("#bd534b")).Render

ErrStyle provides styling for error messages

View Source
var HelpStyle = lipgloss.NewStyle().Foreground(lipgloss.Color("241")).Render

HelpStyle styling for help context menu

View Source
var Keymap = keymap{
	Enter: key.NewBinding(
		key.WithKeys("enter"),
		key.WithHelp("enter", "select"),
	),
	Back: key.NewBinding(
		key.WithKeys("esc"),
		key.WithHelp("esc", "back"),
	),
}

Keymap reusable key mappings shared across models

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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