You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: en/components/circular-progress.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -175,16 +175,16 @@ Add some styles:
175
175
176
176
### Gradient Progress
177
177
178
-
One way to customize the progress bar is to use a color gradient instead of a solid color.
179
-
This can be done in one of two ways - by using the [`IgxProgressBarGradientDirective`]({environment:angularApiUrl}/classes/igxcircularprogressbarcomponent.html#gradienttemplate) directive or by implementing a custom theme, albeit custom themes support up to two color stops.
178
+
One way to customize the progress bar is by using a color gradient instead of a solid color.
179
+
This can be done in one of two ways - by using the [`IgxProgressBarGradientDirective`]({environment:angularApiUrl}/classes/igxcircularprogressbarcomponent.html#gradienttemplate) directive or by implementing a custom theme, which supports up to two color stops.
180
180
181
-
If you want to create a gradient with just two color stops, you can do so by using a custom theme. Create a list of colors and pass it to the `$progress-circle-color` theme parameter:
181
+
To create a gradient with just two color stopsusing a custom theme, you need to create a list of colors and pass it to the `$fill-color-default` theme parameter:
182
182
183
183
```scss
184
184
$colors: #695cf9, #ef017c;
185
185
186
186
$custom-theme: progress-circular-theme(
187
-
$progress-circle-color:$colors,
187
+
$fill-color-default:$colors,
188
188
);
189
189
```
190
190
@@ -239,12 +239,12 @@ To get started with styling the circular progress bar, we need to import the `in
Following the simplest approach, we create a new theme that extends the [`progress-circular-theme`]({environment:sassApiUrl}/index.html#function-progress-circular-theme) and accepts the `$base-circle-color` and the `$progress-circle-color` parameters.
242
+
Following the simplest approach, we create a new theme that extends the [`progress-circular-theme`]({environment:sassApiUrl}/index.html#function-progress-circular-theme) and accepts the `$base-circle-color` and the `$fill-color-default` parameters.
0 commit comments