Skip to content

Commit 34641cb

Browse files
committed
fix avatar tokens
1 parent 8b5215f commit 34641cb

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

core/src/components/avatar/avatar.ionic.scss

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
align-items: center;
1616
justify-content: center;
1717

18-
background: globals.$ion-bg-neutral-subtlest-default;
18+
background: globals.$ion-bg-neutral-subtle-default;
1919
color: globals.$ion-text-subtlest;
2020
}
2121

@@ -118,6 +118,11 @@
118118
@include globals.padding(0);
119119
}
120120

121+
:host(.avatar-xxsmall) ::slotted(ion-icon) {
122+
width: globals.$ion-scale-300;
123+
height: globals.$ion-scale-300;
124+
}
125+
121126
:host(.avatar-xsmall) ::slotted(ion-icon) {
122127
width: globals.$ion-scale-400;
123128
height: globals.$ion-scale-400;
@@ -139,8 +144,8 @@
139144
}
140145

141146
:host(.avatar-xlarge) ::slotted(ion-icon) {
142-
width: globals.$ion-scale-1000;
143-
height: globals.$ion-scale-1000;
147+
width: globals.$ion-scale-800;
148+
height: globals.$ion-scale-800;
144149
}
145150

146151
// Avatar Badge Empty (hint)

0 commit comments

Comments
 (0)