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
|
@ -15,7 +15,7 @@ export const colors = {
|
|||
gray5: '#545664',
|
||||
gray6: '#373942',
|
||||
gray7: '#26272D',
|
||||
gray8: '#101013',
|
||||
gray8: '#141417',
|
||||
|
||||
blue0: '#bfe1ff',
|
||||
blue1: '#8bc7fd',
|
||||
|
@ -24,6 +24,7 @@ export const colors = {
|
|||
blue4: '#0062bd',
|
||||
blue5: '#034581',
|
||||
blue6: '#012561',
|
||||
blue7: '#001040',
|
||||
|
||||
red1: '#ffe6f2',
|
||||
red2: '#fba2ce',
|
||||
|
@ -64,6 +65,7 @@ export const s = StyleSheet.create({
|
|||
// helpers
|
||||
footerSpacer: {height: 100},
|
||||
contentContainer: {paddingBottom: 200},
|
||||
contentContainerExtra: {paddingBottom: 300},
|
||||
border1: {borderWidth: 1},
|
||||
borderTop1: {borderTopWidth: 1},
|
||||
borderRight1: {borderRightWidth: 1},
|
||||
|
|
|
@ -21,6 +21,7 @@ export const defaultTheme: Theme = {
|
|||
replyLine: colors.gray2,
|
||||
replyLineDot: colors.gray3,
|
||||
unreadNotifBg: '#ebf6ff',
|
||||
unreadNotifBorder: colors.blue1,
|
||||
postCtrl: '#71768A',
|
||||
brandText: '#0066FF',
|
||||
emptyStateIcon: '#B6B6C9',
|
||||
|
@ -296,15 +297,16 @@ export const darkTheme: Theme = {
|
|||
textLight: colors.gray3,
|
||||
textInverted: colors.black,
|
||||
link: colors.blue3,
|
||||
border: colors.gray6,
|
||||
borderDark: colors.gray5,
|
||||
border: colors.black,
|
||||
borderDark: colors.gray6,
|
||||
icon: colors.gray4,
|
||||
|
||||
// non-standard
|
||||
textVeryLight: colors.gray4,
|
||||
replyLine: colors.gray5,
|
||||
replyLineDot: colors.gray6,
|
||||
unreadNotifBg: colors.blue5,
|
||||
unreadNotifBg: colors.blue7,
|
||||
unreadNotifBorder: colors.blue6,
|
||||
postCtrl: '#61657A',
|
||||
brandText: '#0085ff',
|
||||
emptyStateIcon: colors.gray4,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue