Tune the empty state visuals
parent
f47751ad42
commit
1ed82b6c59
|
@ -25,11 +25,13 @@ export function EmptyState({
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon
|
||||||
icon={icon}
|
icon={icon}
|
||||||
size={64}
|
size={64}
|
||||||
style={[styles.icon, pal.textLight]}
|
style={[styles.icon, {color: pal.colors.emptyStateIcon}]}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</View>
|
</View>
|
||||||
<Text type="xl" style={[pal.textLight, styles.text]}>
|
<Text
|
||||||
|
type="xl-medium"
|
||||||
|
style={[{color: pal.colors.textVeryLight}, styles.text]}>
|
||||||
{message}
|
{message}
|
||||||
</Text>
|
</Text>
|
||||||
</View>
|
</View>
|
||||||
|
@ -50,6 +52,6 @@ const styles = StyleSheet.create({
|
||||||
},
|
},
|
||||||
text: {
|
text: {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
paddingTop: 16,
|
paddingTop: 20,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,12 +16,13 @@ export const defaultTheme: Theme = {
|
||||||
icon: colors.gray2,
|
icon: colors.gray2,
|
||||||
|
|
||||||
// non-standard
|
// non-standard
|
||||||
actionLabel: colors.gray4,
|
textVeryLight: colors.gray4,
|
||||||
replyLine: colors.gray2,
|
replyLine: colors.gray2,
|
||||||
replyLineDot: colors.gray3,
|
replyLineDot: colors.gray3,
|
||||||
unreadNotifBg: '#ebf6ff',
|
unreadNotifBg: '#ebf6ff',
|
||||||
postCtrl: '#71768A',
|
postCtrl: '#71768A',
|
||||||
brandText: '#0066FF',
|
brandText: '#0066FF',
|
||||||
|
emptyStateIcon: '#B6B6C9',
|
||||||
},
|
},
|
||||||
primary: {
|
primary: {
|
||||||
background: colors.blue3,
|
background: colors.blue3,
|
||||||
|
@ -259,12 +260,13 @@ export const darkTheme: Theme = {
|
||||||
icon: colors.gray5,
|
icon: colors.gray5,
|
||||||
|
|
||||||
// non-standard
|
// non-standard
|
||||||
actionLabel: colors.gray3,
|
textVeryLight: colors.gray4,
|
||||||
replyLine: colors.gray5,
|
replyLine: colors.gray5,
|
||||||
replyLineDot: colors.gray6,
|
replyLineDot: colors.gray6,
|
||||||
unreadNotifBg: colors.blue5,
|
unreadNotifBg: colors.blue5,
|
||||||
postCtrl: '#61657A',
|
postCtrl: '#61657A',
|
||||||
brandText: '#0085ff',
|
brandText: '#0085ff',
|
||||||
|
emptyStateIcon: colors.gray4,
|
||||||
},
|
},
|
||||||
primary: {
|
primary: {
|
||||||
...defaultTheme.palette.primary,
|
...defaultTheme.palette.primary,
|
||||||
|
|
Loading…
Reference in New Issue