Skip to content

Commit 512e8c7

Browse files
committed
fix: design feedback
1 parent 9945468 commit 512e8c7

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

app/components/UI/SecurityTrust/Views/SecurityTrustScreen.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ const SecurityTrustScreen: React.FC = () => {
239239

240240
{top10Pct !== null && (
241241
<Box twClassName="pb-3">
242-
<Box twClassName="h-2 rounded-full overflow-hidden flex-row bg-[rgba(133,139,154,0.3)]">
242+
<Box twClassName="h-2 rounded-full overflow-hidden flex-row bg-[rgba(237,239,242,0.3)]">
243243
<Box twClassName="h-full bg-[#6B7FFF]" style={barFillStyle} />
244244
</Box>
245245
</Box>
@@ -259,21 +259,19 @@ const SecurityTrustScreen: React.FC = () => {
259259
>
260260
<Box twClassName="w-3 h-3 rounded-full bg-[#6B7FFF]" />
261261
<Text
262-
variant={TextVariant.BodyMd}
262+
variant={TextVariant.BodySm}
263263
color={TextColor.TextAlternative}
264-
fontWeight={FontWeight.Medium}
265264
>
266265
{strings('security_trust.top_10_holders')}
267266
</Text>
268267
</Box>
269268
<Text
270-
variant={TextVariant.BodyMd}
269+
variant={TextVariant.BodySm}
271270
color={
272271
top10Pct !== null
273272
? TextColor.TextDefault
274273
: TextColor.TextAlternative
275274
}
276-
fontWeight={FontWeight.Medium}
277275
>
278276
{top10Pct !== null
279277
? `${top10Pct.toFixed(1)}%`
@@ -294,21 +292,19 @@ const SecurityTrustScreen: React.FC = () => {
294292
>
295293
<Box twClassName="w-3 h-3 rounded-full bg-[rgba(133,139,154,0.5)]" />
296294
<Text
297-
variant={TextVariant.BodyMd}
295+
variant={TextVariant.BodySm}
298296
color={TextColor.TextAlternative}
299-
fontWeight={FontWeight.Medium}
300297
>
301298
{strings('security_trust.other')}
302299
</Text>
303300
</Box>
304301
<Text
305-
variant={TextVariant.BodyMd}
302+
variant={TextVariant.BodySm}
306303
color={
307304
otherPct !== null
308305
? TextColor.TextDefault
309306
: TextColor.TextAlternative
310307
}
311-
fontWeight={FontWeight.Medium}
312308
>
313309
{otherPct !== null
314310
? `${otherPct.toFixed(1)}%`

app/components/UI/TokenDetails/components/SecurityBadgeBottomSheet.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const SecurityBadgeBottomSheet = () => {
127127
<BottomSheet ref={sheetRef}>
128128
<BottomSheetHeader
129129
onClose={handleClose}
130-
closeButtonProps={{ size: ButtonIconSize.Sm }}
130+
closeButtonProps={{ size: ButtonIconSize.Lg }}
131131
/>
132132
<Box
133133
flexDirection={BoxFlexDirection.Column}
@@ -168,7 +168,7 @@ const SecurityBadgeBottomSheet = () => {
168168
<Box
169169
flexDirection={BoxFlexDirection.Row}
170170
alignItems={BoxAlignItems.Start}
171-
twClassName="self-stretch flex-wrap gap-4 pt-4"
171+
twClassName="self-stretch flex-wrap gap-4"
172172
>
173173
<Button
174174
variant={ButtonVariant.Secondary}
@@ -192,7 +192,7 @@ const SecurityBadgeBottomSheet = () => {
192192
onPress={handleClose}
193193
>
194194
<DSText
195-
variant={DSTextVariant.ButtonLabelLg}
195+
variant={DSTextVariant.BodyMd}
196196
color={DSTextColor.PrimaryInverse}
197197
fontWeight={FontWeight.Medium}
198198
twClassName="text-center"

0 commit comments

Comments
 (0)