Skip to content

Commit

Permalink
chore: added missing less file
Browse files Browse the repository at this point in the history
  • Loading branch information
agliga committed Jul 15, 2024
1 parent cc0ed8e commit e5db3d4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-tools-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ebay/skin": patch
---

fix: added icon-mixins.less file for backwards compatibility
17 changes: 17 additions & 0 deletions src/sass/mixins/private/icon-mixins.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@icon-spinner-large-height: 60px;
@icon-spinner-large-width: 60px;

// base styles for BEM svg.icon block
.icon-base-mixin() {
display: inline-block;
fill: currentColor;
pointer-events: none;
stroke: currentColor;
stroke-width: 0;
vertical-align: middle;
}

.icon-image-mixin(@name) {
height: ~"@{icon-@{name}-height}"; // string resolves to a LESS variable
width: ~"@{icon-@{name}-width}"; // string resolves to a LESS variable
}

0 comments on commit e5db3d4

Please sign in to comment.