style

package
v0.0.0-...-53a3c30 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IconDirectory  = ""
	IconFile       = ""
	IconGo         = ""
	IconZip        = ""
	IconGit        = ""
	IconDocker     = ""
	IconJavascript = ""
	IconTypescript = ""
	IconHTML       = ""
	IconCSS        = ""
	IconJSON       = ""
	IconMD         = ""
	IconImage      = ""
	IconVideo      = ""
	IconAudio      = "cn"
	IconShell      = ""
)

Common Nerd Font icons

Variables

This section is empty.

Functions

func GetIcon

func GetIcon(name string, isDir bool) string

Types

type Styles

type Styles struct {
	// contains filtered or unexported fields
}

func NewStyles

func NewStyles(colours string) *Styles

func (*Styles) GetStyle

func (s *Styles) GetStyle(dirEntry fs.DirEntry) lipgloss.Style

GetStyle returns the style corresponding to the given file. It implements precedence logic similar to 'ls'.

Jump to

Keyboard shortcuts

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