style

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldNameColor  = "#87afff"   // Light, vibrant blue to match "doom-one2" theme
	FieldValueColor = "#5faf87"   // Soothing blue-green, also from "doom-one2"
	TerminalStyle   = "doom-one2" // See github.com/alecthomas/chroma/quick for options
	ErrorColor      = "#ea685b"
)

Variables

This section is empty.

Functions

func GetErrorMessage

func GetErrorMessage(msg string, options OutputOptions) string

func GetLabel

func GetLabel(label string, options OutputOptions) string

func GetSummaryField

func GetSummaryField(name string, value string, options OutputOptions) string

func WriteErrorMessage

func WriteErrorMessage(builder *strings.Builder, msg string, options OutputOptions)

func WriteHeader

func WriteHeader(builder *strings.Builder, title string)

func WriteSummaryField

func WriteSummaryField(builder *strings.Builder, name string, value string, options OutputOptions)

Types

type OutputOptions

type OutputOptions interface {
	InColor() bool
}

Jump to

Keyboard shortcuts

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