Skip to content

Commit

Permalink
feat(spinner): change variable name to indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
yangwooseong committed May 24, 2024
1 parent 3822b7b commit 3744d25
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.Spinner {
--b-spinner-size: initial;
--b-spinner-track-color: initial;
--b-spinner-fill-color: initial;
--b-spinner-indicator-color: initial;
--b-spinner-stroke-width: initial;
--b-spinner-stroke-dasharray: initial;

Expand All @@ -31,7 +31,7 @@

& .indicator {
fill: none;
stroke: var(--b-spinner-fill-color);
stroke: var(--b-spinner-indicator-color);
stroke-dasharray: var(--b-spinner-stroke-dasharray);
stroke-linecap: round;
stroke-width: var(--b-spinner-stroke-width);
Expand All @@ -51,16 +51,16 @@

&:where(.variant-primary) {
--b-spinner-track-color: var(--alpha-color-primary-bg-lightest);
--b-spinner-fill-color: var(--alpha-color-fg-blue-normal);
--b-spinner-indicator-color: var(--alpha-color-fg-blue-normal);
}

&:where(.variant-secondary) {
--b-spinner-track-color: var(--alpha-color-bg-black-light);
--b-spinner-fill-color: var(--alpha-color-fg-black-light);
--b-spinner-indicator-color: var(--alpha-color-fg-black-light);
}

&:where(.variant-on-overlay) {
--b-spinner-track-color: var(--alpha-color-bg-absolute-white-lightest);
--b-spinner-fill-color: var(--alpha-color-fg-absolute-white-light);
--b-spinner-indicator-color: var(--alpha-color-fg-absolute-white-light);
}
}

0 comments on commit 3744d25

Please sign in to comment.