diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-10-04 13:28:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 13:28:07 -0700 |
commit | eb7306b16512e317f477c7a28e1e3b0ce5c65ff8 (patch) | |
tree | 43df377ff593516fbec9bfaf9752a65f32681097 | |
parent | 9278822088d212c9bee6a40a6a8b773bc482242d (diff) | |
download | voidsky-eb7306b16512e317f477c7a28e1e3b0ce5c65ff8.tar.zst |
Profile UI tweaks (#1607)
* Use inverted color instead of primary color for press state * Fix: add missing border to empty state
-rw-r--r-- | src/view/com/profile/ProfileHeader.tsx | 4 | ||||
-rw-r--r-- | src/view/com/util/EmptyState.tsx | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/view/com/profile/ProfileHeader.tsx b/src/view/com/profile/ProfileHeader.tsx index 57fa22f1e..baf95af6c 100644 --- a/src/view/com/profile/ProfileHeader.tsx +++ b/src/view/com/profile/ProfileHeader.tsx @@ -392,8 +392,8 @@ const ProfileHeaderLoaded = observer(function ProfileHeaderLoadedImpl({ { paddingHorizontal: 10, backgroundColor: showSuggestedFollows - ? colors.blue3 - : pal.viewLight.backgroundColor, + ? pal.colors.text + : pal.colors.backgroundLight, }, ]} accessibilityRole="button" diff --git a/src/view/com/util/EmptyState.tsx b/src/view/com/util/EmptyState.tsx index a495fcd3f..7486b212f 100644 --- a/src/view/com/util/EmptyState.tsx +++ b/src/view/com/util/EmptyState.tsx @@ -22,7 +22,7 @@ export function EmptyState({ }) { const pal = usePalette('default') return ( - <View testID={testID} style={[styles.container, style]}> + <View testID={testID} style={[styles.container, pal.border, style]}> <View style={styles.iconContainer}> {icon === 'user-group' ? ( <UserGroupIcon size="64" style={styles.icon} /> @@ -50,6 +50,7 @@ const styles = StyleSheet.create({ container: { paddingVertical: 20, paddingHorizontal: 36, + borderTopWidth: 1, }, iconContainer: { flexDirection: 'row', |