From 29168ac74de23ffeb235f90297a3cb00bde8b3dd Mon Sep 17 00:00:00 2001 From: Greg Price Date: Thu, 6 Aug 2020 01:59:35 -0700 Subject: [PATCH] compose: Fix text-color contrast in mention-unsubscribed warning. This color is a pretty light one; it needs a dark text color to get acceptable contrast for legibility. --- src/message/MentionedUserNotSubscribed.js | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/message/MentionedUserNotSubscribed.js b/src/message/MentionedUserNotSubscribed.js index 501772f95c3..2a77ca3922f 100644 --- a/src/message/MentionedUserNotSubscribed.js +++ b/src/message/MentionedUserNotSubscribed.js @@ -35,12 +35,15 @@ const styles = StyleSheet.create({ }, text: { flex: 1, - color: 'white', + color: 'black', }, button: { backgroundColor: 'orange', padding: 6, }, + buttonText: { + color: 'black', + }, }); class MentionedUserNotSubscribed extends PureComponent { @@ -68,7 +71,12 @@ class MentionedUserNotSubscribed extends PureComponent { }} style={styles.text} /> - + );