ui

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HeaderStyle = lipgloss.NewStyle().Padding(0, 1, 0, 1).Foreground(neutral).Bold(true).Align(lipgloss.Center)
	CellStyle   = lipgloss.NewStyle().Padding(0, 1, 0, 1)
)
View Source
var (
	TextErrorStyle = lipgloss.NewStyle().Bold(true).
					Foreground(errorC).
					PaddingTop(1).
					PaddingBottom(1)

	TextWarningStyle = lipgloss.NewStyle().Bold(true).
						Foreground(warning).
						PaddingTop(1).
						PaddingBottom(1)

	TextSuccessStyle = lipgloss.NewStyle().Bold(true).
						Foreground(success).
						PaddingTop(1).
						PaddingBottom(1)

	TextPrimaryStyle = lipgloss.NewStyle().Bold(true).
						Foreground(primary).
						PaddingTop(1).
						PaddingBottom(1)

	TextSecondaryStyle = lipgloss.NewStyle().Bold(true).
						Foreground(secondary).
						PaddingTop(1).
						PaddingBottom(1)

	TextTertiaryStyle = lipgloss.NewStyle().Bold(true).
						Foreground(tertiary).
						PaddingTop(1).
						PaddingBottom(1)
)

Functions

func TasksTable

func TasksTable(columns []string, rows [][]string) string

func TextError

func TextError(text string) string

func TextPrimary

func TextPrimary(text string) string

func TextSecondary

func TextSecondary(text string) string

func TextSuccess

func TextSuccess(text string) string

func TextTertiary

func TextTertiary(text string) string

func TextWarning

func TextWarning(text string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳