From 99b23cd05652788b65991fa6d573b71d26aed2d2 Mon Sep 17 00:00:00 2001 From: xfy Date: Fri, 17 Jul 2026 16:35:28 +0800 Subject: [PATCH] chore(ui/style): drop unused DIM_TEXT palette constant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Defined in Task 2 as a palette slot for section-disabled header styling, but the final code path never used it — disabled sections rely on egui's add_enabled auto-dimming instead of a manual header color. Removes the last dead-code warning from the UI rewrite. --- src/ui/style.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/ui/style.rs b/src/ui/style.rs index 7ee6e43..99a36aa 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -13,7 +13,6 @@ pub const ACCENT_ORANGE: Color32 = Color32::from_rgb(255, 140, 66); // #FF8C42 pub const PANEL_FILL: Color32 = Color32::from_rgb(14, 16, 20); // #0E1014 pub const EXTREME_BG: Color32 = Color32::from_rgb(8, 9, 12); // #08090C pub const MUTED_TEXT: Color32 = Color32::from_rgb(140, 140, 140); // read-only / disabled labels -pub const DIM_TEXT: Color32 = Color32::from_rgb(110, 110, 110); // section-disabled headers /// Text sizes applied over egui's default `Proportional` family. No custom /// font binary is embedded (spec non-goal).