styles

package
v0.0.0-...-900bd8d Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package styles provides ui style for bubbletea

Index

Constants

This section is empty.

Variables

View Source
var (
	// ColorMain is primary color
	ColorMain = lipgloss.Color("#00ccff")
	// ColorErr is to display error
	ColorErr = lipgloss.Color("#ff3399")

	// StyleSpinner is style for spinner
	StyleSpinner = lipgloss.NewStyle().Foreground(ColorMain)
	// StyleActive is style for active state
	StyleActive = lipgloss.NewStyle().Bold(true)
	// StyleActionHeader is header style for action heaeder
	StyleActionHeader = lipgloss.NewStyle().Bold(true).Padding(0, 1).Background(ColorMain)
	// StyleErrorHeader is header style for active state error
	StyleErrorHeader = lipgloss.NewStyle().Bold(true).Padding(0, 1).Background(ColorErr)
	// StyleDone is style for ui state is done
	StyleDone = lipgloss.NewStyle().Faint(true)
	// StyleTruncated is style for truncated state
	StyleTruncated = lipgloss.NewStyle().Faint(true)
	// StyleNotificationBorder is style for notification
	StyleNotificationBorder = lipgloss.NewStyle().Foreground(ColorMain)
	// StyleNotificationText is style for notification
	StyleNotificationText = lipgloss.NewStyle().Bold(true)
	// StyleLink is style for hyperlink
	StyleLink = lipgloss.NewStyle().Underline(true)
)

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