tinge

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Grey       = lipgloss.NewStyle().Foreground(lipgloss.Color("#909194"))
	GreyDark   = lipgloss.NewStyle().Foreground(lipgloss.Color("#454e6d"))
	Green      = lipgloss.NewStyle().Foreground(lipgloss.Color("#50FA7B"))
	GreenLight = lipgloss.NewStyle().Foreground(lipgloss.Color("#3fed7b"))
	GreenDark  = lipgloss.NewStyle().Foreground(lipgloss.Color("#3C9258"))
	Red        = lipgloss.NewStyle().Foreground(lipgloss.Color("#ff5555"))
	Pink       = lipgloss.NewStyle().Foreground(lipgloss.Color("#ff79c6"))
	Yellow     = lipgloss.NewStyle().Foreground(lipgloss.Color("#f1fa8c"))
	Blue       = lipgloss.NewStyle().Foreground(lipgloss.Color("#a4ffff"))
	BlueDark   = lipgloss.NewStyle().Foreground(lipgloss.Color("#8be9fd"))

	Bold   = lipgloss.NewStyle().Bold(true)
	Italic = lipgloss.NewStyle().Italic(true)
)

Functions

This section is empty.

Types

type StyledText

type StyledText struct {
	// contains filtered or unexported fields
}

func Styled

func Styled() *StyledText

func (*StyledText) Blue

func (s *StyledText) Blue(text string) *StyledText

func (*StyledText) BlueDark

func (s *StyledText) BlueDark(text string) *StyledText

func (*StyledText) Bold

func (s *StyledText) Bold(text string) *StyledText

func (*StyledText) BoldItalic

func (s *StyledText) BoldItalic(text string) *StyledText

func (*StyledText) Green

func (s *StyledText) Green(text string) *StyledText

func (*StyledText) GreenDark

func (s *StyledText) GreenDark(text string) *StyledText

func (*StyledText) GreenLight

func (s *StyledText) GreenLight(text string) *StyledText

func (*StyledText) Grey

func (s *StyledText) Grey(text string) *StyledText

func (*StyledText) GreyDark

func (s *StyledText) GreyDark(text string) *StyledText

func (*StyledText) Indent

func (s *StyledText) Indent(spaces int) *StyledText

func (*StyledText) Italic

func (s *StyledText) Italic(text string) *StyledText

func (*StyledText) Newline

func (s *StyledText) Newline() *StyledText

func (*StyledText) Pink

func (s *StyledText) Pink(text string) *StyledText

func (*StyledText) Red

func (s *StyledText) Red(text string) *StyledText

func (*StyledText) Space

func (s *StyledText) Space(n ...int) *StyledText

func (*StyledText) String

func (s *StyledText) String() string

func (*StyledText) Text

func (s *StyledText) Text(text string) *StyledText

func (*StyledText) With

func (s *StyledText) With(styles ...TextStyle) *StyledTextBuilder

func (*StyledText) Yellow

func (s *StyledText) Yellow(text string) *StyledText

type StyledTextBuilder

type StyledTextBuilder struct {
	// contains filtered or unexported fields
}

func (*StyledTextBuilder) Text

func (b *StyledTextBuilder) Text(content string) *StyledText

type TextStyle

type TextStyle = lipgloss.Style

Jump to

Keyboard shortcuts

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