use slightly more rounded repost icon (#9424)
This commit is contained in:
@@ -8,8 +8,8 @@ import {useRequireAuth} from '#/state/session'
|
|||||||
import {atoms as a, useTheme} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
import {Button, ButtonText} from '#/components/Button'
|
import {Button, ButtonText} from '#/components/Button'
|
||||||
import * as Dialog from '#/components/Dialog'
|
import * as Dialog from '#/components/Dialog'
|
||||||
import {CloseQuote_Stroke2_Corner1_Rounded as Quote} from '#/components/icons/Quote'
|
import {CloseQuote_Stroke2_Corner1_Rounded as QuoteIcon} from '#/components/icons/Quote'
|
||||||
import {Repost_Stroke2_Corner3_Rounded as Repost} from '#/components/icons/Repost'
|
import {Repost_Stroke2_Corner3_Rounded as RepostIcon} from '#/components/icons/Repost'
|
||||||
import {useFormatPostStatCount} from '#/components/PostControls/util'
|
import {useFormatPostStatCount} from '#/components/PostControls/util'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
import {
|
import {
|
||||||
@@ -84,7 +84,7 @@ let RepostButton = ({
|
|||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
}>
|
}>
|
||||||
<PostControlButtonIcon icon={Repost} />
|
<PostControlButtonIcon icon={RepostIcon} />
|
||||||
{typeof repostCount !== 'undefined' && repostCount > 0 && (
|
{typeof repostCount !== 'undefined' && repostCount > 0 && (
|
||||||
<PostControlButtonText testID="repostCount">
|
<PostControlButtonText testID="repostCount">
|
||||||
{formatPostStatCount(repostCount)}
|
{formatPostStatCount(repostCount)}
|
||||||
@@ -156,7 +156,7 @@ let RepostButtonDialogInner = ({
|
|||||||
size="large"
|
size="large"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
color="primary">
|
color="primary">
|
||||||
<Repost size="lg" fill={t.palette.primary_500} />
|
<RepostIcon size="lg" fill={t.palette.primary_500} />
|
||||||
<Text style={[a.font_semi_bold, a.text_xl]}>
|
<Text style={[a.font_semi_bold, a.text_xl]}>
|
||||||
{isReposted ? (
|
{isReposted ? (
|
||||||
<Trans>Remove repost</Trans>
|
<Trans>Remove repost</Trans>
|
||||||
@@ -178,7 +178,7 @@ let RepostButtonDialogInner = ({
|
|||||||
size="large"
|
size="large"
|
||||||
variant="ghost"
|
variant="ghost"
|
||||||
color="primary">
|
color="primary">
|
||||||
<Quote
|
<QuoteIcon
|
||||||
size="lg"
|
size="lg"
|
||||||
fill={
|
fill={
|
||||||
embeddingDisabled
|
embeddingDisabled
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ import {
|
|||||||
import {Heart2_Filled_Stroke2_Corner0_Rounded as HeartIconFilled} from '#/components/icons/Heart2'
|
import {Heart2_Filled_Stroke2_Corner0_Rounded as HeartIconFilled} from '#/components/icons/Heart2'
|
||||||
import {PersonPlus_Filled_Stroke2_Corner0_Rounded as PersonPlusIcon} from '#/components/icons/Person'
|
import {PersonPlus_Filled_Stroke2_Corner0_Rounded as PersonPlusIcon} from '#/components/icons/Person'
|
||||||
import {PlusLarge_Stroke2_Corner0_Rounded as PlusIcon} from '#/components/icons/Plus'
|
import {PlusLarge_Stroke2_Corner0_Rounded as PlusIcon} from '#/components/icons/Plus'
|
||||||
import {Repost_Stroke2_Corner2_Rounded as RepostIcon} from '#/components/icons/Repost'
|
import {Repost_Stroke2_Corner3_Rounded as RepostIcon} from '#/components/icons/Repost'
|
||||||
import {StarterPack} from '#/components/icons/StarterPack'
|
import {StarterPack} from '#/components/icons/StarterPack'
|
||||||
import {VerifiedCheck} from '#/components/icons/VerifiedCheck'
|
import {VerifiedCheck} from '#/components/icons/VerifiedCheck'
|
||||||
import {InlineLinkText, Link} from '#/components/Link'
|
import {InlineLinkText, Link} from '#/components/Link'
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {makeProfileLink} from '#/lib/routes/links'
|
|||||||
import {useSession} from '#/state/session'
|
import {useSession} from '#/state/session'
|
||||||
import {atoms as a, useTheme} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
import {Pin_Stroke2_Corner0_Rounded as PinIcon} from '#/components/icons/Pin'
|
import {Pin_Stroke2_Corner0_Rounded as PinIcon} from '#/components/icons/Pin'
|
||||||
import {Repost_Stroke2_Corner2_Rounded as RepostIcon} from '#/components/icons/Repost'
|
import {Repost_Stroke2_Corner3_Rounded as RepostIcon} from '#/components/icons/Repost'
|
||||||
import {Link, WebOnlyInlineLinkText} from '#/components/Link'
|
import {Link, WebOnlyInlineLinkText} from '#/components/Link'
|
||||||
import {ProfileHoverCard} from '#/components/ProfileHoverCard'
|
import {ProfileHoverCard} from '#/components/ProfileHoverCard'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
|
|||||||
Reference in New Issue
Block a user