Documentation
¶
Overview ¶
Package theme holds the TUI's palette and styles. Colors name roles, not hues; Init must pick the hues before anything renders.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Fg color.Color // body text Strong color.Color // highest contrast: the assistant's bullet, titles Muted color.Color // secondary text Subtle color.Color // hints, thinking Faint color.Color // rules, connectors Surface color.Color // the user's prompt band Selection color.Color // selected text Accent color.Color // the brand: prompt, focus Live color.Color // the status line's spinner Warm color.Color // running work, emphasis Success color.Color Danger color.Color Info color.Color // links, inline code Path color.Color Shell color.Color // "!" commands Agent color.Color // sub-agents DiffAdd, DiffRemove color.Color // line backgrounds DiffAddWord, DiffRemoveWord color.Color // changed words within a line // Glint ramps dim to bright for the status line's shimmer. Glint [16]color.Color )
View Source
var ( Text lipgloss.Style Bold lipgloss.Style MutedText lipgloss.Style SubtleText lipgloss.Style FaintText lipgloss.Style AccentText lipgloss.Style WarmText lipgloss.Style ErrorText lipgloss.Style OKText lipgloss.Style PathText lipgloss.Style Selected lipgloss.Style // the highlighted row of a list Key lipgloss.Style // a key in a hint, "esc" )
View Source
var Dark bool
Functions ¶
func Detect ¶
func Detect()
Detect lets CODEBOT_THEME=light|dark override the terminal's reported background.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.