diff --git a/src/trezor/ui/__init__.py b/src/trezor/ui/__init__.py index 589a77f74e..db6cbd5813 100644 --- a/src/trezor/ui/__init__.py +++ b/src/trezor/ui/__init__.py @@ -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) diff --git a/src/trezor/ui/button.py b/src/trezor/ui/button.py index ef50b894db..f6e445637a 100644 --- a/src/trezor/ui/button.py +++ b/src/trezor/ui/button.py @@ -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, diff --git a/src/trezor/ui/pin.py b/src/trezor/ui/pin.py index 55fbb20d6d..9f412688af 100644 --- a/src/trezor/ui/pin.py +++ b/src/trezor/ui/pin.py @@ -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: