From acbb7966498e2d6d53b962558ea2904415b53d95 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 15 Feb 2021 18:18:31 +0100 Subject: [PATCH 1/7] Fix potential issue with link colors --- vector/src/main/res/values/colors.xml | 1 - vector/src/main/res/values/styles_riot.xml | 4 ++-- vector/src/main/res/values/theme_black.xml | 2 -- vector/src/main/res/values/theme_dark.xml | 2 +- vector/src/main/res/values/theme_light.xml | 4 ++-- 5 files changed, 5 insertions(+), 8 deletions(-) diff --git a/vector/src/main/res/values/colors.xml b/vector/src/main/res/values/colors.xml index e4cfa18461..4b0d4d008d 100644 --- a/vector/src/main/res/values/colors.xml +++ b/vector/src/main/res/values/colors.xml @@ -131,7 +131,6 @@ #FFFF4B55 #FF61708B #1E61708B - #FF368BD6 #FF03B381 #FF368bd6 diff --git a/vector/src/main/res/values/styles_riot.xml b/vector/src/main/res/values/styles_riot.xml index d81b4cb6e9..8017376cc3 100644 --- a/vector/src/main/res/values/styles_riot.xml +++ b/vector/src/main/res/values/styles_riot.xml @@ -271,7 +271,7 @@ @color/riot_secondary_text_color_dark @color/riot_tertiary_text_color_dark - @color/riotx_links + @color/link_color_dark diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml index e5c6851f40..5403c521b4 100644 --- a/vector/src/main/res/values/theme_black.xml +++ b/vector/src/main/res/values/theme_black.xml @@ -66,8 +66,6 @@ @style/VectorButtonStyle @style/VectorToolbarStyle - @color/riotx_links - ?colorAccent diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml index 953691a6b7..eeba89ec44 100644 --- a/vector/src/main/res/values/theme_dark.xml +++ b/vector/src/main/res/values/theme_dark.xml @@ -66,7 +66,7 @@ @style/VectorToolbarStyle @style/VectorAlertDialogStyleDark - @color/riotx_links + @color/link_color_dark ?colorAccent diff --git a/vector/src/main/res/values/theme_light.xml b/vector/src/main/res/values/theme_light.xml index cae2ef7794..2a8be2e557 100644 --- a/vector/src/main/res/values/theme_light.xml +++ b/vector/src/main/res/values/theme_light.xml @@ -65,7 +65,7 @@ @style/VectorToolbarStyle @style/VectorAlertDialogStyleLight - @color/riotx_links + @color/link_color_light ?colorAccent @@ -82,7 +82,7 @@ @color/riotx_text_primary_light @color/riotx_text_primary_light - @color/riotx_links + @color/link_color_light @color/default_text_hint_color_light From d4d7c6cb4a7996a6bff9651cde7c1067505407c7 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 15 Feb 2021 18:25:56 +0100 Subject: [PATCH 2/7] Cleanup riotx_base colors --- .../main/res/layout/fragment_home_drawer.xml | 2 +- vector/src/main/res/values/colors.xml | 18 ++++-------------- vector/src/main/res/values/theme_black.xml | 4 +--- vector/src/main/res/values/theme_dark.xml | 4 +--- vector/src/main/res/values/theme_light.xml | 4 +--- 5 files changed, 8 insertions(+), 24 deletions(-) diff --git a/vector/src/main/res/layout/fragment_home_drawer.xml b/vector/src/main/res/layout/fragment_home_drawer.xml index 642119e5f8..0a4206b8c0 100644 --- a/vector/src/main/res/layout/fragment_home_drawer.xml +++ b/vector/src/main/res/layout/fragment_home_drawer.xml @@ -12,7 +12,7 @@ android:id="@+id/homeDrawerHeader" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="?riotx_base" + android:background="?vctr_home_drawer_header_background" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> diff --git a/vector/src/main/res/values/colors.xml b/vector/src/main/res/values/colors.xml index 4b0d4d008d..ec6daa4a94 100644 --- a/vector/src/main/res/values/colors.xml +++ b/vector/src/main/res/values/colors.xml @@ -161,10 +161,10 @@ #FF15191E #FF000000 - - #FFF5F7FA - #FF22282F - #FF000000 + + #FFF5F7FA + #FF22282F + #FF000000 @@ -172,16 +172,6 @@ #FF282C35 #FF282C35 - - #FFFFFFFF - #FFEDF3FF - #FFEDF3FF - - - #FFFFFFFF - #FFEDF3FF - #FFEDF3FF - #FFFFFFFF #FF181B21 diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml index 5403c521b4..0d487127d6 100644 --- a/vector/src/main/res/values/theme_black.xml +++ b/vector/src/main/res/values/theme_black.xml @@ -8,9 +8,7 @@ @color/riotx_background_black - @color/riotx_base_black - @color/riotx_base_text_icon_primary_black - @color/riotx_base_text_icon_secondary_black + @color/vctr_home_drawer_header_background_black @color/riotx_search_background_mobile_black @color/riotx_header_panel_background_black @color/riotx_header_panel_border_mobile_black diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml index eeba89ec44..8cdf76afb6 100644 --- a/vector/src/main/res/values/theme_dark.xml +++ b/vector/src/main/res/values/theme_dark.xml @@ -6,9 +6,7 @@ - - \ No newline at end of file diff --git a/vector/src/main/res/values/styles_riot.xml b/vector/src/main/res/values/styles_riot.xml index 8017376cc3..f7efcd8f86 100644 --- a/vector/src/main/res/values/styles_riot.xml +++ b/vector/src/main/res/values/styles_riot.xml @@ -251,20 +251,6 @@ 10dp - - - - - - - - - - - - - - - - - - - - - - - - -