Skip to content

Commit

Permalink
feat(a11y): Links contrast (#6114)
Browse files Browse the repository at this point in the history
  • Loading branch information
OtavioStasiak authored Feb 17, 2025
1 parent 3e61923 commit 02ffa54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/containers/message/RepliedThread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const RepliedThread = memo(({ tmid, tmsg, isHeader, fetchThreadName, id, isEncry

return (
<View style={styles.repliedThread} testID={`message-thread-replied-on-${msg}`}>
<CustomIcon name='threads' size={20} style={styles.repliedThreadIcon} color={themes[theme].badgeBackgroundLevel2} />
<MarkdownPreview msg={msg} style={[styles.repliedThreadName, { color: themes[theme].badgeBackgroundLevel2 }]} />
<CustomIcon name='threads' size={20} style={styles.repliedThreadIcon} color={themes[theme].fontInfo} />
<MarkdownPreview msg={msg} style={[styles.repliedThreadName, { color: themes[theme].fontInfo }]} />
<View style={styles.repliedThreadDisclosure}>
<CustomIcon name='chevron-right' color={themes[theme].fontSecondaryInfo} size={20} />
</View>
Expand Down
6 changes: 3 additions & 3 deletions app/containers/message/Urls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const UrlContent = ({ title, description }: { title: string; description: string
return (
<View style={styles.textContainer}>
{title ? (
<Text style={[styles.title, { color: colors.badgeBackgroundLevel2 }]} numberOfLines={2}>
<Text style={[styles.title, { color: colors.fontInfo }]} numberOfLines={2}>
{title}
</Text>
) : null}
Expand Down Expand Up @@ -97,8 +97,8 @@ const UrlImage = ({ image, hasContent }: { image: string; hasContent: boolean })
overflow: 'hidden',
alignItems: 'center',
justifyContent: 'center',
...imageDimensions.width <= 64 && { width: 64 },
...imageDimensions.height <= 64 && { height: 64 }
...(imageDimensions.width <= 64 && { width: 64 }),
...(imageDimensions.height <= 64 && { height: 64 })
};
if (!hasContent) {
containerStyle = {
Expand Down

0 comments on commit 02ffa54

Please sign in to comment.