1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-10 20:35:54 +00:00

fix(core): use TEXT_MONO_GREY_LIGHT for chunkified data on Delizia

[no changelog]
This commit is contained in:
Roman Zeyde 2025-03-04 18:04:56 +02:00
parent 46ec7298af
commit 0d522be842
2 changed files with 1172 additions and 1172 deletions

View File

@ -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);

File diff suppressed because it is too large Load Diff