1
0
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:
chren 2016-09-27 15:01:57 +02:00 committed by Pavol Rusnak
parent fdc14513a6
commit 4d672fee28
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
7 changed files with 6 additions and 5 deletions

View File

@ -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

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -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)

View File

@ -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