colors

package
v14.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package colors provides definitions for ANSI colors to be used in terminal output.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold() termenv.Style

func BoldCyan

func BoldCyan() termenv.Style

func BoldGreen

func BoldGreen() termenv.Style

func BoldRed

func BoldRed() termenv.Style

func BoldUnderline

func BoldUnderline() termenv.Style

func Cyan

func Cyan() termenv.Style

func Faint

func Faint() termenv.Style

func FaintBold

func FaintBold() termenv.Style

func Green

func Green() termenv.Style

func Red

func Red() termenv.Style

Types

type DialogColors

type DialogColors struct {
	EntryNumber termenv.Style // color for the number of entries
	Help        termenv.Style // color of help text
	HelpKey     termenv.Style // color of key names in help text
	Initial     termenv.Style // color for the row containing the currently checked out branch
	Selection   termenv.Style // color for the currently selected entry
	Title       termenv.Style // color for the title of the current screen
}

Typical colors used in BubbleTea dialogs.

func NewDialogColors

func NewDialogColors() DialogColors

Jump to

Keyboard shortcuts

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