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

Update colour naming

Fixed #73
Fixed #58
Fixed #47
This commit is contained in:
Zhiyuan Zheng
2021-03-21 14:14:10 +01:00
parent dd345871f8
commit d15e8cb652
48 changed files with 162 additions and 152 deletions

View File

@ -35,9 +35,9 @@ const TimelineEmpty = React.memo(
<Icon
name='Frown'
size={StyleConstants.Font.Size.L}
color={theme.primary}
color={theme.primaryDefault}
/>
<Text style={[styles.error, { color: theme.primary }]}>
<Text style={[styles.error, { color: theme.primaryDefault }]}>
{t('empty.error.message')}
</Text>
<Button
@ -56,9 +56,9 @@ const TimelineEmpty = React.memo(
<Icon
name='Smartphone'
size={StyleConstants.Font.Size.L}
color={theme.primary}
color={theme.primaryDefault}
/>
<Text style={[styles.error, { color: theme.primary }]}>
<Text style={[styles.error, { color: theme.primaryDefault }]}>
{t('empty.success.message')}
</Text>
</>
@ -67,7 +67,7 @@ const TimelineEmpty = React.memo(
}, [mode, i18n.language, status])
return (
<View
style={[styles.base, { backgroundColor: theme.background }]}
style={[styles.base, { backgroundColor: theme.backgroundDefault }]}
children={children}
/>
)