Skip to content

Commit de06eb8

Browse files
committed
feat(spinner): update --color to be internal
1 parent 5388749 commit de06eb8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

core/src/components/spinner/spinner.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
// --------------------------------------------------
66

77
:host {
8+
// This variable controls the component's color when nested within parent elements (e.g., `ion-button`). It is intended for internal styling only.
9+
--color: var(--ion-spinner-color);
10+
811
display: inline-block;
912
position: relative;
1013

11-
color: var(--ion-spinner-color);
14+
color: var(--color);
1215

1316
user-select: none;
1417
}

0 commit comments

Comments
 (0)