Skip to content

Commit 8263909

Browse files
committed
fix avatar tokens
1 parent 863fc6e commit 8263909

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/components/avatar/avatar.common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import "../../themes/native/native.globals";
1+
@import "../../themes/mixins.scss";
22

33
// Avatar
44
// --------------------------------------------------

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@use "../../themes/ionic/ionic.globals.scss" as globals;
2-
@import "./avatar.common";
2+
@use "./avatar.common";
33

44
// Ionic Avatar
55
// --------------------------------------------------
@@ -22,7 +22,7 @@
2222
}
2323

2424
:host(:not(.avatar-image)) {
25-
@include padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
25+
@include globals.padding(var(--padding-top), var(--padding-end), var(--padding-bottom), var(--padding-start));
2626
}
2727

2828
// Avatar Sizes
@@ -125,7 +125,7 @@
125125
// --------------------------------------------------
126126

127127
:host(.avatar-icon) {
128-
@include padding(0);
128+
@include globals.padding(0);
129129
}
130130

131131
:host(.avatar-xsmall) ::slotted(ion-icon) {

0 commit comments

Comments
 (0)