themes

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CurrentTheme = defaultTheme()

CurrentTheme is the currently active theme

Functions

func CatppuccinColor

func CatppuccinColor(c catppuccin.Color) tcell.Color

func DefaultBorderWithPadding

func DefaultBorderWithPadding(box *tview.Box)

DefaultBorderWithPadding applies default border styling with padding

func DefaultBorderWithoutPadding

func DefaultBorderWithoutPadding(box *tview.Box)

DefaultBorderWithoutPadding applies default border styling without padding

func SetPanelTitle

func SetPanelTitle(box *tview.Box, title string)

SetPanelTitle sets up a box with a centered title and default border

Types

type Theme

type Theme interface {
	FocusedBorderColor() tcell.Color
	FocusedGraphicsColor() tcell.Color
	FocusedSelectedTextStyle() tcell.Style

	BlurredBorderColor() tcell.Color
	BlurredGraphicsColor() tcell.Color
	BlurredSelectedTextStyle() tcell.Style

	LabelColor() tcell.Color

	TableHeaderColor() tcell.Color

	HotkeyColor() tcell.Color
}

func CatppuccinTheme

func CatppuccinTheme(flavor catppuccin.Flavor) Theme

Jump to

Keyboard shortcuts

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