aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/values/attrs.xml1
-rw-r--r--src/main/res/values/styles.xml8
-rw-r--r--src/main/res/values/themes.xml2
3 files changed, 11 insertions, 0 deletions
diff --git a/src/main/res/values/attrs.xml b/src/main/res/values/attrs.xml
index ee89502f2..f6c2e5fed 100644
--- a/src/main/res/values/attrs.xml
+++ b/src/main/res/values/attrs.xml
@@ -19,6 +19,7 @@
<attr name="color_background_secondary" format="reference|color" />
<attr name="color_background_primary" format="reference|color" />
<attr name="color_warning" format="reference|color" />
+ <attr name="EmojiColor" format="reference|color"/>
<attr name="ic_send_cancel_offline" format="reference" />
<attr name="ic_send_location_offline" format="reference" />
diff --git a/src/main/res/values/styles.xml b/src/main/res/values/styles.xml
index 03ff3a9d6..ea9016211 100644
--- a/src/main/res/values/styles.xml
+++ b/src/main/res/values/styles.xml
@@ -98,6 +98,14 @@
<item name="android:textColorLink">@color/white</item>
</style>
+ <style name="TextAppearance.Conversations.Body1.Emoji.OnDark" parent="TextAppearance.Conversations.Body1">
+ <item name="android:textColor">?EmojiColor</item>
+ </style>
+
+ <style name="TextAppearance.Conversations.Body1.Emoji" parent="TextAppearance.Conversations.Body1">
+ <item name="android:textColor">?EmojiColor</item>
+ </style>
+
<style name="TextAppearance.Conversations.Body1.Secondary.OnDark" parent="TextAppearance.Conversations.Body1">
<item name="android:textColor">@color/white70</item>
</style>
diff --git a/src/main/res/values/themes.xml b/src/main/res/values/themes.xml
index 5bf27cbfd..c656c5ed4 100644
--- a/src/main/res/values/themes.xml
+++ b/src/main/res/values/themes.xml
@@ -13,6 +13,7 @@
<item name="color_background_primary">@color/grey50</item>
<item name="color_background_secondary">@color/grey200</item>
<item name="color_warning">@color/red_a700</item>
+ <item name="EmojiColor">@color/realblack</item>
<item name="color_bubble_light">@color/lightwhite</item>
<item name="color_bubble_blue">@color/lightblue</item>
@@ -127,6 +128,7 @@
<item name="color_background_primary">@color/grey900</item>
<item name="color_background_secondary">@color/realblack</item>
<item name="color_warning">@color/red_a700</item>
+ <item name="EmojiColor">@color/realwhite</item>
<item name="color_bubble_light">@color/darkwhite</item>
<item name="color_bubble_blue">@color/darkblue</item>