diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ccc8ec65943..4936c59f22a 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -56,6 +56,7 @@ gradlew.bat @BenHenning # All resource files. /app/src/main/res/**/*.xml @rt4914 /utility/src/main/res/**/*.xml @rt4914 +/app/src/main/res/values/colors_migrating.xml @ayush0402 @rt4914 # App UI strings. /app/src/main/res/values*/strings.xml @BenHenning diff --git a/app/src/main/res/drawable/color_cursor.xml b/app/src/main/res/drawable/color_cursor.xml index 60d09b2a7a8..ad7f6dcbb4e 100644 --- a/app/src/main/res/drawable/color_cursor.xml +++ b/app/src/main/res/drawable/color_cursor.xml @@ -1,5 +1,5 @@ - + diff --git a/app/src/main/res/layout-land/admin_auth_activity.xml b/app/src/main/res/layout-land/admin_auth_activity.xml index cfcbdae6ef1..e4f1bb04ba8 100644 --- a/app/src/main/res/layout-land/admin_auth_activity.xml +++ b/app/src/main/res/layout-land/admin_auth_activity.xml @@ -13,7 +13,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/add_profile_background"> + android:background="@color/admin_auth_layout_background_color"> diff --git a/app/src/main/res/layout-land/admin_pin_activity.xml b/app/src/main/res/layout-land/admin_pin_activity.xml index 0a76ce581c3..2660b0cd553 100644 --- a/app/src/main/res/layout-land/admin_pin_activity.xml +++ b/app/src/main/res/layout-land/admin_pin_activity.xml @@ -19,7 +19,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/oppia_background_yellow_ivory" + android:background="@color/admin_pin_activity_layout_background_color" android:paddingBottom="108dp"> @@ -61,9 +61,9 @@ android:id="@+id/topic_update_on_wifi_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_update_on_wifi_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/topic_update_on_wifi_switch" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/topic_update_on_wifi_title_text_view" /> @@ -99,7 +99,7 @@ android:id="@+id/auto_update_topic_constraint_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:clickable="true" android:focusable="true" android:importantForAccessibility="yes" @@ -116,10 +116,10 @@ @@ -127,9 +127,9 @@ android:id="@+id/auto_update_topic_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_auto_update_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/auto_update_topic_switch" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-land/administrator_controls_fragment.xml b/app/src/main/res/layout-land/administrator_controls_fragment.xml index 329700a7360..30064fce6d8 100644 --- a/app/src/main/res/layout-land/administrator_controls_fragment.xml +++ b/app/src/main/res/layout-land/administrator_controls_fragment.xml @@ -13,7 +13,7 @@ android:id="@+id/administrator_controls_list" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/mid_grey_30" + android:background="@color/admin_controls_background_color" android:clipToPadding="false" android:overScrollMode="never" android:paddingBottom="108dp" diff --git a/app/src/main/res/layout-land/administrator_controls_general_view.xml b/app/src/main/res/layout-land/administrator_controls_general_view.xml index 3da1ddcb7ed..642f09143f7 100644 --- a/app/src/main/res/layout-land/administrator_controls_general_view.xml +++ b/app/src/main/res/layout-land/administrator_controls_general_view.xml @@ -23,7 +23,7 @@ android:paddingEnd="36dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_general_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_account_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -33,13 +33,13 @@ android:id="@+id/edit_account_text_view" style="@style/Subtitle1ViewStart" android:layout_width="match_parent" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:paddingStart="36dp" android:paddingTop="20dp" android:paddingEnd="36dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_account" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-land/administrator_controls_profile_view.xml b/app/src/main/res/layout-land/administrator_controls_profile_view.xml index f1525a6728b..78dfbc3750f 100644 --- a/app/src/main/res/layout-land/administrator_controls_profile_view.xml +++ b/app/src/main/res/layout-land/administrator_controls_profile_view.xml @@ -23,7 +23,7 @@ android:paddingEnd="36dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_profile_management_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_profiles_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -33,14 +33,14 @@ android:id="@+id/edit_profiles_text_view" style="@style/Body" android:layout_width="match_parent" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:onClick="@{(v) -> viewModel.onEditProfilesClicked()}" android:paddingStart="36dp" android:paddingTop="20dp" android:paddingEnd="36dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_profiles" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-sw600dp-land/admin_auth_activity.xml b/app/src/main/res/layout-sw600dp-land/admin_auth_activity.xml index 9cc7aed23ce..89d7d9398bf 100644 --- a/app/src/main/res/layout-sw600dp-land/admin_auth_activity.xml +++ b/app/src/main/res/layout-sw600dp-land/admin_auth_activity.xml @@ -13,7 +13,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/add_profile_background"> + android:background="@color/admin_auth_layout_background_color"> diff --git a/app/src/main/res/layout-sw600dp-land/admin_pin_activity.xml b/app/src/main/res/layout-sw600dp-land/admin_pin_activity.xml index 5457a1dc276..9a3dcd541d7 100644 --- a/app/src/main/res/layout-sw600dp-land/admin_pin_activity.xml +++ b/app/src/main/res/layout-sw600dp-land/admin_pin_activity.xml @@ -12,7 +12,7 @@ + android:background="@color/admin_auth_layout_background_color"> diff --git a/app/src/main/res/layout-sw600dp-port/admin_pin_activity.xml b/app/src/main/res/layout-sw600dp-port/admin_pin_activity.xml index f27211cc0b8..4ff4bb2a8f6 100644 --- a/app/src/main/res/layout-sw600dp-port/admin_pin_activity.xml +++ b/app/src/main/res/layout-sw600dp-port/admin_pin_activity.xml @@ -12,7 +12,7 @@ @@ -61,9 +61,9 @@ android:id="@+id/topic_update_on_wifi_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_update_on_wifi_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/topic_update_on_wifi_switch" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/topic_update_on_wifi_title_text_view" /> @@ -100,7 +100,7 @@ android:id="@+id/auto_update_topic_constraint_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:clickable="true" android:focusable="true" android:importantForAccessibility="yes" @@ -117,10 +117,10 @@ @@ -128,9 +128,9 @@ android:id="@+id/auto_update_topic_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_auto_update_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/auto_update_topic_switch" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-sw600dp/administrator_controls_fragment.xml b/app/src/main/res/layout-sw600dp/administrator_controls_fragment.xml index 71c2f3b29ae..495ed63cfe6 100644 --- a/app/src/main/res/layout-sw600dp/administrator_controls_fragment.xml +++ b/app/src/main/res/layout-sw600dp/administrator_controls_fragment.xml @@ -13,7 +13,7 @@ android:id="@+id/administrator_controls_list" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/oppia_grey_background" + android:background="@color/admin_controls_background_color" android:clipToPadding="false" android:overScrollMode="never" android:paddingBottom="80dp" diff --git a/app/src/main/res/layout-sw600dp/administrator_controls_general_view.xml b/app/src/main/res/layout-sw600dp/administrator_controls_general_view.xml index 17677e92ba9..7985c76d5dc 100644 --- a/app/src/main/res/layout-sw600dp/administrator_controls_general_view.xml +++ b/app/src/main/res/layout-sw600dp/administrator_controls_general_view.xml @@ -23,7 +23,7 @@ android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_general_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_account_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -33,13 +33,13 @@ android:id="@+id/edit_account_text_view" style="@style/Subtitle1ViewStart" android:layout_width="match_parent" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:paddingStart="16dp" android:paddingTop="20dp" android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_account" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout-sw600dp/administrator_controls_profile_view.xml b/app/src/main/res/layout-sw600dp/administrator_controls_profile_view.xml index ee2488acac2..6641f9d5c50 100644 --- a/app/src/main/res/layout-sw600dp/administrator_controls_profile_view.xml +++ b/app/src/main/res/layout-sw600dp/administrator_controls_profile_view.xml @@ -27,7 +27,7 @@ android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_profile_management_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_profiles_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -37,14 +37,14 @@ android:id="@+id/edit_profiles_text_view" style="@style/Body" android:layout_width="match_parent" - android:background="@{commonViewModel.selectedFragmentIndex == viewModel.itemIndex? @color/admin_highlighted : @color/white}" + android:background="@{commonViewModel.selectedFragmentIndex == viewModel.itemIndex? @color/admin_controls_options_highlighted_background_color : @color/admin_controls_options_background_color}" android:onClick="@{(v) -> viewModel.onEditProfilesClicked()}" android:paddingStart="16dp" android:paddingTop="20dp" android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_profiles" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/add_profile_activity.xml b/app/src/main/res/layout/add_profile_activity.xml index 422c3277e62..11d99ad705d 100644 --- a/app/src/main/res/layout/add_profile_activity.xml +++ b/app/src/main/res/layout/add_profile_activity.xml @@ -28,7 +28,7 @@ android:id="@+id/add_profile_activity_scroll_view" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/add_profile_background"> + android:background="@color/add_profile_activity_layout_background_color"> @@ -205,7 +206,7 @@ android:layout_height="wrap_content" android:fontFamily="sans-serif" android:text="@string/add_profile_allow_download_sub" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/add_profile_activity_switch_description_color" android:textSize="14sp" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/add_profile_activity_allow_download_heading_text_view" diff --git a/app/src/main/res/layout/admin_auth_activity.xml b/app/src/main/res/layout/admin_auth_activity.xml index 50a80af36aa..da3634ebc40 100644 --- a/app/src/main/res/layout/admin_auth_activity.xml +++ b/app/src/main/res/layout/admin_auth_activity.xml @@ -13,7 +13,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/add_profile_background"> + android:background="@color/admin_auth_layout_background_color"> diff --git a/app/src/main/res/layout/admin_pin_activity.xml b/app/src/main/res/layout/admin_pin_activity.xml index deef6be54e9..aed5c0ddcb9 100644 --- a/app/src/main/res/layout/admin_pin_activity.xml +++ b/app/src/main/res/layout/admin_pin_activity.xml @@ -19,7 +19,7 @@ android:id="@+id/admin_auth_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/oppia_background_yellow_ivory" + android:background="@color/admin_pin_activity_layout_background_color" android:paddingBottom="96dp"> @@ -61,9 +61,9 @@ android:id="@+id/topic_update_on_wifi_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_update_on_wifi_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/topic_update_on_wifi_switch" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/topic_update_on_wifi_title_text_view" /> @@ -100,7 +100,7 @@ android:id="@+id/auto_update_topic_constraint_layout" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:clickable="true" android:focusable="true" android:importantForAccessibility="yes" @@ -117,10 +117,10 @@ @@ -128,9 +128,9 @@ android:id="@+id/auto_update_topic_description_text_view" style="@style/Subtitle2ViewStart" android:layout_width="0dp" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:text="@string/administrator_controls_auto_update_message" - android:textColor="@color/accessible_light_grey" + android:textColor="@color/admin_controls_switch_description_color" app:layout_constraintEnd_toStartOf="@id/auto_update_topic_switch" app:layout_constraintHorizontal_weight="1" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/administrator_controls_fragment.xml b/app/src/main/res/layout/administrator_controls_fragment.xml index c95db5fd16b..495ed63cfe6 100644 --- a/app/src/main/res/layout/administrator_controls_fragment.xml +++ b/app/src/main/res/layout/administrator_controls_fragment.xml @@ -13,7 +13,7 @@ android:id="@+id/administrator_controls_list" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/mid_grey_30" + android:background="@color/admin_controls_background_color" android:clipToPadding="false" android:overScrollMode="never" android:paddingBottom="80dp" diff --git a/app/src/main/res/layout/administrator_controls_general_view.xml b/app/src/main/res/layout/administrator_controls_general_view.xml index 6469b072885..4ede13d45f4 100644 --- a/app/src/main/res/layout/administrator_controls_general_view.xml +++ b/app/src/main/res/layout/administrator_controls_general_view.xml @@ -23,7 +23,7 @@ android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_general_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_account_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -33,13 +33,13 @@ android:id="@+id/edit_account_text_view" style="@style/Subtitle1ViewStart" android:layout_width="match_parent" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:paddingStart="16dp" android:paddingTop="20dp" android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_account" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/administrator_controls_profile_view.xml b/app/src/main/res/layout/administrator_controls_profile_view.xml index e62d287dbe1..3eac2354f81 100644 --- a/app/src/main/res/layout/administrator_controls_profile_view.xml +++ b/app/src/main/res/layout/administrator_controls_profile_view.xml @@ -23,7 +23,7 @@ android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_profile_management_label" - android:textColor="@color/oppia_primary" + android:textColor="@color/admin_controls_sub_heading_color" app:layout_constraintBottom_toTopOf="@id/edit_profiles_text_view" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" @@ -33,14 +33,14 @@ android:id="@+id/edit_profiles_text_view" style="@style/Body" android:layout_width="match_parent" - android:background="@color/white" + android:background="@color/admin_controls_options_background_color" android:onClick="@{(v) -> viewModel.onEditProfilesClicked()}" android:paddingStart="16dp" android:paddingTop="20dp" android:paddingEnd="16dp" android:paddingBottom="20dp" android:text="@string/administrator_controls_edit_profiles" - android:textColor="@color/oppia_primary_text_dark" + android:textColor="@color/admin_controls_menu_options_text_color" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/app/src/main/res/layout/pin_password_activity.xml b/app/src/main/res/layout/pin_password_activity.xml index 844dcf33b3a..95eb1ea1bbe 100644 --- a/app/src/main/res/layout/pin_password_activity.xml +++ b/app/src/main/res/layout/pin_password_activity.xml @@ -17,7 +17,7 @@ android:id="@+id/pin_password_container" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="@color/add_profile_background"> + android:background="@color/pin_password_activity_layout_background_color"> + + @color/oppia_turquoise + @color/oppia_bangladesh_green + @color/oppia_metallic_blue + @color/oppia_silver + @color/white + @color/oppia_light_black + @color/oppia_light_black + @color/oppia_silver + @color/oppia_dark_grey + @color/white + @color/oppia_pink + @color/oppia_grayish_black + @color/oppia_green + @color/dark_green + @color/oppia_green + @color/highlight_blue + diff --git a/app/src/main/res/values-v21/themes.xml b/app/src/main/res/values-v21/themes.xml index bb7c19b5504..2f70836894e 100644 --- a/app/src/main/res/values-v21/themes.xml +++ b/app/src/main/res/values-v21/themes.xml @@ -1,23 +1,42 @@ + + + + diff --git a/app/src/main/res/values/color_defs.xml b/app/src/main/res/values/color_defs.xml index fb6bebcbf4b..b56d62ff05d 100644 --- a/app/src/main/res/values/color_defs.xml +++ b/app/src/main/res/values/color_defs.xml @@ -1,46 +1,17 @@ - #00645C - #003933 - #2D4A9D - #081661 - #FFFFF0 - #BE563C - #A6503A - #26A69A - + #00645C + #003933 #2D4A9D - #333333 - #009688 - #4D333333 - #DE000000 - #666666 #F0FFFF #FFFFF0 #BE563C #C55F45 #E76F51 - #F2F2F2 - #E5E5E5 #4D395FD0 #4DA5D3EC #CC333333 - #E76F51 - #E7AC9B - #999999 - #555555 - #707070 - #33999999 - #1F000000 - #DDDDDD - #666666 - #80707070 - #777777 - #FFFFF0 - #707070 - #707070 #B92D00 - #FFFFFF #CCFFFFFF #000000 @@ -48,37 +19,11 @@ #1F000000 #42000000 #8A000000 + #DE000000 #F9F9F9 #333333 #555555 - - #FF1414 - #FFE558 - #2D4A9D - - @color/oppia_dark_blue - - #707070 - #FFFFF0 - #E4F2F1 - #212121 - #999999 - #E5E5E5 - #E5E5E5 - #E5E5E5 - #BE563C - #00609C - #264653 - - #00A89F - #61999999 - #61000000 - #61000000 #CCCCCC - - #666666 - #923026 - #80333333 #61000000 #ff333333 #0D000000 @@ -89,61 +34,16 @@ #D6D6D6 #0F0086FB #6B0086FB - #AAFFFFFF - #666666 - #61000000 - #3D000000 #44A85A #CC44A85A #D9F3E7 - - #F0FFFF - #00E4F2F1 - #E4F2F1 - #E4F2F1 - - #E65C5C - #E6935C - #FFDB4E - #CAE65C - #93E65C - #5CE6CA - #5CCAE6 - #5C93E6 - #5C5CE6 - #935CE6 - #E65CCF - #E65C97 - #CC2929 - #CC6A29 - #E6C12E - #ABCC29 - #6ACC29 - #29CCAB - #29ABCC - #296ACC - #6A29CC - #AB29CC - #CC29B1 - #CC2970 - - #707070 - #C6DCDA - #2F6687 - - #000000 - #00236E - #001F2A - #CCCCCC - #00847A - #8B2A15 - #AD8500 - #3B5893 - - #FF000000 - #999999 - - #A5D3EC - #674172 - #7659B6 + #A5D3EC + #C4C4C4 + #3bd1c4 + #03635B + #2B5F73 + #24282B + #4D4D4D + #FF938F + #32363B diff --git a/app/src/main/res/values/color_palette.xml b/app/src/main/res/values/color_palette.xml new file mode 100644 index 00000000000..60446cd1033 --- /dev/null +++ b/app/src/main/res/values/color_palette.xml @@ -0,0 +1,19 @@ + + + @color/oppia_green + @color/dark_green + @color/oppia_dark_blue + @color/accessible_grey + @color/accessible_grey + @color/oppia_light_yellow + @color/mid_grey_30 + @color/accessible_light_grey + @color/white + @color/black_87 + @color/oppia_red + @color/white + @color/oppia_green + @color/dark_green + @color/oppia_green + @color/highlight_blue + diff --git a/app/src/main/res/values/colors_migrating.xml b/app/src/main/res/values/colors_migrating.xml new file mode 100644 index 00000000000..684228ea6f8 --- /dev/null +++ b/app/src/main/res/values/colors_migrating.xml @@ -0,0 +1,117 @@ + + + + + #00645C + #003933 + #2D4A9D + #081661 + #FFFFF0 + #BE563C + #A6503A + #26A69A + + #333333 + #009688 + #4D333333 + #DE000000 + #666666 + #F2F2F2 + #E5E5E5 + #E76F51 + #E7AC9B + #999999 + #555555 + #707070 + #33999999 + #1F000000 + #DDDDDD + #666666 + #80707070 + #777777 + #FFFFF0 + #707070 + #707070 + + #FF1414 + #FFE558 + #2D4A9D + + @color/oppia_dark_blue + + #707070 + #E4F2F1 + #212121 + #999999 + #E5E5E5 + #E5E5E5 + #E5E5E5 + #BE563C + #00609C + #264653 + + #00A89F + #61999999 + #61000000 + #61000000 + + #666666 + #923026 + #80333333 + #AAFFFFFF + #666666 + #61000000 + #3D000000 + + #F0FFFF + #00E4F2F1 + #E4F2F1 + #E4F2F1 + + #E65C5C + #E6935C + #FFDB4E + #CAE65C + #93E65C + #5CE6CA + #5CCAE6 + #5C93E6 + #5C5CE6 + #935CE6 + #E65CCF + #E65C97 + #CC2929 + #CC6A29 + #E6C12E + #ABCC29 + #6ACC29 + #29CCAB + #29ABCC + #296ACC + #6A29CC + #AB29CC + #CC29B1 + #CC2970 + + #707070 + #C6DCDA + #2F6687 + + #000000 + #00236E + #001F2A + #CCCCCC + #00847A + #8B2A15 + #AD8500 + #3B5893 + + #FF000000 + #999999 + + #A5D3EC + #674172 + #7659B6 + diff --git a/app/src/main/res/values/component_colors.xml b/app/src/main/res/values/component_colors.xml new file mode 100644 index 00000000000..73f1d991bba --- /dev/null +++ b/app/src/main/res/values/component_colors.xml @@ -0,0 +1,37 @@ + + + @color/primary_text_color + @color/toolbar_color + + @color/status_bar_color + @color/action_bar_color + + @color/primary_text_color + @color/highlighted_text_color + @color/primary_text_color + @color/primary_text_color + @color/primary_text_color + @color/primary_text_color + @color/text_input_background_color + @color/error_color + + @color/description_text_color + @color/background_color + @color/toolbar_color + + @color/primary_text_color + @color/dark_text_color + @color/description_text_color + @color/background_color + + @color/dark_background_color + @color/container_background_color + @color/highlighted_background_color + @color/primary_color + @color/description_text_color + @color/dark_text_color + + @color/background_color + + @color/background_color + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 7267e914c54..859538f1604 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -164,26 +164,27 @@ - diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 2ba462ae5c1..83312e075c5 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -2,40 +2,45 @@ + +