theme

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ThemeMonochrome          = "monochrome"
	DefaultThemeName         = "catppuccin_mocha"
	ThemeCatppuccinMocha     = "catppuccin_mocha"
	ThemeCatppuccinMacchiato = "catppuccin_macchiato"
	ThemeRosePine            = "rose_pine"
	ThemeTokyoNight          = "tokyo_night"
	ThemeDracula             = "dracula"
	ThemeVesper              = "vesper"
)

Variables

This section is empty.

Functions

func KnownThemes

func KnownThemes() []string

func NormalizeName

func NormalizeName(name string) string

Types

type Theme

type Theme struct {
	TextPrimary     string
	TextSecondary   string
	TextMuted       string
	BackgroundBase  string
	AccentPrimary   string
	AccentSecondary string
	StatusError     string
	StatusSuccess   string
	StatusWarning   string
	StatusInfo      string
}

func CatppuccinMacchiatoTheme

func CatppuccinMacchiatoTheme() Theme

func CatppuccinMochaTheme

func CatppuccinMochaTheme() Theme

func DraculaTheme

func DraculaTheme() Theme

func FromName

func FromName(name string) (Theme, string, error)

func MonochromeTheme added in v0.8.7

func MonochromeTheme() Theme

func Resolve

func Resolve(name string) (Theme, bool)

func RosePineTheme

func RosePineTheme() Theme

func TokyoNightTheme

func TokyoNightTheme() Theme

func VesperTheme

func VesperTheme() Theme

Jump to

Keyboard shortcuts

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