1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-22 22:38:08 +00:00

minor color changes in pin dialog

This commit is contained in:
chren 2016-10-06 17:59:05 +02:00
parent 90836621f5
commit 78efd4f2e0
3 changed files with 7 additions and 7 deletions

View File

@ -36,8 +36,8 @@ BLUE_GRAY = rgbcolor(0x60, 0x7D, 0x8B)
BLACK = rgbcolor(0x00, 0x00, 0x00)
WHITE = rgbcolor(0xFA, 0xFA, 0xFA)
# password manager palette
# custom palette
BLACKISH = rgbcolor(0x20, 0x20, 0x20)
PM_DARK_BLUE = rgbcolor(0x1A, 0x29, 0x42)
PM_BLUE = rgbcolor(0x34, 0x98, 0xDB)

View File

@ -4,7 +4,7 @@ from . import display, in_area, rotate_coords
DEFAULT_BUTTON = {
'bg-color': ui.BLACK,
'bg-color': ui.BLACKISH,
'fg-color': ui.WHITE,
'text-style': ui.NORMAL,
'border-color': ui.BLACK,

View File

@ -52,12 +52,12 @@ class PinMatrix():
btn.render()
# vertical border bars
display.bar(79, 48, 2, 143, ui.blend(ui.BLACK, ui.WHITE, 0.25))
display.bar(158, 48, 2, 143, ui.blend(ui.BLACK, ui.WHITE, 0.25))
# display.bar(79, 48, 2, 143, ui.blend(ui.BLACK, ui.WHITE, 0.25))
# display.bar(158, 48, 2, 143, ui.blend(ui.BLACK, ui.WHITE, 0.25))
# horizontal border bars
display.bar(0, 95, 240, 2, ui.blend(ui.BLACK, ui.WHITE, 0.25))
display.bar(0, 142, 240, 2, ui.blend(ui.BLACK, ui.WHITE, 0.25))
# display.bar(0, 95, 240, 2, ui.blend(ui.BLACK, ui.WHITE, 0.25))
# display.bar(0, 142, 240, 2, ui.blend(ui.BLACK, ui.WHITE, 0.25))
def send(self, event, pos):
if self.clear_button.send(event, pos) == BTN_CLICKED: