diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-08-16 15:43:35 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-08-16 15:43:35 +0300 |
commit | 601664bc84e91b752ab6e6251510b559a5a676fc (patch) | |
tree | 9548660a11f4056fff55afa0b41d906317d20071 /apps/theming/lib | |
parent | 3e2ab35af5aa14ed77fba66b63b9d858a5607394 (diff) |
Allow to manually specify a theme to apply to a section of an appfix/theming-selector
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/theming/lib')
-rw-r--r-- | apps/theming/lib/Controller/ThemingController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 94deb2e7376..e671c2d53e8 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -331,7 +331,7 @@ class ThemingController extends Controller { } else { // If not set, we'll rely on the body class $compiler = new Compiler(); - $compiledCss = $compiler->compileString("body[data-theme-$themeId] { $variables $customCss }"); + $compiledCss = $compiler->compileString("[data-theme-$themeId] { $variables $customCss }"); $css = $compiledCss->getCss();; } |