theme

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Theme

type Theme struct {
	Name       string
	Background lipgloss.Color
	Foreground lipgloss.Color
	Accent     lipgloss.Color
	Muted      lipgloss.Color
	Warning    lipgloss.Color
	Danger     lipgloss.Color
	Success    lipgloss.Color

	App         lipgloss.Style
	Title       lipgloss.Style
	Panel       lipgloss.Style
	PanelTitle  lipgloss.Style
	Selected    lipgloss.Style
	MutedText   lipgloss.Style
	Help        lipgloss.Style
	Badge       lipgloss.Style
	WarningText lipgloss.Style
	DangerText  lipgloss.Style
}

Theme contains the shared visual primitives used by TUI views.

func Amber

func Amber() Theme

Amber returns a monochrome amber CRT theme.

func ByName

func ByName(name string) (Theme, error)

ByName returns a named theme preset.

func DOS

func DOS() Theme

DOS returns a blue DOS utility theme.

func Green

func Green() Theme

Green returns a green phosphor terminal theme.

func Wizardry

func Wizardry() Theme

Wizardry returns the default RPG party-sheet theme.

Jump to

Keyboard shortcuts

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