Skip to content

Commit bec091e

Browse files
authored
perf: use much simpler lazy loading icon (#414)
1 parent 0a7c13e commit bec091e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/multiple-select-vanilla/src/styles/_variables.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ $ms-choice-height: 26px !default;
2727
$ms-choice-padding: 0 6px 0 8px !default;
2828
$ms-icon-caret-svg-path: "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" !default;
2929
$ms-icon-close-svg-path: "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z" !default;
30-
$ms-icon-loading-svg-path: "M12,18A6,6 0 0,1 6,12C6,11 6.25,10.03 6.7,9.2L5.24,7.74C4.46,8.97 4,10.43 4,12A8,8 0 0,0 12,20V23L16,19L12,15M12,4V1L8,5L12,9V6A6,6 0 0,1 18,12C18,13 17.75,13.97 17.3,14.8L18.76,16.26C19.54,15.03 20,13.57 20,12A8,8 0 0,0 12,4Z" !default;
30+
$ms-icon-loading-svg-path: "M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z" !default;
3131
$ms-icon-check-svg-path: "M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z" !default;
3232
$ms-icon-minus-svg-path: "M20 14H4V10H20" !default;
3333
$ms-icon-radio-svg-path: "M12 3.7c4.6 0 8.3 3.7 8.3 8.3s-3.7 8.3-8.3 8.3-8.3-3.7-8.3-8.3S7.4 3.7 12 3.7z" !default;
@@ -79,7 +79,7 @@ $ms-label-text-padding-left: 8px !default;
7979
$ms-loading-gap: 4px !default;
8080
$ms-loading-icon-size: 1.15em !default;
8181
$ms-loading-padding: 0.6rem 8px !default;
82-
$ms-loading-spin-animation: 2s infinite linear !default;
82+
$ms-loading-spin-animation: 1s infinite linear !default;
8383
$ms-option-highlight-bg-color: rgba($ms-primary-color, 8%) !default;
8484
$ms-ok-button-bg-color: #fff !default;
8585
$ms-ok-button-bg-hover-color: #f9f9f9 !default;

0 commit comments

Comments
 (0)