From 30b636079eeba26d12077d0faf156b0d0c79754e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C5=A0etina?= <57008159+Hannsek@users.noreply.github.com> Date: Fri, 17 Feb 2023 15:17:42 +0100 Subject: [PATCH] chore(core): change the color definitions --- core/embed/rust/src/ui/model_tt/theme.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/core/embed/rust/src/ui/model_tt/theme.rs b/core/embed/rust/src/ui/model_tt/theme.rs index d11850587b..7af2479aa5 100644 --- a/core/embed/rust/src/ui/model_tt/theme.rs +++ b/core/embed/rust/src/ui/model_tt/theme.rs @@ -28,19 +28,19 @@ pub const WHITE: Color = Color::rgb(0xFF, 0xFF, 0xFF); pub const BLACK: Color = Color::rgb(0, 0, 0); pub const FG: Color = WHITE; // Default foreground (text & icon) color. pub const BG: Color = BLACK; // Default background color. -pub const RED: Color = Color::rgb(0xCD, 0x49, 0x49); // dark-coral -pub const RED_DARK: Color = Color::rgb(0xA6, 0x2D, 0x2D); -pub const YELLOW: Color = Color::rgb(0xC1, 0x90, 0x09); // ochre -pub const YELLOW_DARK: Color = Color::rgb(0x9A, 0x73, 0x06); // FIXME -pub const GREEN: Color = Color::rgb(0x39, 0xA8, 0x14); // grass-green -pub const GREEN_DARK: Color = Color::rgb(0x10, 0xAB, 0x57); -pub const BLUE: Color = Color::rgb(0, 0x56, 0xBE); // blue -pub const BLUE_DARK: Color = Color::rgb(0, 0x44, 0x98); // FIXME +pub const RED: Color = Color::rgb(0xE7, 0x0E, 0x0E); // button +pub const RED_DARK: Color = Color::rgb(0xAE, 0x09, 0x09); // button pressed +pub const YELLOW: Color = Color::rgb(0xD9, 0x9E, 0x00); // button +pub const YELLOW_DARK: Color = Color::rgb(0x7A, 0x58, 0x00); // button pressed +pub const GREEN: Color = Color::rgb(0x00, 0xA7, 0x25); // button +pub const GREEN_DARK: Color = Color::rgb(0x00, 0x55, 0x1D); // button pressed +pub const BLUE: Color = Color::rgb(0x06, 0x1E, 0xAD); // button +pub const BLUE_DARK: Color = Color::rgb(0x04, 0x10, 0x58); // button pressed pub const OFF_WHITE: Color = Color::rgb(0xDE, 0xDE, 0xDE); // very light grey -pub const GREY_LIGHT: Color = Color::rgb(0xA8, 0xA8, 0xA8); // greyish -pub const GREY_MEDIUM: Color = Color::rgb(0x64, 0x64, 0x64); -pub const GREY_DARK: Color = Color::rgb(0x33, 0x33, 0x33); // greyer -pub const VIOLET: Color = Color::rgb(0x9E, 0x27, 0xD6); +pub const GREY_LIGHT: Color = Color::rgb(0x90, 0x90, 0x90); // secondary text +pub const GREY_MEDIUM: Color = Color::rgb(0x45, 0x45, 0x45); // button pressed +pub const GREY_DARK: Color = Color::rgb(0x1A, 0x1A, 0x1A); // button +pub const VIOLET: Color = Color::rgb(0x95, 0x00, 0xCA); // Commonly used corner radius (i.e. for buttons). pub const RADIUS: u8 = 2;