diff --git a/src/apps/playground_chren/layout_scrollicon.py b/src/apps/playground_chren/layout_scrollicon.py index 3adfa8dc71..da808c36b8 100644 --- a/src/apps/playground_chren/layout_scrollicon.py +++ b/src/apps/playground_chren/layout_scrollicon.py @@ -4,16 +4,16 @@ from trezor import loop def layout_scrollicon(): def func_top(foreground): - ui.display.bar(102, 216, 36, 4, foreground) + ui.display.bar(102, 214, 36, 4, foreground, ui.BLACK, 2) def func_middle(foreground): - ui.display.bar(106, 223, 28, 4, foreground) + ui.display.bar(106, 222, 28, 4, foreground, ui.BLACK, 2) def func_bottom(foreground): - ui.display.bar(110, 230, 20, 4, foreground) + ui.display.bar(110, 230, 20, 4, foreground, ui.BLACK, 2) - animation_top = ui.animate_pulse(func_top, ui.GREY, ui.BLACK, speed=300000, delay=0) - animation_middle = ui.animate_pulse(func_middle, ui.GREY, ui.BLACK, speed=300000, delay=100000) - animation_bottom = ui.animate_pulse(func_bottom, ui.GREY, ui.BLACK, speed=300000, delay=200000) + animation_top = ui.animate_pulse(func_top, ui.DARK_GREY, ui.LIGHT_GREY, speed=300000, delay=0) + animation_middle = ui.animate_pulse(func_middle, ui.DARK_GREY, ui.LIGHT_GREY, speed=300000, delay=100000) + animation_bottom = ui.animate_pulse(func_bottom, ui.DARK_GREY, ui.LIGHT_GREY, speed=300000, delay=200000) yield loop.Wait([animation_top, animation_middle, animation_bottom]) diff --git a/src/main.py b/src/main.py index 5a0512b9e6..83bf0bdd02 100644 --- a/src/main.py +++ b/src/main.py @@ -3,14 +3,12 @@ from trezor import msg # Load all applications from apps import playground -from apps import playground_chren from apps import homescreen from apps import management from apps import wallet # Initialize all applications playground.boot() -playground_chren.boot() homescreen.boot() management.boot() wallet.boot() diff --git a/src/trezor/ui/__init__.py b/src/trezor/ui/__init__.py index 5e2ab3af32..9ca8146fef 100644 --- a/src/trezor/ui/__init__.py +++ b/src/trezor/ui/__init__.py @@ -30,7 +30,9 @@ AMBER = rgbcolor(0xFF, 0xC1, 0x07) ORANGE = rgbcolor(0xFF, 0x98, 0x00) DEEP_ORANGE = rgbcolor(0xFF, 0x57, 0x22) BROWN = rgbcolor(0x79, 0x55, 0x48) +LIGHT_GREY = rgbcolor(0xDA, 0xDD, 0xD8) 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)