From e5cdb44dd1ae9f6ab545bb7e906d4443ab2a3443 Mon Sep 17 00:00:00 2001 From: tomcru Date: Fri, 5 Jan 2024 00:20:54 +0100 Subject: [PATCH] fix: spinner color --- src/HolyProgress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HolyProgress.ts b/src/HolyProgress.ts index 42afe41..d77d988 100644 --- a/src/HolyProgress.ts +++ b/src/HolyProgress.ts @@ -351,7 +351,7 @@ export class HolyProgress { spinner.style.boxSizing = 'border-box'; spinner.style.border = 'solid 2px transparent'; - spinner.style.borderTopColor = DEFAULTS.color; + spinner.style.borderTopColor = this.settings.color; spinner.style.borderLeftColor = this.settings.color; spinner.style.borderRadius = '50%'; spinner.style.animation = 'holy-progress-spinner 400ms linear infinite';