Skip to content

Palette Configuration

Eric Mertens edited this page Jan 3, 2024 · 2 revisions

The client color palette can be configured in the top-level palette: section.

palette:
  self: blue
  self-highlight: bg: blue
                  fg: white
entry type description
identifier-colors list of attr Use for nickname and channel highlights
self attr our own nickname(s) outside of mentions
self-highlight attr our own nickname(s) in mentions
time attr timestamp on messages
meta attr metadata (joins/parts/etc.)
sigil attr sigils (+@)
label attr information labels
latency attr latency time
error attr error messages
textbox attr textbox edges (^$)
window-name attr current window name
activity attr activity notification
mention attr mention notification
command attr recognized command
command-prefix attr prefix of known command
command-ready attr recognized command with arguments filled
command-placeholder attr command argument placeholder
window-divider attr the dividing line between split windows

Text Attributes

Text attributes can be specified either as a single foreground color or section of attributes.

  • <number> - Maps to a terminal color
  • <name> - Direct selection of standard 16 terminal colors
  • [red-number, blue-number, green-number] - List of 3 numbers in range 0-255 map to an approximation of the RGB color.

Attributes

  • fg - foreground color
  • bg - background color
  • style - single style or list of styles

Named colors

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • bright-black
  • bright-red
  • bright-green
  • bright-yellow
  • bright-blue
  • bright-magenta
  • bright-cyan
  • bright-white

Styles

  • blink
  • bold
  • dim
  • standout
  • reverse-video
  • underline