diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index faa0ee059..7b9428f9e 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -143,6 +143,8 @@ export class SettingsService { `${hsl.l * 100}%` ) } else { + this._renderer.removeClass(this.document.body, 'primary-dark') + this._renderer.removeClass(this.document.body, 'primary-light') document.documentElement.style.removeProperty('--pngx-primary') document.documentElement.style.removeProperty('--pngx-primary-lightness') }