From f26f44c325e204882702e11cdf8f9328559e16ce Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sun, 26 Jan 2025 21:51:57 -0800 Subject: [PATCH] Just messing around [ci skip] --- src-ui/src/app/services/settings.service.ts | 6 +++ src-ui/src/theme.scss | 49 +++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/src-ui/src/app/services/settings.service.ts b/src-ui/src/app/services/settings.service.ts index bf25a7912..f870fd115 100644 --- a/src-ui/src/app/services/settings.service.ts +++ b/src-ui/src/app/services/settings.service.ts @@ -444,6 +444,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 eacc3b4e7..5d0a1f368 100644 --- a/src-ui/src/theme.scss +++ b/src-ui/src/theme.scss @@ -349,3 +349,52 @@ $form-check-radio-checked-bg-image-dark: url("data:image/svg+xml,