Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eckhart UI - bootloader #4765

Open
wants to merge 10 commits into
base: ui-eckhart
Choose a base branch
from
Open

Conversation

obrusvit
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Mar 10, 2025

core UI changes device test click test persistence test
T2T1 Model T test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3B1 Safe 3 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
T3T1 Safe 5 test(screens) main(screens) test(screens) main(screens) test(screens) main(screens)
All main(screens)

@obrusvit obrusvit force-pushed the ui-eckhart branch 2 times, most recently from 34e6691 to acbc741 Compare March 11, 2025 12:51
@obrusvit obrusvit force-pushed the obrusvit/eckhart-bootloader-2 branch from 87127ec to 816b684 Compare March 11, 2025 12:51
@obrusvit obrusvit force-pushed the obrusvit/eckhart-bootloader-2 branch from 816b684 to c80d6c3 Compare March 11, 2025 13:25
@obrusvit obrusvit self-assigned this Mar 11, 2025
@obrusvit obrusvit added the T3W1 label Mar 11, 2025
@obrusvit obrusvit force-pushed the obrusvit/eckhart-bootloader-2 branch from c80d6c3 to af4a566 Compare March 11, 2025 13:51
@obrusvit obrusvit marked this pull request as ready for review March 11, 2025 15:59
@obrusvit obrusvit requested review from bieleluk and TychoVrahe and removed request for prusnak March 11, 2025 15:59
@obrusvit obrusvit force-pushed the obrusvit/eckhart-bootloader-2 branch from fe91a3a to dce6d5b Compare March 11, 2025 21:36
@obrusvit obrusvit marked this pull request as draft March 11, 2025 21:40
@obrusvit obrusvit force-pushed the ui-eckhart branch 2 times, most recently from 09e52b0 to 5778366 Compare March 11, 2025 22:56
@obrusvit obrusvit force-pushed the obrusvit/eckhart-bootloader-2 branch from dce6d5b to 71c078f Compare March 11, 2025 23:25
@obrusvit obrusvit marked this pull request as ready for review March 11, 2025 23:35
Copy link
Contributor

@bieleluk bieleluk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few cosmetic suggestions + the failing style check should be fixed.

pub const BLD_FG: Color = WHITE;
pub const BLD_WIPE_COLOR: Color = Color::rgb(0xE7, 0x0E, 0x0E);
pub const BLD_WIPE_TEXT_COLOR: Color = WHITE;

pub const BLD_WARN_COLOR: Color = Color::rgb(0xFF, 0x00, 0x00);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The warning color in Figma has value 0xFF3030, which is similar to RED in theme/mod.rs.

ButtonStyleSheet {
normal: &ButtonStyle {
font: fonts::FONT_SATOSHI_MEDIUM_26,
text_color: GREY_LIGHT,
button_color: BLD_BG,
button_color: GREY_EXTRA_DARK,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Figma, this should be GREY_SUPER_DARK

@@ -99,54 +44,54 @@ pub fn button_confirm() -> ButtonStyleSheet {
}
}

pub const fn button_header() -> ButtonStyleSheet {
pub fn button_cancel() -> ButtonStyleSheet {
ButtonStyleSheet {
normal: &ButtonStyle {
font: fonts::FONT_SATOSHI_MEDIUM_26,
text_color: GREY_LIGHT,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to Figma, this should be GREY_EXTRA_LIGHT

ButtonStyleSheet {
normal: &ButtonStyle {
font: fonts::FONT_SATOSHI_MEDIUM_26,
text_color: GREY_LIGHT,
button_color: BLD_BG,
button_color: GREY_EXTRA_DARK,
icon_color: GREY_LIGHT,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GREY_EXTRA_LIGHT

}

impl BldMenu {
const SIDE_INSETS: Insets = Insets::sides(24);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use the same constants from theme/mod.rs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🏃‍♀️ In progress
Development

Successfully merging this pull request may close these issues.

2 participants