Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 796ebc60 authored by Saumya Prakash's avatar Saumya Prakash
Browse files

Update the colors for gesture navigation tutorial.

This change introduces tokens for the lottie animations so that the
colors can be changed. In this change, the home gesture tutorial colors have
been updated to match the updated design at http://shortn/_VvbigpP0ys

Flag: ENABLE_NEW_GESTURE_NAV_TUTORIAL
Bug: 279823249
Test: Manually went through the tutorial on handheld, foldable, and tablet
Change-Id: Id2270cea41345e8f4d330097e10a7dae2b00032a
parent 773c5c17
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -43,14 +43,15 @@
    <color name="gesture_tutorial_taskbar_color">#E8EAED</color>

    <!-- Redesigned gesture navigation tutorial -->
    <color name="gesture_home_tutorial_background">#FFAD91</color>
    <color name="gesture_home_tutorial_swipe_up_rect">#3857C7</color>
    <color name="gesture_back_tutorial_exiting_app">#F9A2B9</color>
    <color name="gesture_back_tutorial_background">#3857C7</color>
    <color name="gesture_overview_tutorial_background">#DFF3AF</color>
    <color name="gesture_overview_tutorial_swipe_rect">#7E44AD</color>
    <color name="gesture_overview_background">#BFC8CB</color>
    <color name="gesture_tutorial_menu_background">#1C1B1F</color>
    <color name="gesture_home_tutorial_background">#FFAD91</color> <!-- Light Orange -->
    <color name="gesture_tutorial_workspace_background">#4B64AE</color> <!-- Indigo Blue -->
    <color name="gesture_home_tutorial_arrow">#DBF59E</color> <!-- Lime Green -->
    <color name="gesture_back_tutorial_exiting_app">#F9A2B9</color> <!-- Pink -->
    <color name="gesture_back_tutorial_instructional_shape">#217500</color> <!-- Green -->
    <color name="gesture_overview_tutorial_background">#DFF3AF</color> <!-- Light Green -->
    <color name="gesture_overview_tutorial_swipe_rect">#7E44AD</color> <!-- Purple -->
    <color name="gesture_overview_background">#CABCD6</color> <!-- Light Purple -->
    <color name="gesture_tutorial_menu_background">#1C1B1F</color> <!-- Black -->

    <!-- Mock hotseat -->
    <color name="mock_app_icon">#BDC1C6</color>
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ final class BackGestureTutorialController extends TutorialController {

    @Override
    protected int getSwipeActionColorResId() {
        return R.color.gesture_back_tutorial_background;
        return R.color.gesture_tutorial_workspace_background;
    }

    @Override
Loading