- {{process.value}}
TOTAL%
diff --git a/src/app/progressbar/progressbar.sample.ts b/src/app/progressbar/progressbar.sample.ts
index 4faf21bfeb6..f60196348eb 100644
--- a/src/app/progressbar/progressbar.sample.ts
+++ b/src/app/progressbar/progressbar.sample.ts
@@ -1,12 +1,21 @@
-import { Component, ViewEncapsulation, OnInit } from '@angular/core';
-import { IgxButtonDirective, IgxCircularProgressBarComponent, IgxIconComponent, IgxLinearProgressBarComponent, IgxProgressBarGradientDirective, IgxProgressBarTextTemplateDirective, IgxRippleDirective, IgxTextAlign } from 'igniteui-angular';
+import {Component, OnInit, ViewEncapsulation} from '@angular/core';
+import {
+ IgxButtonDirective,
+ IgxCircularProgressBarComponent,
+ IgxIconComponent,
+ IgxLinearProgressBarComponent,
+ IgxProgressBarGradientDirective,
+ IgxProgressBarTextTemplateDirective,
+ IgxRippleDirective,
+ IgxTextAlign
+} from 'igniteui-angular';
@Component({
encapsulation: ViewEncapsulation.None,
selector: 'app-progressbar-sample',
styleUrls: ['progressbar.sample.scss'],
templateUrl: 'progressbar.sample.html',
- imports: [IgxLinearProgressBarComponent, IgxCircularProgressBarComponent, IgxProgressBarTextTemplateDirective, IgxProgressBarGradientDirective, IgxButtonDirective, IgxRippleDirective, IgxIconComponent]
+ imports: [IgxLinearProgressBarComponent, IgxCircularProgressBarComponent, IgxProgressBarTextTemplateDirective, IgxProgressBarGradientDirective, IgxButtonDirective, IgxRippleDirective, IgxIconComponent, IgxLinearProgressBarComponent, IgxLinearProgressBarComponent]
})
export class ProgressbarSampleComponent implements OnInit {
@@ -21,9 +30,7 @@ export class ProgressbarSampleComponent implements OnInit {
}
public generateNewProgressValues() {
- const value = this.randomIntFromInterval(this.currentValue, 100);
-
- this.currentValue = value;
+ this.currentValue = this.randomIntFromInterval(0, 100);
}
public randomIntFromInterval(min: number, max: number) {
diff --git a/src/styles/_variables.scss b/src/styles/_variables.scss
index fa429165538..21d2f079812 100644
--- a/src/styles/_variables.scss
+++ b/src/styles/_variables.scss
@@ -1,10 +1,10 @@
@use 'sass:map';
@use '../../projects/igniteui-angular/src/lib/core/styles/themes' as *;
-$palette: $light-material-palette;
-$schema: $light-material-schema;
-$typeface: $material-typeface;
-$type-scale: $material-type-scale;
+$palette: $light-bootstrap-palette;
+$schema: $light-bootstrap-schema;
+$typeface: $bootstrap-typeface;
+$type-scale: $bootstrap-type-scale;
$variant: map.get($schema, '_meta', 'variant');
$background-color: var(--ig-gray-900-contrast);