Documentation
¶
Overview ¶
Package theme centralises the lipgloss styles used across the command, executor, CLI, and version packages. The styles are grouped semantically — "this is the brand colour", "this is a secondary label" — rather than by colour number, so callers don't need to memorise ANSI codes and a future palette swap only touches this file.
Index ¶
- func Brand() lipgloss.Style
- func Dim() lipgloss.Style
- func HelpKey() lipgloss.Style
- func HostAddr() lipgloss.Style
- func HostHeader() lipgloss.Style
- func HostLine() lipgloss.Style
- func HostPort() lipgloss.Style
- func HostSep() lipgloss.Style
- func HostUser() lipgloss.Style
- func Label() lipgloss.Style
- func PromptArrow() lipgloss.Style
- func ResultLabel() lipgloss.Style
- func Task() lipgloss.Style
- func Timestamp() lipgloss.Style
- func Title() lipgloss.Style
- func TreeBranch() lipgloss.Style
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dim ¶
Dim is the faint colour used for separators, time stamps, and the description column of help entries.
func HelpKey ¶
HelpKey is the verb/key column of a help entry, distinct from Task only by intent; both share the same colour.
func HostHeader ¶
HostHeader is the bold role-name header in `minop host` (e.g. "• all").
func HostLine ¶
HostLine is the colour of the per-host line printed under each module header in `minop run` output.
func HostSep ¶
HostSep is the dim "@" and ":" separators between user, address, and port in `minop host`.
func PromptArrow ¶
PromptArrow is the dim "›" separator between the brand pill and the input field in the interactive REPL.
func ResultLabel ¶
ResultLabel is the colour of per-key labels inside a module's result output (e.g. "stdout:", "stderr:", "ExitStatus:" in the key/value block printed under each host line in `minop run`).
func Timestamp ¶
Timestamp is the faint timestamp printed next to each host result in `minop run` output.
func TreeBranch ¶
TreeBranch is the colour of tree branch characters (├──, └──).
Types ¶
This section is empty.