styles

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2025 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BluelinkPrimary   = lipgloss.AdaptiveColor{Light: "#072f8c", Dark: "#5882e2"}
	BluelinkSecondary = lipgloss.Color("#2b63e3")
	BluelinkError     = lipgloss.Color("#dc2626")
	BluelinkWarning   = lipgloss.Color("#f97316")
	BluelinkInfo      = lipgloss.Color("#2563eb")
	BluelinkMuted     = lipgloss.AdaptiveColor{Light: "#666666", Dark: "#888888"}
)

Bluelink color constants - exported for use in custom rendering

View Source
var (
	// DefaultBluelinkStyles is the default instance of the styles used in the TUI.
	DefaultBluelinkStyles = NewDefaultBluelinkStyles()
)

Functions

func NewBluelinkHuhTheme

func NewBluelinkHuhTheme() *huh.Theme

NewBluelinkHuhTheme creates a huh form theme using the Bluelink color scheme.

Types

type BluelinkStyles

type BluelinkStyles struct {
	Selected          lipgloss.Style
	SelectedListItem  lipgloss.Style
	Selectable        lipgloss.Style
	Title             lipgloss.Style
	ListItem          lipgloss.Style
	Pagination        lipgloss.Style
	Help              lipgloss.Style
	Error             lipgloss.Style
	Warning           lipgloss.Style
	Info              lipgloss.Style
	Muted             lipgloss.Style
	Spinner           lipgloss.Style
	Category          lipgloss.Style
	Location          lipgloss.Style
	DiagnosticMessage lipgloss.Style
	DiagnosticAction  lipgloss.Style
}

BluelinkStyles holds the styles to be used across command TUI components.

func NewBluelinkStyles

func NewBluelinkStyles(r *lipgloss.Renderer) *BluelinkStyles

NewBluelinkStyles creates a new instance of the styles used in the TUI.

func NewDefaultBluelinkStyles

func NewDefaultBluelinkStyles() *BluelinkStyles

NewDefaultBluelinkStyles creates a new instance of the styles used in the TUI with the default renderer.

Jump to

Keyboard shortcuts

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