Skip to content

Commit

Permalink
fix(core): use TEXT_MONO_GREY_LIGHT for chunkified data on Delizia
Browse files Browse the repository at this point in the history
[no changelog]
  • Loading branch information
romanz committed Mar 5, 2025
1 parent 46ec729 commit 0d522be
Show file tree
Hide file tree
Showing 2 changed files with 1,172 additions and 1,172 deletions.
4 changes: 2 additions & 2 deletions core/embed/rust/src/ui/layout_delizia/theme/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,13 +747,13 @@ pub const TEXT_MONO_GREY_LIGHT: TextStyle = TextStyle {
};
/// Makes sure that the displayed text (usually address) will get divided into
/// smaller chunks.
pub const TEXT_MONO_ADDRESS_CHUNKS: TextStyle = TEXT_MONO
pub const TEXT_MONO_ADDRESS_CHUNKS: TextStyle = TEXT_MONO_GREY_LIGHT
.with_chunks(Chunks::new(4, 9))
.with_line_spacing(5);
/// Smaller horizontal chunk offset, used e.g. for long Cardano addresses.
/// Also moving the next page ellipsis to the left (as there is a space on the
/// left). Last but not least, maximum number of rows is 4 in this case.
pub const TEXT_MONO_ADDRESS_CHUNKS_SMALLER_X_OFFSET: TextStyle = TEXT_MONO
pub const TEXT_MONO_ADDRESS_CHUNKS_SMALLER_X_OFFSET: TextStyle = TEXT_MONO_GREY_LIGHT
.with_chunks(Chunks::new(4, 7).with_max_rows(4))
.with_line_spacing(5)
.with_ellipsis_icon(ICON_PAGE_NEXT, -12);
Expand Down
Loading

0 comments on commit 0d522be

Please sign in to comment.