system settings
git clone https://git.lucas.co/cce-system-interface.git
chore: drop two dead colour constants from the Packages page
TOGGLE_ON and WHITE went unused when the page was restyled into one well with a
frameless list (fc6bb60) — the toggles and white-labelled buttons they served
are gone. Both names still exist and are used in bluetooth.rs / storage.rs /
system_info.rs, which have their own private copies; only the Packages ones were
dead. The crate now builds warning-free.
Co-Authored-By: Claude Opus 5 <[email protected]>
src/pages/packages.rs | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/pages/packages.rs b/src/pages/packages.rs
index 8886e3b..86cbcc9 100644
--- a/src/pages/packages.rs
+++ b/src/pages/packages.rs
@@ -311,10 +311,8 @@ pub fn wrap_text(text: &str, max_chars: usize) -> Vec<String> {
const TEXT_FG: [f32; 4] = [0.83, 0.83, 0.83, 1.0];
const TEXT_DIM: [f32; 4] = [0.53, 0.53, 0.60, 1.0];
const ACCENT: [f32; 4] = [0.36, 0.56, 0.38, 1.0];
-const TOGGLE_ON: [f32; 4] = [0.16, 0.41, 0.18, 1.0];
const TOGGLE_OFF: [f32; 4] = [0.16, 0.16, 0.24, 1.0];
const BTN_HOVER: [f32; 4] = [0.25, 0.30, 0.26, 1.0];
-const WHITE: [f32; 4] = [1.0, 1.0, 1.0, 1.0];
const RED: [f32; 4] = [0.85, 0.25, 0.25, 1.0];
pub fn view(