-
-
Notifications
You must be signed in to change notification settings - Fork 683
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
fix(core): use correct fonts for staking confirmation on Delizia #4677
Conversation
|
959bc6e
to
536e7b9
Compare
536e7b9
to
d6ca581
Compare
ConfirmValue
Rebasing to update UI fixtures:
|
d6ca581
to
644f474
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main task of fonts differentiation looks good. I have one minor objection regarding the font color.
@@ -527,7 +528,10 @@ impl FirmwareUI for UIDelizia { | |||
) -> Result<impl LayoutMaybeTrace, Error> { | |||
let confirm_main = | |||
ConfirmValue::new(title.unwrap_or(TString::empty()), message, description) | |||
.with_description_font(&theme::TEXT_MAIN_GREY_LIGHT) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a bit hesitant about this change.
It is correct according to Figma, but it should have the same color as the address which also has wrong color (GREY_EXTRA_LIGHT
instead of GREY_LIGHT
).
In the test diff screen, there are now 3 different font colors, which does not look good.
I would either change color of both description and address to GREY_LIGHT
or none of them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change color of both description and address to
GREY_LIGHT
Sounds good, please take a look at #4733.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in #4733, rebasing to resolve UI fixtures' conflicts.
644f474
to
5dd8418
Compare
5dd8418
to
8afb0d9
Compare
Before:

After:

Following #4672.