Merge pull request #52249 from nextcloud/chore/update-3rdparty

pull/51491/head
John Molakvoæ 2025-04-22 10:44:45 +07:00 committed by GitHub
commit 703af4bd44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 7 deletions

@ -1 +1 @@
Subproject commit d8eb3e1e5164dacdcb5962a475e67eb3f03043d4
Subproject commit f764cac3cb2c6a6fb4945dfdc65c49bfb1d8c42a

@ -32,7 +32,6 @@ use OCP\IL10N;
use OCP\INavigationManager;
use OCP\IRequest;
use OCP\IURLGenerator;
use ScssPhp\ScssPhp\Compiler;
/**
* Class ThemingController
@ -45,7 +44,7 @@ class ThemingController extends Controller {
public const VALID_UPLOAD_KEYS = ['header', 'logo', 'logoheader', 'background', 'favicon'];
public function __construct(
$appName,
string $appName,
IRequest $request,
private IConfig $config,
private IAppConfig $appConfig,
@ -402,10 +401,7 @@ class ThemingController extends Controller {
$css = ":root { $variables } " . $customCss;
} else {
// If not set, we'll rely on the body class
$compiler = new Compiler();
$compiledCss = $compiler->compileString("[data-theme-$themeId] { $variables $customCss }");
$css = $compiledCss->getCss();
;
$css = "[data-theme-$themeId] { $variables $customCss }";
}
try {