theme

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RoleBackground Role = iota
	RoleLine
	RoleLive
	RoleSelection
	RoleTextPrimary
	RoleTextMuted
	RoleError
	RoleWarn
	RoleBranch
	RoleWorktree
	RoleMain
	RoleSha
	RoleAdd
	RoleDel
	RoleAccent
	RoleHazard
	RoleAmber
	RoleInk
	RoleStaged
	RoleUnstaged
	RoleUntracked
	RolePR
	RoleRule
	RolePin

	NumRoles int = iota
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Role

type Role int

type Theme

type Theme struct {
	Name string
	// contains filtered or unexported fields
}

func ByName

func ByName(name string) Theme

func Evangelion

func Evangelion() Theme

func (Theme) Color

func (t Theme) Color(r Role) string

func (Theme) StateColor

func (t Theme) StateColor(s model.AgentState) string

Jump to

Keyboard shortcuts

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