mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 08:09:32 +08:00
fix(spinner): color can be customized in non-shadow-dom
This commit is contained in:
@ -4,14 +4,14 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: currentColor;
|
||||
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
:host(.ion-color) {
|
||||
color: #{current-color(base)};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user