ui

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const HelpText = `` /* 1235-byte string literal not displayed */
View Source
const UsageText = `` /* 1629-byte string literal not displayed */

Variables

This section is empty.

Functions

func GetStyleBorderedViewport

func GetStyleBorderedViewport() lipgloss.Style

GetStyleBorderedViewport returns the bordered viewport style using the current theme

func GetStyleError

func GetStyleError() lipgloss.Style

GetStyleError returns the error style using the current theme

func GetStyleFormatIndicator

func GetStyleFormatIndicator() lipgloss.Style

GetStyleFormatIndicator returns the format indicator style using the current theme

func GetStyleHeader

func GetStyleHeader() lipgloss.Style

GetStyleHeader returns the header style using the current theme

func GetStyleHelp

func GetStyleHelp() lipgloss.Style

GetStyleHelp returns the help style using the current theme

func GetStyleInfo added in v1.0.3

func GetStyleInfo() lipgloss.Style

GetStyleInfo returns the info style using the current theme

func GetStyleSearchCount

func GetStyleSearchCount() lipgloss.Style

GetStyleSearchCount returns the search count style using the current theme

func GetStyleSuccess

func GetStyleSuccess() lipgloss.Style

GetStyleSuccess returns the success style using the current theme

func GetStyleWarning added in v1.0.3

func GetStyleWarning() lipgloss.Style

GetStyleWarning returns the warning style using the current theme

func NewSearchInput

func NewSearchInput() textinput.Model

NewSearchInput creates a new search input with styling from the current theme

func StyleCheckBox

func StyleCheckBox(checked bool) string

StyleCheckBox returns a styled checkbox based on the current theme

func StyleDirectoryName

func StyleDirectoryName(name string) string

func StyleFileLine

func StyleFileLine(content string, isDir, isSelected, isDeselected, isCursor bool) string

StyleFileLine styles a file line based on its properties and the current theme

func StylePartialCheckBox

func StylePartialCheckBox() string

StylePartialCheckBox returns a styled partial checkbox for directories with selected children

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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