1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Add back disabled color

This commit is contained in:
Zhiyuan Zheng
2020-12-26 14:40:10 +01:00
parent 7a15cceb28
commit 3ea88d025b
12 changed files with 37 additions and 69 deletions

View File

@ -27,7 +27,12 @@ const Core: React.FC<Props> = ({ text, destructive = false }) => {
return (
<View style={styles.core}>
<Text style={{ color: destructive ? theme.red : theme.primary }}>
<Text
style={{
color: destructive ? theme.red : theme.primary,
fontWeight: destructive ? StyleConstants.Font.Weight.Bold : undefined
}}
>
{text}
</Text>
</View>