config

package
v0.0.0-...-2db02be Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NormalStyle     = FileStyle{Fg: "#ffffff"}
	DirectoryStyle  = FileStyle{Fg: "#00ffff", Icon: "\ue5ff", Bold: true}
	ExecutableStyle = FileStyle{Fg: "#00ff00", Bold: true}
	LinkStyle       = FileStyle{Fg: "#00ffff", Bold: true}
	BrokenLinkStyle = FileStyle{Fg: "#ff0000", Bold: true, Underline: true}
)
View Source
var ExtensionStyles = map[string]FileStyle{

	"c":   FileStyle{Fg: "#00ffff", Icon: "\ue61e"},
	"cpp": FileStyle{Fg: "#00ffff", Icon: "\ue61d"},
	"go":  FileStyle{Fg: "#00ffff", Icon: "\ue40f "},
	"rs":  FileStyle{Fg: "#00ffff", Icon: "\ue7a8"},
	"py":  FileStyle{Fg: "#00ffff", Icon: "\ue73c"},
	"jl":  FileStyle{Fg: "#00ffff", Icon: "\ue624"},
	"md":  FileStyle{Fg: "#efffa8", Bold: true, Underline: true},
}

Functions

This section is empty.

Types

type FileStyle

type FileStyle struct {
	Fg        string
	Bg        string
	Bold      bool
	Underline bool
	Italic    bool
	Icon      string
}

func GetFileColors

func GetFileColors(file filesystem.FileItem) FileStyle

TODO: Return lip gloss style struct ??

Jump to

Keyboard shortcuts

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