-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat: add backgroundSidebar theme property for independent configuration of the sidebar's background colour (resolves #5286) #5297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
…sidebar theming Resolves GitHub issue sst#5286 by adding a new sidebarBackgroundPanel theme property that: - Allows independent theming of sidebar background separate from chat message panels - Falls back to backgroundPanel for backward compatibility (as requested by ariane-emory) - Updates core theme system with proper type definitions and resolution logic - Updates TUI sidebar component to use new theme property - Does NOT modify built-in themes - they use fallback logic automatically This enables users to theme sidebar background independently while maintaining full backward compatibility with all existing themes.
|
Yesss 🎉 Also, thinking of the existing naming conventions, do you think it should it be |
|
Sure, I can change the name if you'd like. There's also a test GH action failing presently, as you can see on this page. Gimme little longer get that done, OC somehow trounced part of my usual dev env and putting it back together might take me another hour or two. |
That's probably more of a Dax/Adam question though! ❤️ |
Rename sidebarBackgroundPanel to backgroundSidebar to allow independent theming of sidebar background color from chat message panels. This addresses GitHub issue sst#5286 where users wanted to theme the sidebar background separately from the backgroundPanel used by chat messages. Changes: - Rename ThemeColors.sidebarBackgroundPanel to backgroundSidebar - Update ThemeJson type definitions - Update theme resolution logic with fallback to backgroundPanel - Update sidebar component to use new property name - Maintain backward compatibility through optional fallback
|
Corrupted by a bad merge, will fix. |
7918faf to
79bfb34
Compare
|
Uncorrupted. |
a4cb23e to
ed52e99
Compare
dcbe925 to
ed52e99
Compare
…y/opencode into feat/sidebar-color-prop-5286
…y/opencode into feat/sidebar-color-prop-5286
57a2e93 to
1626d89
Compare
This PR adds a new, optional backgroundSidebar theme property that:
This enables users to theme sidebar background independently while maintaining full backward compatibility with all existing themes (both stock and custom).
Resolves #5286.