<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sl0ppij.git/example/layouts/pane_colors_layout.kdl, branch main</title>
<subtitle>a sl0p.foo repository</subtitle>
<id>https://git.sl0p.foo/sl0ppij.git/atom/example/layouts/pane_colors_layout.kdl?h=main</id>
<link rel='self' href='https://git.sl0p.foo/sl0ppij.git/atom/example/layouts/pane_colors_layout.kdl?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0ppij.git/'/>
<updated>2026-03-04T13:26:26Z</updated>
<entry>
<title>feat: add per-pane default foreground/background color support (#4737)</title>
<updated>2026-03-04T13:26:26Z</updated>
<author>
<name>Karl Bunch</name>
<email>karlbunch@users.noreply.github.com</email>
</author>
<published>2026-03-04T13:26:26Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/sl0ppij.git/commit/?id=f77cdec298576164f34baf0456e4b986bde269e6'/>
<id>urn:sha1:f77cdec298576164f34baf0456e4b986bde269e6</id>
<content type='text'>
* feat: add per-pane default foreground/background color support

Add per-pane default foreground and background colors, configurable
through four surfaces:

- OSC 10/11 escape sequences (set/query) and OSC 110/111 (reset)
- CLI action: zellij action set-pane-color --pane-id &lt;id&gt; --fg/--bg
- Layout config: default_fg/default_bg properties on pane nodes
- Plugin API: set_pane_color() SDK function and PaneInfo read-side

Colors are applied at render time as a fallback when cells have no
explicit foreground/background, without mutating stored grid data.

Closes #4712

* refactor: address review feedback for pane color support

- Extract adjust_styles_for_custom_bg_fg in output/mod.rs
- Move color parsing (xparse_color) from tab into Grid
- Move color serialization (ansi_code_to_color_string) into Grid
- Pane trait now uses Option&lt;String&gt; for color getters/setters
- Add colors to session serialization (dump-layout)
- Add default_fg/default_bg to protobuf IPC schema to fix
  layout-in-session color loss
- Update example layout with tab-bar and status-bar

* fix stack overflow and ordering

* rustfmt

* update e2e snapshots

---------

Co-authored-by: Karl Bunch &lt;karl@karlbunch.com&gt;
Co-authored-by: Aram Drevekenin &lt;aram@poor.dev&gt;</content>
</entry>
</feed>
