fix: increase contrast between workspace chrome and content
This commit is contained in:
@@ -79,3 +79,13 @@ bundle and diff whitespace checks passed. No test suite or smoke script was run.
|
|||||||
All earlier requirements were reviewed against the table above; isolated Chrome
|
All earlier requirements were reviewed against the table above; isolated Chrome
|
||||||
motion comparison and the explicitly listed cross-window/DPI verification gaps
|
motion comparison and the explicitly listed cross-window/DPI verification gaps
|
||||||
remain unverified, rather than being marked complete.
|
remain unverified, rather than being marked complete.
|
||||||
|
|
||||||
|
|
||||||
|
## Chrome contrast correction
|
||||||
|
|
||||||
|
The continuous top/left chrome now uses #E6E9ED instead of #F5F5F5,
|
||||||
|
separating it visibly from the #F7F7F5 content canvas. Selected tabs retain
|
||||||
|
white fill and dark text; inactive titles use muted text. Geometry and borderless
|
||||||
|
selection are unchanged. After rebuilding and restarting, the native window
|
||||||
|
showed one startup tab; a + click added a second tab and the two states were
|
||||||
|
visually checked. Formatting, all-target offline Clippy and release bundling passed.
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
use crate::display_list::Color;
|
use crate::display_list::Color;
|
||||||
pub const BG: Color = Color::rgb(255, 255, 255);
|
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 BORDER: Color = Color::rgb(226, 226, 226);
|
||||||
pub const TEXT: Color = Color::rgb(35, 42, 53);
|
pub const TEXT: Color = Color::rgb(35, 42, 53);
|
||||||
pub const MUTED: Color = Color::rgb(103, 114, 130);
|
pub const MUTED: Color = Color::rgb(103, 114, 130);
|
||||||
|
|||||||
+5
-1
@@ -374,7 +374,11 @@ pub fn draw(
|
|||||||
),
|
),
|
||||||
value: title.into(),
|
value: title.into(),
|
||||||
style: TextStyle::ui(1).scaled(scale),
|
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);
|
list.push(DrawCommand::PopClip);
|
||||||
if item.navigation.is_none() && item.rect.width >= 44.0 {
|
if item.navigation.is_none() && item.rect.width >= 44.0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user