diff --git a/src/trezor/ui/keyboard.py b/src/trezor/ui/keyboard.py index 3f5e5c9f60..b027edfbf1 100644 --- a/src/trezor/ui/keyboard.py +++ b/src/trezor/ui/keyboard.py @@ -34,8 +34,8 @@ class Input(Button): self.taint() if content == word: # confirm button self.enable() - self.normal_style = ui.BTN_CONFIRM['normal'] - self.active_style = ui.BTN_CONFIRM['active'] + self.normal_style = ui.BTN_KEY_CONFIRM['normal'] + self.active_style = ui.BTN_KEY_CONFIRM['active'] self.icon = ui.ICON_CONFIRM elif word: # auto-complete button self.enable() diff --git a/src/trezor/ui/style.py b/src/trezor/ui/style.py index b5455dbc41..890c99c18c 100644 --- a/src/trezor/ui/style.py +++ b/src/trezor/ui/style.py @@ -179,6 +179,30 @@ BTN_KEY = { } } +BTN_KEY_CONFIRM = { + 'normal': { + 'bg-color': GREEN, + 'fg-color': FG, + 'text-style': MONO, + 'border-color': BG, + 'radius': RADIUS, + }, + 'active': { + 'bg-color': FG, + 'fg-color': GREEN, + 'text-style': MONO, + 'border-color': FG, + 'radius': RADIUS, + }, + 'disabled': { + 'bg-color': BG, + 'fg-color': GREY, + 'text-style': MONO, + 'border-color': BG, + 'radius': RADIUS, + } +} + # loader LDR_DEFAULT = { 'normal': {