From e1b94346457159275bd52498ebcedeb3f985a7a5 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 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,