From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 27 Jan 2025 05:51:57 +0000 (-0800) Subject: Just messing around X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ffeature-flat-theme;p=thirdparty%2Fpaperless-ngx.git Just messing around [ci skip] --- diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index 9e1b3e360..a5c271fa4 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -425,6 +425,12 @@ export class SettingsService { ) } + this._renderer.setAttribute( + this.document.documentElement, + 'data-bs-theme', + 'dark-flat' + ) + if (themeColor?.length) { const hsl = hexToHsl(themeColor) const bgBrightnessEstimate = estimateBrightnessForColor(themeColor) diff --git a/src-ui/src/theme.scss b/src-ui/src/theme.scss index 9f3c9cbe9..cc3841417 100644 --- a/src-ui/src/theme.scss +++ b/src-ui/src/theme.scss @@ -366,3 +366,52 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,