theme

package
v0.0.62-rc1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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

func ProgressColors(scheme fang.ColorScheme) (color.Color, color.Color)

ProgressColors resolves a Fang color scheme to fill and empty colors for download progress.

func ProgressColorsByName

func ProgressColorsByName(name string, out term.File) (color.Color, color.Color)

ProgressColorsByName resolves a theme name to fill and empty colors for download progress.

func SynthwaveColorScheme

func SynthwaveColorScheme(c lipgloss.LightDarkFunc) fang.ColorScheme

func ValidName

func ValidName(name string) bool

ValidName reports whether name is a supported theme.

Types

This section is empty.

Jump to

Keyboard shortcuts

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