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:
parent
c5619111b5
commit
631b3f019b
@ -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};
|
||||||
@ -43,6 +47,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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user