Skip to main content

Module theme

Module theme 

Source
Expand description

Theme — colors + typography for tear’s status bar / pane borders / message areas. Operators pick from a named theme or roll their own; the canonical fleet theme is DERIVED from ishou_tokens::FleetDefaults — the SAME source mado reads — so a palette change in ishou propagates to tear and mado together by construction (they can never drift).

Structs§

HexColor
Hex color — "#rgb" or "#rrggbb". The transparent newtype keeps serde output as plain strings.
TearTheme
Per-tear theme. Stores hex strings rather than typed Color values so the serde wire format stays stable across renderer changes. At runtime the in-process backend resolves these via ishou-tokens semantics; the tmux backend writes them into the rendered tmux.conf as colour#XXXXXX.