1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 07:20:56 +00:00

feat(lincoln): text styles

This commit is contained in:
obrusvit 2024-12-23 14:36:13 +01:00
parent 03c088714f
commit ebac885665

View File

@ -4,7 +4,11 @@ pub mod backlight;
use crate::{ use crate::{
time::Duration, 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}; use super::component::{ButtonStyle, ButtonStyleSheet, ResultStyle};
@ -48,6 +52,9 @@ include_icon!(ICON_LOGO, "model_lincoln/res/lock_full.toif");
// Homescreen notifications. // Homescreen notifications.
include_icon!(ICON_WARNING40, "model_lincoln/res/warning40.toif"); 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 // TODO: button styles
pub const fn button_default() -> ButtonStyleSheet { pub const fn button_default() -> ButtonStyleSheet {
ButtonStyleSheet { ButtonStyleSheet {