Skip to content

Commit ea599ff

Browse files
- Fix Progress-Bar Ionic Colors;
- Change Spinner Medium Color Variation;
1 parent f7a2d34 commit ea599ff

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

core/src/components/progress-bar/progress-bar.common.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,6 @@
146146
}
147147
}
148148

149-
:host(.ion-color) {
150-
.progress,
151-
.progress-indeterminate {
152-
background: #{current-color(base)};
153-
}
154-
}
155-
156149
// Progress Bar: Animation Keyframes
157150
// ------------------------------------------------------------------------
158151
// Source: https://github.com/material-components/material-components-web/blob/master/packages/mdc-linear-progress/_keyframes.scss

core/src/components/progress-bar/progress-bar.ionic.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
// Progress Bar: Color
2626
// ------------------------------------------------------------------------
2727

28+
:host(.ion-color) {
29+
.progress,
30+
.progress-indeterminate {
31+
background: #{globals.current-color(base)};
32+
}
33+
}
34+
2835
:host(.ion-color) .buffer-circles {
2936
background-image: radial-gradient(
3037
ellipse at center,

core/src/components/progress-bar/progress-bar.native.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@
1414
// Progress Bar: Color
1515
// ------------------------------------------------------------------------
1616

17+
:host(.ion-color) {
18+
.progress,
19+
.progress-indeterminate {
20+
background: #{current-color(base)};
21+
}
22+
}
23+
1724
:host(.ion-color) .buffer-circles {
1825
background-image: radial-gradient(
1926
ellipse at center,

core/src/components/spinner/spinner.ionic.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
height: globals.$ion-scale-700;
1212
}
1313

14+
:host(.ion-color.ion-color-medium) {
15+
color: globals.current-color(contrast, null, true);
16+
}
17+
1418
// Spinner: lines / lines-small / lines-sharp / lines-sharp-small
1519
// --------------------------------------------------
1620

0 commit comments

Comments
 (0)