Vectrum
Sign In

Merge the more visible composer strip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JjohannSocommitted 2 parents 28fe8c9 c6e8e38commit65eb235

Showing 1 changed file with 7 additions and 3 deletions.

Merge commit — showing changes against the first parent.

+7−3src/ui/composer.rsView File
@@ -6,7 +6,7 @@ use gpui_kit::component::{Icon, IconName, h_flex, tooltip::Tooltip, v_flex};
66 use gpui_kit::prelude::FluentBuilder as _;
77 use gpui_kit::*;
88
9- use crate::ui::metal::{self, MetalButton, MetalStyled as _, Palette};
9+ use crate::ui::metal::{self, MetalButton, Palette};
1010
1111 /// How far docked banners and the context strip sit in from the composer's
1212 /// sides.
@@ -141,7 +141,9 @@ pub fn separator(p: &Palette) -> Div {
141141 metal::vrule(p).mx(px(2.))
142142 }
143143
144- /// The strip hanging below the composer, tucked under its bottom edge.
144+ /// The strip hanging below the composer, tucked under its bottom edge. Like
145+ /// T3 Code's tray it is a solid shelf with a hairline edge, filled
146+ /// a shade above the pane so it reads in every theme.
145147 pub fn strip(p: &Palette) -> Div {
146148 h_flex()
147149 .mx(px(INSET))
@@ -152,7 +154,9 @@ pub fn strip(p: &Palette) -> Div {
152154 .pr(px(8.))
153155 .gap(px(4.))
154156 .rounded_b(px(18.))
155- .region(p)
157+ .bg(mix(p.s, p.s_hi, 0.75))
158+ .border_1()
159+ .border_color(p.ink.opacity(if p.dark { 0.14 } else { 0.16 }))
156160 .text_size(px(12.))
157161 .text_color(p.ink3)
158162 }