From 6e67825eca8bc7e209534e725a4fa18aad4b531b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 22 Nov 2022 12:15:26 -0600 Subject: Shrink and darken the post controls a little --- src/view/com/util/LoadingPlaceholder.tsx | 6 +++--- src/view/com/util/PostCtrls.tsx | 23 +++++++++++++---------- 2 files changed, 16 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/view/com/util/LoadingPlaceholder.tsx b/src/view/com/util/LoadingPlaceholder.tsx index 5ccd1bd14..3fcb07b51 100644 --- a/src/view/com/util/LoadingPlaceholder.tsx +++ b/src/view/com/util/LoadingPlaceholder.tsx @@ -93,14 +93,14 @@ export function PostLoadingPlaceholder({ - + - + diff --git a/src/view/com/util/PostCtrls.tsx b/src/view/com/util/PostCtrls.tsx index 144351d85..a316d8959 100644 --- a/src/view/com/util/PostCtrls.tsx +++ b/src/view/com/util/PostCtrls.tsx @@ -22,6 +22,9 @@ interface PostCtrlsOpts { onPressToggleUpvote: () => void } +const redgray = '#7A6161' +const sRedgray = {color: redgray} + export function PostCtrls(opts: PostCtrlsOpts) { const interp1 = useSharedValue(0) const interp2 = useSharedValue(0) @@ -59,9 +62,9 @@ export function PostCtrls(opts: PostCtrlsOpts) { - {opts.replyCount} + {opts.replyCount} @@ -74,14 +77,14 @@ export function PostCtrls(opts: PostCtrlsOpts) { opts.isReposted ? styles.ctrlIconReposted : styles.ctrlIcon } icon="retweet" - size={20} + size={18} /> {opts.repostCount} @@ -93,16 +96,16 @@ export function PostCtrls(opts: PostCtrlsOpts) { onPress={onPressToggleUpvoteWrapper}> {opts.isUpvoted ? ( - + ) : ( - + )} {opts.upvoteCount} @@ -123,7 +126,7 @@ const styles = StyleSheet.create({ paddingRight: 4, }, ctrlIcon: { - color: colors.gray4, + color: redgray, }, ctrlIconReposted: { color: colors.green3, -- cgit 1.4.1