1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-05 04:50:57 +00:00

feat(lincoln): text styles

This commit is contained in:
obrusvit 2024-12-23 14:36:13 +01:00
parent fa764ae283
commit d1e2615bea

View File

@ -4,7 +4,11 @@ pub mod backlight;
use crate::{
time::Duration,
ui::{display::{Color, Font}, util::include_icon},
ui::{
component::text::TextStyle,
display::{Color, Font},
util::include_icon,
},
};
use super::component::{ButtonStyle, ButtonStyleSheet, ResultStyle};
@ -43,6 +47,9 @@ include_icon!(ICON_LOGO, "model_lincoln/res/lock_full.toif");
// Homescreen notifications.
include_icon!(ICON_WARNING40, "model_lincoln/res/warning40.toif");
// TODO: text styles
pub const TEXT_NORMAL: TextStyle = TextStyle::new(Font::NORMAL, FG, BG, GREY_LIGHT, GREY_LIGHT);
// TODO: button styles
pub const fn button_default() -> ButtonStyleSheet {
ButtonStyleSheet {