style

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	White              = "#ffffff"
	Gray               = "#777777"
	Red                = "#ff4444"
	HighlightColor     = "#1DB954"
	SemiHighlightColor = "#146542"
	BgColor            = "#191414"
)
View Source
const (
	DefaultErrorMessage = "unexpected error happens.\n\nplease report at\n\nhttps://github.com/JunNishimura/Chatify/issues"
)

Variables

This section is empty.

Functions

func AsciiArt

func AsciiArt() lipgloss.Style

func BotChat

func BotChat(width int) lipgloss.Style

func ChatFocused

func ChatFocused(width, height int) lipgloss.Style

func ChatNormal

func ChatNormal(width, height int) lipgloss.Style

func ErrorView

func ErrorView(message string, windowWidth, windowHeight int) string

func List

func List() (s list.DefaultItemStyles)

func QuitView added in v1.1.0

func QuitView(message string, windowWidth, windowHeight int) string

func RecommendationFocused

func RecommendationFocused(width, height int) lipgloss.Style

func RecommendationNormal

func RecommendationNormal(width, height int) lipgloss.Style

func TextInput

func TextInput() lipgloss.Style

func UserChat

func UserChat() lipgloss.Style

Types

This section is empty.

Jump to

Keyboard shortcuts

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