From 068d18b69bae8456669293a8b7dfe9afd827e03d Mon Sep 17 00:00:00 2001 From: maTh Date: Sat, 4 Mar 2023 15:05:58 +0100 Subject: Add: (#5105) * implemented * themes' metadata.json * fix * fix * retrigger tests * Update lib/Minz/View.php Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite * Update lib/Minz/View.php Co-authored-by: Alexandre Alapetite * fix --------- Co-authored-by: Alexandre Alapetite Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> --- app/FreshRSS.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/FreshRSS.php') diff --git a/app/FreshRSS.php b/app/FreshRSS.php index 76ced841c..dd16fad6c 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -141,6 +141,10 @@ class FreshRSS extends Minz_FrontController { FreshRSS_View::prependStyle(Minz_Url::display(FreshRSS::getThemeFileUrl($theme_id, $filename))); } } + + if (!empty($theme['theme-color'])) { + FreshRSS_View::appendThemeColors($theme['theme-color']); + } } //Use prepend to insert before extensions. Added in reverse order. if (Minz_Request::controllerName() !== 'index') { -- cgit v1.2.3