fix: increase contrast between workspace chrome and content

This commit is contained in:
2026-10-24 20:41:56 +08:00
parent 952fc2eff2
commit cd092a9fed
3 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
use crate::display_list::Color;
pub const BG: Color = Color::rgb(255, 255, 255);
pub const BAR: Color = Color::rgb(245, 245, 245);
// A visibly separate chrome layer against the warm, near-white content canvas.
pub const BAR: Color = Color::rgb(230, 233, 237);
pub const BORDER: Color = Color::rgb(226, 226, 226);
pub const TEXT: Color = Color::rgb(35, 42, 53);
pub const MUTED: Color = Color::rgb(103, 114, 130);
+5 -1
View File
@@ -374,7 +374,11 @@ pub fn draw(
),
value: title.into(),
style: TextStyle::ui(1).scaled(scale),
color: crate::system_ui::theme::TEXT,
color: if active {
crate::system_ui::theme::TEXT
} else {
crate::system_ui::theme::MUTED
},
});
list.push(DrawCommand::PopClip);
if item.navigation.is_none() && item.rect.width >= 44.0 {