Skip to content
This repository was archived by the owner on May 19, 2026. It is now read-only.

Commit 7053e29

Browse files
authored
Merge branch 'master' into didimmova/update-contrast-color-docs
2 parents bce9ddc + 127ba99 commit 7053e29

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

en/components/circular-progress.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -175,16 +175,16 @@ Add some styles:
175175

176176
### Gradient Progress
177177

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.
180180

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 stops using a custom theme, you need to create a list of colors and pass it to the `$fill-color-default` theme parameter:
182182

183183
```scss
184184
$colors: #695cf9, #ef017c;
185185

186186
$custom-theme: progress-circular-theme(
187-
$progress-circle-color: $colors,
187+
$fill-color-default: $colors,
188188
);
189189
```
190190

@@ -239,12 +239,12 @@ To get started with styling the circular progress bar, we need to import the `in
239239
// @import '~igniteui-angular/lib/core/styles/themes/index';
240240
```
241241

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 `$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.
243243

244244
```scss
245245
$custom-theme: progress-circular-theme(
246246
$base-circle-color: lightgray,
247-
$progress-circle-color: rgb(32, 192, 17),
247+
$fill-color-default: rgb(32, 192, 17),
248248
);
249249
```
250250

0 commit comments

Comments
 (0)