style

package
v0.18.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package style provide display coloring

Index

Constants

This section is empty.

Variables

View Source
var (
	Default string = "default"
	Red     string = "red"
	Green   string = "green"
	Yellow  string = "yellow"
	Blue    string = "blue"
	Magenta string = "magenta"
	Cyan    string = "cyan"

	BrightBlack string = "bright-black"
)

TODO full style support: e.g. "bg-bright-black bright-cyan bold underlined" https://elv.sh/ref/builtin.html#styled

Functions

func ForPath

func ForPath(path string) string

ForPath returns the style for given path

Types

This section is empty.

Jump to

Keyboard shortcuts

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