Documentation
¶
Index ¶
- Constants
- func AnsiColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
- func ColorSchemeByName(name string) fang.ColorSchemeFunc
- func DefaultColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
- func ProgressColors(scheme fang.ColorScheme) (color.Color, color.Color)
- func ProgressColorsByName(name string, out term.File) (color.Color, color.Color)
- func SynthwaveColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
- func ValidName(name string) bool
Constants ¶
View Source
const ( DefaultName = "default" ANSIName = "ansi" SynthwaveName = "synthwave" )
Supported theme names.
Variables ¶
This section is empty.
Functions ¶
func AnsiColorScheme ¶
func AnsiColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
AnsiColorScheme is a ANSI colorscheme.
func ColorSchemeByName ¶
func ColorSchemeByName(name string) fang.ColorSchemeFunc
ColorSchemeByName resolves a theme name to a Fang color scheme.
func DefaultColorScheme ¶
func DefaultColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
DefaultColorScheme is the default colorscheme.
func ProgressColors ¶
ProgressColors resolves a Fang color scheme to fill and empty colors for download progress.
func ProgressColorsByName ¶
ProgressColorsByName resolves a theme name to fill and empty colors for download progress.
func SynthwaveColorScheme ¶
func SynthwaveColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.