From 51f0b0b36989cbb2e4bc4c4ea9ce7549c3244e33 Mon Sep 17 00:00:00 2001 From: Yasen Pramatarov Date: Mon, 23 Jun 2025 14:01:29 +0300 Subject: [PATCH] Fiexs theme view to use the new theme assets code --- app/templates/theme.php | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/app/templates/theme.php b/app/templates/theme.php index f863c6e..068f584 100644 --- a/app/templates/theme.php +++ b/app/templates/theme.php @@ -4,34 +4,41 @@ * * Displays available themes and allows the user to switch between them. * - * @var array $themes List of available themes - * @var string $currentTheme Currently active theme ID + * @var array $themes List of available themes with their data + * - name: Display name + * - screenshotUrl: URL to the screenshot (or null if not available) + * - isActive: Whether this is the current theme */ ?>
-

Theme Switcher

+

Theme switcher

Select a theme to change the appearance of the application.

- $themeName): ?> - + $theme): ?>
-
- -
Current Theme
- +
+ +
+ +
No preview available
+ +
+ +
Current theme
+
-
+

Theme ID:

- + Switch to this theme - + - +
- +