1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-04-20 17:19:01 +00:00

chore(eckhart): add mono light font + remove trailing hyphen from mono styles

This commit is contained in:
Lukas Bielesch 2025-03-28 13:10:43 +01:00 committed by obrusvit
parent 5b418e2e09
commit 6b85991408

View File

@ -65,6 +65,16 @@ pub const TEXT_MONO_MEDIUM: TextStyle = TextStyle::new(
GREY_EXTRA_LIGHT,
GREY_EXTRA_LIGHT,
);
pub const TEXT_MONO_MEDIUM_LIGHT: TextStyle = TextStyle::new(
fonts::FONT_MONO_MEDIUM_38,
GREY_LIGHT,
BG,
GREY_LIGHT,
GREY_LIGHT,
)
.with_line_breaking(LineBreaking::BreakWordsNoHyphen);
/// Roboto Mono Light - 30 (Address, data)
pub const TEXT_MONO_LIGHT: TextStyle = TextStyle::new(
fonts::FONT_MONO_LIGHT_30,
@ -72,7 +82,8 @@ pub const TEXT_MONO_LIGHT: TextStyle = TextStyle::new(
BG,
GREY_LIGHT,
GREY_LIGHT,
);
)
.with_line_breaking(LineBreaking::BreakWordsNoHyphen);
pub const TEXT_REGULAR_WARNING: TextStyle =
TextStyle::new(fonts::FONT_SATOSHI_REGULAR_38, RED, BG, GREY, GREY);