style

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package style contains the styles for the UDS CLI and UDS Engine streaming output.

Index

Constants

This section is empty.

Variables

View Source
var (
	Bold      = lipgloss.NewStyle().Bold(true)
	Underline = lipgloss.NewStyle().Underline(true)

	// styles for gray-90 tags from https://carbondesignsystem.com/elements/color/tokens/
	Gray     = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#636363", Dark: "#8d8d8d"})
	CoolGray = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#5d646a", Dark: "#878d96"})
	WarmGray = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#565151", Dark: "#8f8b8b"})
	Red      = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#c21e25", Dark: "#fa4d56"})
	Orange   = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#d67c00", Dark: "#fff3e1"})
	Yellow   = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#e3a21a", Dark: "#fff9e7"})
	Green    = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#11742f", Dark: "#24a148"})
	Teal     = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#007070", Dark: "#009d9a"})
	Cyan     = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#00539a", Dark: "#1192e8"})
	Blue     = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#0043ce", Dark: "#4589ff"})
	Purple   = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#7c3dd6", Dark: "#a56eff"})
	Magenta  = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#bf1d63", Dark: "#ee5396"})
	Pink     = lipgloss.NewStyle().Foreground(lipgloss.AdaptiveColor{Light: "#d60093", Dark: "#ffe0f6"})
)

Functions

func RenderFmt

func RenderFmt(style lipgloss.Style, format string, a ...any) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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