mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 12:00:59 +00:00
added some backgrounds and change color vars
This commit is contained in:
parent
fdc14513a6
commit
4d672fee28
@ -11,11 +11,12 @@ async def swipe_to_rotate():
|
||||
|
||||
|
||||
async def animate_logo():
|
||||
icon = res.load('apps/homescreen/res/trezor.toig')
|
||||
image = res.load('apps/homescreen/res/experiment7.toif')
|
||||
|
||||
def render(fg):
|
||||
ui.display.icon(0, 0, icon, fg, ui.BLACK)
|
||||
await ui.animate_pulse(render, ui.WHITE, ui.GREY, speed=400000)
|
||||
ui.display.image(0, 0, image)
|
||||
ui.display.text(52, 220, 'Swipe to rotate', ui.NORMAL, fg, ui.BLACK)
|
||||
await ui.animate_pulse(render, ui.GREY, ui.DARK_GREY, speed=400000)
|
||||
|
||||
|
||||
@unimport
|
||||
|
BIN
src/apps/homescreen/res/experiment1.toif
Normal file
BIN
src/apps/homescreen/res/experiment1.toif
Normal file
Binary file not shown.
BIN
src/apps/homescreen/res/experiment2.toif
Normal file
BIN
src/apps/homescreen/res/experiment2.toif
Normal file
Binary file not shown.
BIN
src/apps/homescreen/res/experiment3.toif
Normal file
BIN
src/apps/homescreen/res/experiment3.toif
Normal file
Binary file not shown.
BIN
src/apps/homescreen/res/experiment7.toif
Normal file
BIN
src/apps/homescreen/res/experiment7.toif
Normal file
Binary file not shown.
@ -85,7 +85,7 @@ async def show_mnemonic_page(page, page_count, mnemonic):
|
||||
if pos > 9:
|
||||
offset += 12
|
||||
ui.display.text(
|
||||
10, top, '%d.' % pos, ui.BOLD, ui.DARK_GREY, ui.BLACK)
|
||||
10, top, '%d.' % pos, ui.BOLD, ui.LIGHT_GREEN, ui.BLACK)
|
||||
ui.display.text(
|
||||
30 + offset, top, '%s' % word, ui.BOLD, ui.WHITE, ui.BLACK)
|
||||
|
||||
|
@ -35,7 +35,7 @@ GREY = rgbcolor(0x9E, 0x9E, 0x9E)
|
||||
DARK_GREY = rgbcolor(0x3E, 0x3E, 0x3E)
|
||||
BLUE_GRAY = rgbcolor(0x60, 0x7D, 0x8B)
|
||||
BLACK = rgbcolor(0x00, 0x00, 0x00)
|
||||
WHITE = rgbcolor(0xFF, 0xFF, 0xFF)
|
||||
WHITE = rgbcolor(0xFA, 0xFA, 0xFA)
|
||||
|
||||
# password manager palette
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user