Big batch of UI updates (#276)
* Replace react-native-root-toast with a custom toast that fits the visual style * Tune dark mode colors * Tune colors a bit more * Move the reply prompt to a fixed position in the footer * Fully hide muted posts but give a control to show anyway (close #270) * Improve thread rendering (better clarity on reply lines) * Add follower/following counts to side menu * Fix issues with display name overflows
This commit is contained in:
parent
2f3fc4fe4e
commit
e74f94bc72
19 changed files with 381 additions and 249 deletions
|
@ -90,10 +90,10 @@ export const FeedItem = observer(function FeedItem({
|
|||
style={
|
||||
item.isRead
|
||||
? undefined
|
||||
: [
|
||||
styles.outerUnread,
|
||||
{backgroundColor: pal.colors.unreadNotifBg},
|
||||
]
|
||||
: {
|
||||
backgroundColor: pal.colors.unreadNotifBg,
|
||||
borderColor: pal.colors.unreadNotifBorder,
|
||||
}
|
||||
}
|
||||
/>
|
||||
</Link>
|
||||
|
@ -152,7 +152,10 @@ export const FeedItem = observer(function FeedItem({
|
|||
pal.border,
|
||||
item.isRead
|
||||
? undefined
|
||||
: [styles.outerUnread, {backgroundColor: pal.colors.unreadNotifBg}],
|
||||
: {
|
||||
backgroundColor: pal.colors.unreadNotifBg,
|
||||
borderColor: pal.colors.unreadNotifBorder,
|
||||
},
|
||||
]}
|
||||
href={itemHref}
|
||||
title={itemTitle}
|
||||
|
@ -391,9 +394,6 @@ const styles = StyleSheet.create({
|
|||
paddingRight: 15,
|
||||
borderTopWidth: 1,
|
||||
},
|
||||
outerUnread: {
|
||||
borderColor: colors.blue1,
|
||||
},
|
||||
layout: {
|
||||
flexDirection: 'row',
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue