Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Showing 1 changed file with 7 additions and 3 deletions.
| @@ -6,7 +6,7 @@ use gpui_kit::component::{Icon, IconName, h_flex, tooltip::Tooltip, v_flex}; | ||
| 6 | 6 | use gpui_kit::prelude::FluentBuilder as _; |
| 7 | 7 | use gpui_kit::*; |
| 8 | 8 | |
| 9 | - use crate::ui::metal::{self, MetalButton, MetalStyled as _, Palette}; | |
| 9 | + use crate::ui::metal::{self, MetalButton, Palette}; | |
| 10 | 10 | |
| 11 | 11 | /// How far docked banners and the context strip sit in from the composer's |
| 12 | 12 | /// sides. |
| @@ -141,7 +141,9 @@ pub fn separator(p: &Palette) -> Div { | ||
| 141 | 141 | metal::vrule(p).mx(px(2.)) |
| 142 | 142 | } |
| 143 | 143 | |
| 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. | |
| 145 | 147 | pub fn strip(p: &Palette) -> Div { |
| 146 | 148 | h_flex() |
| 147 | 149 | .mx(px(INSET)) |
| @@ -152,7 +154,9 @@ pub fn strip(p: &Palette) -> Div { | ||
| 152 | 154 | .pr(px(8.)) |
| 153 | 155 | .gap(px(4.)) |
| 154 | 156 | .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 })) | |
| 156 | 160 | .text_size(px(12.)) |
| 157 | 161 | .text_color(p.ink3) |
| 158 | 162 | } |