diff --git a/CHANGES.md b/CHANGES.md
index 8261412b4c..934ababf85 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -12,6 +12,7 @@ Improvements 🙌:
- Use Hardware keyboard enter to send message (use shift-enter for new line) (#1881, #1440)
- Edit and remove icons are now visible on image attachment preview screen (#2294)
- Room profile: BigImageViewerActivity now only display the image. Use the room setting to change or delete the room Avatar
+ - Better visibility of text reactions in dark theme (#1118)
Bugfix 🐛:
- Messages encrypted with no way to decrypt after SDK update from 0.18 to 1.0.0 (#2252)
diff --git a/vector/src/main/java/im/vector/app/features/reactions/widget/ReactionButton.kt b/vector/src/main/java/im/vector/app/features/reactions/widget/ReactionButton.kt
index 364ac999c1..331c3e81da 100644
--- a/vector/src/main/java/im/vector/app/features/reactions/widget/ReactionButton.kt
+++ b/vector/src/main/java/im/vector/app/features/reactions/widget/ReactionButton.kt
@@ -112,8 +112,8 @@ class ReactionButton @JvmOverloads constructor(context: Context,
// emojiView?.typeface = this.emojiTypeFace ?: Typeface.DEFAULT
context.withStyledAttributes(attrs, R.styleable.ReactionButton, defStyleAttr) {
- onDrawable = ContextCompat.getDrawable(context, R.drawable.rounded_rect_shape)
- offDrawable = ContextCompat.getDrawable(context, R.drawable.rounded_rect_shape_off)
+ onDrawable = ContextCompat.getDrawable(context, R.drawable.reaction_rounded_rect_shape)
+ offDrawable = ContextCompat.getDrawable(context, R.drawable.reaction_rounded_rect_shape_off)
circleStartColor = getColor(R.styleable.ReactionButton_circle_start_color, 0)
diff --git a/vector/src/main/res/drawable/reaction_rounded_rect_shape.xml b/vector/src/main/res/drawable/reaction_rounded_rect_shape.xml
new file mode 100644
index 0000000000..46de56dafc
--- /dev/null
+++ b/vector/src/main/res/drawable/reaction_rounded_rect_shape.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vector/src/main/res/drawable/reaction_rounded_rect_shape_off.xml b/vector/src/main/res/drawable/reaction_rounded_rect_shape_off.xml
new file mode 100644
index 0000000000..d1d0c6008f
--- /dev/null
+++ b/vector/src/main/res/drawable/reaction_rounded_rect_shape_off.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/vector/src/main/res/layout/reaction_button.xml b/vector/src/main/res/layout/reaction_button.xml
index 4f11bf1fcd..d216b6db7b 100644
--- a/vector/src/main/res/layout/reaction_button.xml
+++ b/vector/src/main/res/layout/reaction_button.xml
@@ -5,7 +5,7 @@
android:id="@+id/reactionSelector"
android:layout_width="wrap_content"
android:layout_height="26dp"
- android:background="@drawable/rounded_rect_shape"
+ android:background="@drawable/reaction_rounded_rect_shape"
android:clipChildren="false"
android:minWidth="44dp">
diff --git a/vector/src/main/res/values/colors_riotx.xml b/vector/src/main/res/values/colors_riotx.xml
index cfcc8a8b1d..ce94b97281 100644
--- a/vector/src/main/res/values/colors_riotx.xml
+++ b/vector/src/main/res/values/colors_riotx.xml
@@ -229,6 +229,16 @@
#7F61708B
#FF22262E
+
+ #FFF3F8FD
+ #22252B
+ #22252B
+
+
+ #2011BC8A
+ #4011BC8A
+ #4011BC8A
+
#FFF8E3
diff --git a/vector/src/main/res/values/theme_black.xml b/vector/src/main/res/values/theme_black.xml
index 5a9a1b35c6..18ced0a071 100644
--- a/vector/src/main/res/values/theme_black.xml
+++ b/vector/src/main/res/values/theme_black.xml
@@ -36,6 +36,8 @@
- @color/riotx_attachment_selector_border_black
- @color/riotx_room_active_widgets_banner_bg_black
- @color/riotx_room_active_widgets_banner_text_black
+ - @color/riotx_reaction_background_off_black
+ - @color/riotx_reaction_background_on_black
- @color/riotx_bottom_nav_icon_color_black
diff --git a/vector/src/main/res/values/theme_dark.xml b/vector/src/main/res/values/theme_dark.xml
index 6059afcfd0..cdd5cde488 100644
--- a/vector/src/main/res/values/theme_dark.xml
+++ b/vector/src/main/res/values/theme_dark.xml
@@ -34,6 +34,8 @@
- @color/riotx_attachment_selector_border_dark
- @color/riotx_room_active_widgets_banner_bg_dark
- @color/riotx_room_active_widgets_banner_text_dark
+ - @color/riotx_reaction_background_off_dark
+ - @color/riotx_reaction_background_on_dark
- @color/riotx_bottom_nav_icon_color_dark
diff --git a/vector/src/main/res/values/theme_light.xml b/vector/src/main/res/values/theme_light.xml
index 6426a8e699..3c1505bb60 100644
--- a/vector/src/main/res/values/theme_light.xml
+++ b/vector/src/main/res/values/theme_light.xml
@@ -35,6 +35,8 @@
- @color/riotx_attachment_selector_border_light
- @color/riotx_room_active_widgets_banner_bg_light
- @color/riotx_room_active_widgets_banner_text_light
+ - @color/riotx_reaction_background_off_light
+ - @color/riotx_reaction_background_on_light
- @color/riotx_bottom_nav_icon_color_light