From ed1ec6fc6c4b592e244f2228d359707666e619fa Mon Sep 17 00:00:00 2001 From: arabcoders Date: Wed, 26 Mar 2025 19:17:04 +0300 Subject: [PATCH] Merge theme selector into the settings page. --- ui/components/Settings.vue | 27 +++++++++++++++++++++++---- ui/layouts/default.vue | 26 ++++---------------------- 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/ui/components/Settings.vue b/ui/components/Settings.vue index 9a945e3b..df693c93 100644 --- a/ui/components/Settings.vue +++ b/ui/components/Settings.vue @@ -9,13 +9,32 @@
+
+ +
+ + + +
+

Select the color scheme for the WebUI.

+
+
-

Use random background image from your media backends.

+

Use random background image from your media backends.

@@ -25,8 +44,8 @@
-

How visible the background image should be.

+

How visible the background image should be.

@@ -41,10 +60,9 @@ Reload -

Change the displayed picture.

+

Change the displayed picture.

- @@ -65,5 +83,6 @@ defineProps({ const bg_enable = useStorage('random_bg', true) const bg_opacity = useStorage('random_bg_opacity', 0.85) +const selectedTheme = useStorage('theme', 'auto') diff --git a/ui/layouts/default.vue b/ui/layouts/default.vue index 3f28f984..03d84f77 100644 --- a/ui/layouts/default.vue +++ b/ui/layouts/default.vue @@ -59,21 +59,6 @@ - -