[PR #5297] feat: add backgroundSidebar theme property for independent configuration of the sidebar's background colour (resolves #5286) #11331

Closed
opened 2026-02-16 18:16:09 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5297

State: closed
Merged: No


This PR adds a new, optional backgroundSidebar theme property that:

  • Allows independent theming of sidebar background separate from chat message panels
  • If not present in the theme, falls back to backgroundPanel for backward compatibility
  • Updates core theme system with proper type definitions and resolution logic
  • Updates TUI sidebar component to use new theme property
  • Does NOT require modification built-in themes or users' custom themes - they use fallback logic automatically

This enables users to theme sidebar background independently while maintaining full backward compatibility with all existing themes (both stock and custom).

Resolves #5286.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5297 **State:** closed **Merged:** No --- This PR adds a new, optional backgroundSidebar theme property that: - Allows independent theming of sidebar background separate from chat message panels - If not present in the theme, falls back to backgroundPanel for backward compatibility - Updates core theme system with proper type definitions and resolution logic - Updates TUI sidebar component to use new theme property - Does NOT require modification built-in themes or users' custom themes - they use fallback logic automatically This enables users to theme sidebar background independently while maintaining full backward compatibility with all existing themes (both stock and custom). Resolves #5286.
yindo added the pull-request label 2026-02-16 18:16:09 -05:00
yindo closed this issue 2026-02-16 18:16:09 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11331