mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-22 14:28:07 +00:00
ui/style: replace success icon in loader
This commit is contained in:
parent
b64be539d4
commit
fac8932a85
Binary file not shown.
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
BIN
src/trezor/res/check.toig
Normal file
BIN
src/trezor/res/check.toig
Normal file
Binary file not shown.
@ -112,7 +112,7 @@ def header(title: str,
|
||||
bg: int=BG,
|
||||
ifg: int=BG):
|
||||
if icon is not None:
|
||||
display.icon(14, 16, res.load(icon), ifg, bg)
|
||||
display.icon(14, 17, res.load(icon), ifg, bg)
|
||||
display.text(44, 35, title, BOLD, fg, bg)
|
||||
|
||||
|
||||
|
@ -52,11 +52,11 @@ ICON_CLEAR = 'trezor/res/cross2.toig'
|
||||
ICON_CONFIRM = 'trezor/res/confirm2.toig'
|
||||
ICON_CONFIRM2 = 'trezor/res/confirm.toig'
|
||||
ICON_LOCK = 'trezor/res/lock.toig'
|
||||
ICON_SEND = 'trezor/res/send.toig'
|
||||
ICON_CLICK = 'trezor/res/click.toig'
|
||||
ICON_BACK = 'trezor/res/left.toig'
|
||||
ICON_NOCOPY = 'trezor/res/nocopy.toig'
|
||||
ICON_SWIPE = 'trezor/res/swipedown.toig'
|
||||
ICON_CHECK = 'trezor/res/check.toig'
|
||||
|
||||
# buttons
|
||||
BTN_DEFAULT = {
|
||||
@ -190,7 +190,7 @@ LDR_DEFAULT = {
|
||||
'active': {
|
||||
'bg-color': BG,
|
||||
'fg-color': GREEN,
|
||||
'icon': ICON_SEND,
|
||||
'icon': ICON_CHECK,
|
||||
'icon-fg-color': WHITE,
|
||||
}
|
||||
}
|
||||
@ -205,7 +205,7 @@ LDR_DANGER = {
|
||||
'active': {
|
||||
'bg-color': BG,
|
||||
'fg-color': RED,
|
||||
'icon': ICON_SEND,
|
||||
'icon': ICON_CHECK,
|
||||
'icon-fg-color': WHITE,
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user