mirror of
https://github.com/l0ng-ai/tty7.git
synced 2026-10-03 08:02:02 +00:00
fix(ui): paint the title bar search on the sidebar's surface
Claude-Session: https://claude.ai/code/session_01Aeskbok7Ah7dvKWnaaJFEg
This commit is contained in:
+6
-6
@@ -2495,12 +2495,12 @@ impl Tty7App {
|
||||
.pl(px(10.))
|
||||
.pr(px(10.))
|
||||
.rounded(px(7.))
|
||||
// v5's field fill: #f5f5f4 on a light theme, a
|
||||
// faint lift of the bar on a dark one.
|
||||
.bg(match cx.theme().mode.is_dark() {
|
||||
true => cx.theme().muted,
|
||||
false => gpui::rgb(0xf5f5f4).into(),
|
||||
})
|
||||
// The sidebar's own surface: a well of the rail's
|
||||
// colour set into the bar over the terminal, which
|
||||
// follows the theme wherever the rail does.
|
||||
.bg(gpui::rgb(
|
||||
cx.global::<crate::ui::presets::Surfaces>().sidebar.base,
|
||||
))
|
||||
.cursor_pointer()
|
||||
.text_size(window.rem_size() * 0.8125)
|
||||
.text_color(cx.theme().muted_foreground)
|
||||
|
||||
Reference in New Issue
Block a user