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:
parent
5b418e2e09
commit
6b85991408
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user