Skip to content

Commit 3a72107

Browse files
chore: apply theme to account buttons
1 parent 0cb238a commit 3a72107

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

packages/scaffold/src/views/w3m-account-default-view/components/auth-buttons.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,14 @@ export function AuthButtons({
3333
</Text>
3434
</ListSocial>
3535
) : (
36-
<ListItem icon="mail" onPress={onPress} chevron testID="button-email" style={style}>
36+
<ListItem
37+
icon="mail"
38+
onPress={onPress}
39+
chevron
40+
testID="button-email"
41+
iconColor="fg-100"
42+
style={style}
43+
>
3744
<Text color="fg-100" numberOfLines={1} ellipsizeMode="tail">
3845
{text}
3946
</Text>

packages/scaffold/src/views/w3m-account-default-view/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,8 @@ export function AccountDefaultView() {
239239
<ListItem
240240
chevron
241241
icon="networkPlaceholder"
242-
iconBackgroundColor="gray-glass-010"
242+
iconColor="accent-100"
243+
iconBackgroundColor="accent-glass-015"
243244
imageSrc={networkImage}
244245
imageHeaders={ApiController._getApiHeaders()}
245246
onPress={onNetworkPress}
@@ -283,6 +284,8 @@ export function AccountDefaultView() {
283284
icon="swapHorizontal"
284285
onPress={onSwitchAccountType}
285286
testID="account-button-type"
287+
iconColor="accent-100"
288+
iconBackgroundColor="accent-glass-015"
286289
style={styles.actionButton}
287290
loading={loading}
288291
>

0 commit comments

Comments
 (0)