feat(core): add Eckhart LED colors palette
What changed, and why it matters
This commit only adds a set of named color constants for an LED color palette in a user-interface theme file. It is a straightforward visual design change with no security relevance.
No security action needed. Treat as a normal UI/theming commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff adds seven new Color constants (LED_WHITE, LED_GREEN_LIGHT, LED_GREEN_LIME, LED_ORANGE, LED_RED, LED_YELLOW, LED_BLUE) to core/embed/rust/src/ui/layout_eckhart/theme/mod.rs. These are static RGB values used for theming and do not alter any logic, control flow, memory handling, cryptography, or device behavior beyond future UI color choices.
Changed components
core/embed/rust/src/ui/layout_eckhart/theme/mod.rsInspect captured patch +9 / −0
diff --git a/core/embed/rust/src/ui/layout_eckhart/theme/mod.rs b/core/embed/rust/src/ui/layout_eckhart/theme/mod.rs
index d4e406c69..8f26ec518 100644
--- a/core/embed/rust/src/ui/layout_eckhart/theme/mod.rs
+++ b/core/embed/rust/src/ui/layout_eckhart/theme/mod.rs
@@ -49,6 +49,15 @@ pub const BLUE: Color = Color::rgb(0x00, 0x46, 0xFF);
pub const RED: Color = Color::rgb(0xFF, 0x30, 0x30);
+// Color palette - LED diode
+pub const LED_WHITE: Color = Color::rgb(0x23, 0x23, 0x20);
+pub const LED_GREEN_LIGHT: Color = Color::rgb(0x04, 0x0D, 0x04);
+pub const LED_GREEN_LIME: Color = Color::rgb(0x23, 0x4B, 0x0A);
+pub const LED_ORANGE: Color = Color::rgb(0xBC, 0x2A, 0x06);
+pub const LED_RED: Color = Color::rgb(0x64, 0x06, 0x03);
+pub const LED_YELLOW: Color = Color::rgb(0x16, 0x10, 0x00);
+pub const LED_BLUE: Color = Color::rgb(0x05, 0x05, 0x32);
+
// Common constants
pub const PADDING: i16 = 24; // [px]
pub const HEADER_HEIGHT: i16 = 96; // [px]
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.