theme

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: GPL-3.0 Imports: 1 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func Brand

func Brand() lipgloss.Style

Brand returns the brand pill style (reverse video) used for the MINOP prompt label.

func Dim

func Dim() lipgloss.Style

Dim is the faint colour used for separators, time stamps, and the description column of help entries.

func HelpKey

func HelpKey() lipgloss.Style

HelpKey is the verb/key column of a help entry, distinct from Task only by intent; both share the same colour.

func HostAddr

func HostAddr() lipgloss.Style

HostAddr is the address segment in `minop host` tree output.

func HostHeader

func HostHeader() lipgloss.Style

HostHeader is the bold role-name header in `minop host` (e.g. "• all").

func HostLine

func HostLine() lipgloss.Style

HostLine is the colour of the per-host line printed under each module header in `minop run` output.

func HostPort

func HostPort() lipgloss.Style

HostPort is the port segment in `minop host` tree output.

func HostSep

func HostSep() lipgloss.Style

HostSep is the dim "@" and ":" separators between user, address, and port in `minop host`.

func HostUser

func HostUser() lipgloss.Style

HostUser is the user segment in `minop host` tree output.

func Label

func Label() lipgloss.Style

Label is used for inline labels next to values (e.g. "• Version:

<value>").

func PromptArrow

func PromptArrow() lipgloss.Style

PromptArrow is the dim "›" separator between the brand pill and the input field in the interactive REPL.

func ResultLabel

func ResultLabel() lipgloss.Style

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 Task

func Task() lipgloss.Style

Task is used for task names and the verb of a help entry.

func Timestamp

func Timestamp() lipgloss.Style

Timestamp is the faint timestamp printed next to each host result in `minop run` output.

func Title

func Title() lipgloss.Style

Title is used for section headers ("MINOP CLI COMMANDS", version banner).

func TreeBranch

func TreeBranch() lipgloss.Style

TreeBranch is the colour of tree branch characters (├──, └──).

Types

This section is empty.

Jump to

Keyboard shortcuts

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