pub struct Colors {
pub accent: Style,
pub active: Style,
pub input: Style,
pub success: Style,
pub error: Style,
pub cancel: Style,
pub dim: Style,
pub header: Style,
pub header_plain: Style,
pub title: Style,
pub intro_badge: Style,
}Expand description
Every color slot the prompt theme reads. Override via update_colors.
Fields§
§accent: StyleSmall accent glyphs — radio dots (●/○), checkboxes (◼/◻),
scroll arrows (❯), the active prompt diamond (◆).
active: StyleHighlight color for the currently active prompt frame — the │
running down the side of the input line and the closing └ glyph.
Once the prompt is submitted, the frame fades back to dim.
input: StyleLive user input — typed text inside text/secret/multiline/path/auto, plus the inline cursor block. White by default so what you type looks like what you typed.
success: StyleAnswered prompt glyph (◇) and success markers.
error: StyleError glyph (▲), error frame bar, error message text.
cancel: StyleCancel glyph (■) and cancel banner — used by Ctrl+C handler.
dim: StyleFrame bars (│, ┌, └), placeholder text, idle option labels.
header: StyleActive question/answer text style — applied to the header line.
header_plain: StyleFallback foreground when bold headers are off.
title: StyleSection title style — used by outro and
note. Defaults to a pure bold attribute (no fg
override) so it stays visibly bolder than regular text on every
terminal that does not collapse bold on bright colors.
intro_badge: StyleStyle for the intro pill — the clack-style badge
that frames the session title. Defaults to cyan background, black
text, bold. The intro renderer pads the text with one space on each
side, so the badge always reads as <title>.