diff --git a/vector/src/debug/res/layout/item_test_linkify.xml b/vector/src/debug/res/layout/item_test_linkify.xml
index 19bebeaf50..89d1dade0d 100644
--- a/vector/src/debug/res/layout/item_test_linkify.xml
+++ b/vector/src/debug/res/layout/item_test_linkify.xml
@@ -12,7 +12,6 @@
android:orientation="vertical">
@@ -26,7 +25,6 @@
tools:text="www.example.org" />
diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
index e9cf8251de..2e97abc32e 100644
--- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
+++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/factory/MessageItemFactory.kt
@@ -468,7 +468,7 @@ class MessageItemFactory @Inject constructor(
spannable.append(linkifiedBody)
val editedSuffix = stringProvider.getString(R.string.edited_suffix)
spannable.append(" ").append(editedSuffix)
- val color = colorProvider.getColorFromAttribute(R.attr.vctr_list_header_secondary_text_color)
+ val color = colorProvider.getColorFromAttribute(R.attr.riotx_text_secondary)
val editStart = spannable.lastIndexOf(editedSuffix)
val editEnd = editStart + editedSuffix.length
spannable.setSpan(
diff --git a/vector/src/main/res/drawable/ic_sliders.xml b/vector/src/main/res/drawable/ic_sliders.xml
deleted file mode 100644
index 55ccfcfb3d..0000000000
--- a/vector/src/main/res/drawable/ic_sliders.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
diff --git a/vector/src/main/res/drawable/pill_background_bing.xml b/vector/src/main/res/drawable/pill_background_bing.xml
deleted file mode 100644
index 70a2bda8a4..0000000000
--- a/vector/src/main/res/drawable/pill_background_bing.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/drawable/rounded_rect_shape.xml b/vector/src/main/res/drawable/rounded_rect_shape.xml
deleted file mode 100644
index e9c0a27f59..0000000000
--- a/vector/src/main/res/drawable/rounded_rect_shape.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/drawable/rounded_rect_shape_off.xml b/vector/src/main/res/drawable/rounded_rect_shape_off.xml
deleted file mode 100644
index 8dac3020e3..0000000000
--- a/vector/src/main/res/drawable/rounded_rect_shape_off.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/drawable/sticker_description_background.xml b/vector/src/main/res/drawable/sticker_description_background.xml
deleted file mode 100644
index faa6f5b6f4..0000000000
--- a/vector/src/main/res/drawable/sticker_description_background.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/drawable/sticker_description_triangle.xml b/vector/src/main/res/drawable/sticker_description_triangle.xml
deleted file mode 100644
index 199c2e7313..0000000000
--- a/vector/src/main/res/drawable/sticker_description_triangle.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/layout/activity_bug_report.xml b/vector/src/main/res/layout/activity_bug_report.xml
index 2347d84ee3..78a0139e1d 100644
--- a/vector/src/main/res/layout/activity_bug_report.xml
+++ b/vector/src/main/res/layout/activity_bug_report.xml
@@ -75,7 +75,6 @@
android:layout_marginTop="10dp"
android:layout_marginEnd="10dp"
android:hint="@string/send_bug_report_placeholder"
- android:textColorHint="?attr/vctr_default_text_hint_color"
app:counterEnabled="true"
app:counterMaxLength="500">
diff --git a/vector/src/main/res/layout/dialog_export_e2e_keys.xml b/vector/src/main/res/layout/dialog_export_e2e_keys.xml
index 9561c59301..10c9dcd59b 100644
--- a/vector/src/main/res/layout/dialog_export_e2e_keys.xml
+++ b/vector/src/main/res/layout/dialog_export_e2e_keys.xml
@@ -39,7 +39,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
- android:textColorHint="?attr/vctr_default_text_hint_color"
app:layout_constraintEnd_toStartOf="@+id/exportDialogShowPassword"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/exportDialogText">
@@ -61,7 +60,6 @@
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
- android:textColorHint="?attr/vctr_default_text_hint_color"
app:errorEnabled="true"
app:layout_constraintEnd_toEndOf="@+id/exportDialogTil"
app:layout_constraintStart_toStartOf="parent"
diff --git a/vector/src/main/res/layout/dialog_import_e2e_keys.xml b/vector/src/main/res/layout/dialog_import_e2e_keys.xml
index 68621f8230..177dbd1f66 100644
--- a/vector/src/main/res/layout/dialog_import_e2e_keys.xml
+++ b/vector/src/main/res/layout/dialog_import_e2e_keys.xml
@@ -29,7 +29,6 @@
style="@style/VectorTextInputLayout"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:textColorHint="?attr/vctr_default_text_hint_color"
app:layout_constraintEnd_toStartOf="@+id/importDialogShowPassword"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/dialog_e2e_keys_passphrase_filename">
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-w480dp/styles.xml b/vector/src/main/res/values-w480dp/styles.xml
deleted file mode 100644
index 5f117273a3..0000000000
--- a/vector/src/main/res/values-w480dp/styles.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/vector/src/main/res/values/attrs.xml b/vector/src/main/res/values/attrs.xml
index 0b9852634d..ecc64bf07d 100644
--- a/vector/src/main/res/values/attrs.xml
+++ b/vector/src/main/res/values/attrs.xml
@@ -6,9 +6,6 @@
-
-
-
@@ -19,19 +16,11 @@
-
-
-
-
-
-
-
-
diff --git a/vector/src/main/res/values/colors.xml b/vector/src/main/res/values/colors.xml
index e4cfa18461..7561e6f843 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
@@ -156,16 +155,15 @@
'riotx__'
-->
-
#FFFFFFFF
#FF15191E
#FF000000
-
- #FFF5F7FA
- #FF22282F
- #FF000000
+
+ #FFF5F7FA
+ #FF22282F
+ #FF000000
@@ -173,21 +171,6 @@
#FF282C35
#FF282C35
-
- #FFFFFFFF
- #FFEDF3FF
- #FFEDF3FF
-
-
- #FFFFFFFF
- #FFEDF3FF
- #FFEDF3FF
-
-
- #FFFFFFFF
- #FF181B21
- #FF181B21
-
#FFF3F8FD
#FF22262E
@@ -198,11 +181,6 @@
#FF181B21
#FF0D0F12
-
- #FF171910
- #FFFFFFFF
- #FFFFFFFF
-
#8F97A3
#FFA9B2BC
@@ -235,47 +213,17 @@
#FF8F97A3
#FFA9B2BC
-
- #FF8F97A3
- #FFA9B2BC
- #FFA9B2BC
-
-
- #FFF6F7F8
- #FF343446
- #FF343446
-
#FF2E3648
#FF2E3648
#FF2E3648
-
- #FF2E3648
- #FF0D0E10
- #FF0D0E10
-
-
- #FFEEEFEF
- #FF61708B
- #FF61708B
-
#FF61708B
#FF61708B
#FF61708B
-
- @color/white
- #FF181B21
- #FF181B21
-
-
- @color/black
- @color/white
- @color/white
-
@color/white
#FF181B21
diff --git a/vector/src/main/res/values/styles_riot.xml b/vector/src/main/res/values/styles_riot.xml
index d81b4cb6e9..89d5ac12e2 100644
--- a/vector/src/main/res/values/styles_riot.xml
+++ b/vector/src/main/res/values/styles_riot.xml
@@ -97,11 +97,6 @@
- 12sp
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml
index e5c6851f40..8a03e29375 100644
--- a/vector/src/main/res/values/theme_black.xml
+++ b/vector/src/main/res/values/theme_black.xml
@@ -8,27 +8,17 @@
- @color/riotx_background_black
- - @color/riotx_base_black
- - @color/riotx_base_text_icon_primary_black
- - @color/riotx_base_text_icon_secondary_black
- - @color/riotx_search_background_mobile_black
+ - @color/vctr_home_drawer_header_background_black
- @color/riotx_header_panel_background_black
- @color/riotx_header_panel_border_mobile_black
- - @color/riotx_header_panel_text_primary_black
- @color/riotx_header_panel_text_secondary_black
- @color/riotx_text_primary_black
- @color/riotx_text_secondary_black
- @color/riotx_text_tertiary_black
- @color/riotx_text_primary_body_contrast_black
- @color/riotx_android_secondary_black
- - @color/riotx_search_placeholder_black
- - @color/riotx_room_highlight_black
- @color/riotx_unread_room_indent_black
- - @color/riotx_android_status_bar_black
- - @color/riotx_line_break_mobile_black
- @color/riotx_unread_room_badge_black
- - @color/riotx_fab_secondary_bg_black
- - @color/riotx_fab_secondary_color_black
- @color/riotx_fab_label_bg_black
- @color/riotx_fab_label_stroke_black
- @color/riotx_fab_label_color_black
@@ -41,8 +31,6 @@
- @color/riotx_reaction_background_on_black
- @color/riotx_alerter_background_black
- - @color/riotx_bottom_nav_icon_color_black
-
- @color/riotx_accent
@@ -66,8 +54,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..5d22683b82 100644
--- a/vector/src/main/res/values/theme_dark.xml
+++ b/vector/src/main/res/values/theme_dark.xml
@@ -6,27 +6,17 @@