1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

chore(core/rust): regenerate TR's icons based on new designs

[no changelog]
This commit is contained in:
grdddj 2023-06-16 12:07:04 +02:00 committed by Jiří Musil
parent 13cb1ea4ce
commit a6316f964e
22 changed files with 24 additions and 23 deletions

View File

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 154 B

View File

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 165 B

View File

Before

Width:  |  Height:  |  Size: 133 B

After

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

After

Width:  |  Height:  |  Size: 150 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 152 B

View File

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 165 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 B

After

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

View File

@ -13,10 +13,7 @@ use crate::{
};
use heapless::String;
use super::{
component::{ResultScreen, WelcomeScreen},
theme::ICON_SUCCESS,
};
use super::component::{ResultScreen, WelcomeScreen};
mod confirm;
mod connect;
@ -29,7 +26,7 @@ use confirm::Confirm;
use connect::Connect;
use intro::Intro;
use menu::Menu;
use theme::{BLD_BG, BLD_FG, ICON_ALERT, ICON_SPINNER, LOGO_EMPTY};
use theme::{BLD_BG, BLD_FG, ICON_ALERT, ICON_SPINNER, ICON_SUCCESS, LOGO_EMPTY};
use welcome::Welcome;
pub type BootloaderString = String<128>;

View File

@ -12,6 +12,7 @@ include_icon!(LOGO_EMPTY, "model_tr/res/logo_22_33_empty.toif");
include_icon!(ICON_TRASH, "model_tr/res/trash.toif");
include_icon!(ICON_ALERT, "model_tr/res/alert.toif");
include_icon!(ICON_SPINNER, "model_tr/res/spinner.toif");
include_icon!(ICON_SUCCESS, "model_tr/res/success.toif");
include_icon!(ICON_REDO, "model_tr/res/redo.toif");
include_icon!(ICON_EXIT, "model_tr/res/exit.toif");

View File

@ -48,30 +48,34 @@ pub fn textstyle_number_bold_or_mono(num: i32) -> &'static TextStyle {
}
// Firmware icons
include_icon!(ICON_ARM_LEFT, "model_tr/res/arm_left.toif"); // 6*10
include_icon!(ICON_ARM_RIGHT, "model_tr/res/arm_right.toif"); // 6*10
include_icon!(
ICON_ARROW_LEFT,
"model_tr/res/arrow_left.toif",
empty_right_col = true
); // 6*10
include_icon!(
ICON_ARROW_RIGHT,
"model_tr/res/arrow_right.toif",
empty_right_col = true
); // 6*10
include_icon!(ICON_ARM_LEFT, "model_tr/res/arm_left.toif"); // 10*6
include_icon!(ICON_ARM_RIGHT, "model_tr/res/arm_right.toif"); // 10*6
include_icon!(ICON_ARROW_LEFT, "model_tr/res/arrow_left.toif"); // 4*7
include_icon!(ICON_ARROW_RIGHT, "model_tr/res/arrow_right.toif"); // 4*7
include_icon!(ICON_ARROW_RIGHT_FAT, "model_tr/res/arrow_right_fat.toif"); // 4*8
include_icon!(ICON_ARROW_UP, "model_tr/res/arrow_up.toif"); // 10*6
include_icon!(ICON_ARROW_DOWN, "model_tr/res/arrow_down.toif"); // 10*6
include_icon!(
ICON_ARROW_UP,
"model_tr/res/arrow_up.toif",
empty_right_col = true
); // 8*4
include_icon!(
ICON_ARROW_DOWN,
"model_tr/res/arrow_down.toif",
empty_right_col = true
); // 8*4
include_icon!(ICON_ARROW_BACK_UP, "model_tr/res/arrow_back_up.toif"); // 8*8
include_icon!(ICON_BIN, "model_tr/res/bin.toif"); // 10*10
include_icon!(
ICON_CANCEL,
"model_tr/res/cancel.toif",
empty_right_col = true
); // 8*8
include_icon!(ICON_DELETE, "model_tr/res/delete.toif"); // 10*7
include_icon!(ICON_DEVICE_NAME, "model_tr/res/device_name.toif");
); // 7*7
include_icon!(
ICON_DELETE,
"model_tr/res/delete.toif",
empty_right_col = true
); // 9*7
include_icon!(ICON_DEVICE_NAME, "model_tr/res/device_name.toif"); // 116*18
include_icon!(ICON_EYE, "model_tr/res/eye_round.toif"); // 12*7
include_icon!(ICON_LOCK, "model_tr/res/lock.toif"); // 10*10
include_icon!(ICON_LOGO, "model_tr/res/logo_22_33.toif"); // 22*33
@ -82,7 +86,6 @@ include_icon!(
); // 10*8
include_icon!(ICON_PREV_PAGE, "model_tr/res/prev_page.toif"); // 8*10
include_icon!(ICON_SPACE, "model_tr/res/space.toif"); // 12*3
include_icon!(ICON_SUCCESS, "model_tr/res/success.toif");
include_icon!(ICON_TICK, "model_tr/res/tick.toif"); // 8*6
include_icon!(ICON_TICK_FAT, "model_tr/res/tick_fat.toif"); // 8*6
include_icon!(