Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

use `s.likeColor` everywhere (#2234)

authored by

Samuel Newman and committed by
GitHub
edc6bdb4 81fefabe

+5 -11
+3 -6
src/view/com/util/post-ctrls/PostCtrls.tsx
··· 10 10 import {Text} from '../text/Text' 11 11 import {PostDropdownBtn} from '../forms/PostDropdownBtn' 12 12 import {HeartIcon, HeartIconSolid, CommentBottomArrow} from 'lib/icons' 13 - import {s, colors} from 'lib/styles' 13 + import {s} from 'lib/styles' 14 14 import {pluralize} from 'lib/strings/helpers' 15 15 import {useTheme} from 'lib/ThemeContext' 16 16 import {RepostButton} from './RepostButton' ··· 180 180 accessibilityHint="" 181 181 hitSlop={big ? HITSLOP_20 : HITSLOP_10}> 182 182 {post.viewer?.like ? ( 183 - <HeartIconSolid style={styles.ctrlIconLiked} size={big ? 22 : 16} /> 183 + <HeartIconSolid style={s.likeColor} size={big ? 22 : 16} /> 184 184 ) : ( 185 185 <HeartIcon 186 186 style={[defaultCtrlColor, big ? styles.mt1 : undefined]} ··· 193 193 testID="likeCount" 194 194 style={ 195 195 post.viewer?.like 196 - ? [s.bold, s.red3, s.f15, s.ml5] 196 + ? [s.bold, s.likeColor, s.f15, s.ml5] 197 197 : [defaultCtrlColor, s.f15, s.ml5] 198 198 }> 199 199 {post.likeCount} ··· 232 232 paddingBottom: 5, 233 233 paddingLeft: 5, 234 234 paddingRight: 5, 235 - }, 236 - ctrlIconLiked: { 237 - color: colors.like, 238 235 }, 239 236 mt1: { 240 237 marginTop: 1,
+2 -5
src/view/screens/ProfileFeed.tsx
··· 8 8 import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' 9 9 import {CommonNavigatorParams} from 'lib/routes/types' 10 10 import {makeRecordUri} from 'lib/strings/url-helpers' 11 - import {colors, s} from 'lib/styles' 11 + import {s} from 'lib/styles' 12 12 import {FeedDescriptor} from '#/state/queries/post-feed' 13 13 import {PagerWithHeader} from 'view/com/pager/PagerWithHeader' 14 14 import {ProfileSubpageHeader} from 'view/com/profile/ProfileSubpageHeader' ··· 580 580 onPress={onToggleLiked} 581 581 style={{paddingHorizontal: 10}}> 582 582 {isLiked ? ( 583 - <HeartIconSolid size={19} style={styles.liked} /> 583 + <HeartIconSolid size={19} style={s.likeColor} /> 584 584 ) : ( 585 585 <HeartIcon strokeWidth={3} size={19} style={pal.textLight} /> 586 586 )} ··· 622 622 paddingHorizontal: 14, 623 623 borderRadius: 50, 624 624 marginLeft: 6, 625 - }, 626 - liked: { 627 - color: colors.red3, 628 625 }, 629 626 notFoundContainer: { 630 627 margin: 10,