Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions apps/maple-agent/app/src/ui/chat/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ impl SidebarTransition {
/// Height of the task header and the clear strip above the collapsed rail.
const CHAT_HEADER_HEIGHT: gpui::Pixels = px(40.);
/// Left inset for the header beside the rail: the traffic lights reach
/// 30 px past it when the bar is transparent.
/// 30 px past it, followed by an 8 px gap when the bar is transparent.
const SIDEBAR_COLLAPSED_INSET: gpui::Pixels = if titlebar::TRANSPARENT_TITLEBAR {
px(30.)
px(38.)
} else {
px(16.)
};
Expand Down Expand Up @@ -7023,7 +7023,7 @@ impl ChatScreen {
this.execute_command(ChatCommand::ToggleSidebar, window, cx);
}))
.child(
crate::ui::icons::wordmark(sidebar::WORDMARK_HEIGHT, theme::text_primary())
crate::ui::icons::wordmark(sidebar::WORDMARK_HEIGHT, theme::text_sidebar())
.path("icons/maple-mark.svg")
.debug_selector(|| "sidebar-rail-mark".to_string()),
),
Expand Down Expand Up @@ -7263,12 +7263,10 @@ fn head_change_event(event: &notify::Event) -> bool {
.any(|path| path.file_name().is_some_and(|name| name == "HEAD"))
}

/// Last path component of a project root, for chips and the sidebar.
/// Upper-case section heading in the sidebar.
/// Section heading in the sidebar.
fn section_label(text: &'static str) -> Div {
div()
.text_xs()
.font_weight(gpui::FontWeight::SEMIBOLD)
.text_sm()
.text_color(gpui::rgb(theme::text_muted()))
.child(text)
}
Loading
Loading