Skip to content

Commit

Permalink
fix: spinner color
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcru committed Jan 4, 2024
1 parent 54e2e31 commit 8172249
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/HolyProgress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class HolyProgress {
initialPosition: 0.08,
easing: 'linear',
speed: 200,
color: '#59a2ff',
color: DEFAULTS.color,
height: 4,
zIndex: 2147483647,
boxShadow: undefined,
Expand Down Expand Up @@ -131,7 +131,7 @@ export class HolyProgress {
this.removeBar();
next();
}, speed);
// this.removeSpinner();
this.removeSpinner();
}, speed);
} else {
setTimeout(next, speed);
Expand Down Expand Up @@ -352,7 +352,7 @@ export class HolyProgress {

spinner.style.border = 'solid 2px transparent';
spinner.style.borderTopColor = DEFAULTS.color;
spinner.style.borderLeftColor = DEFAULTS.color;
spinner.style.borderLeftColor = this.settings.color;
spinner.style.borderRadius = '50%';
spinner.style.animation = 'holy-progress-spinner 400ms linear infinite';

Expand Down

0 comments on commit 8172249

Please sign in to comment.