Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-07-06 14:32:49 +0300
committerGitHub <noreply@github.com>2022-07-06 14:32:49 +0300
commit6509c841b3176cf75e1fe1382e869bbaa2b18647 (patch)
tree69598c2d6385449bae1876699dc778e13cd8df63 /lib/private
parent112ea188ad8273a130d1c8928d9a4017ec98f1e6 (diff)
parent3d9e84fd3ab947697286fb5bfef25a0145117887 (diff)
Merge pull request #32681 from nextcloud/backport/32510/stable22
[stable22] Properly calculate primary element based on background luminance
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/legacy/OC_Defaults.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_Defaults.php b/lib/private/legacy/OC_Defaults.php
index fa90dff2edf..2674a088e11 100644
--- a/lib/private/legacy/OC_Defaults.php
+++ b/lib/private/legacy/OC_Defaults.php
@@ -297,9 +297,9 @@ class OC_Defaults {
/**
* @return array scss variables to overwrite
*/
- public function getScssVariables() {
+ public function getScssVariables(bool $brightBackground = true) {
if ($this->themeExist('getScssVariables')) {
- return $this->theme->getScssVariables();
+ return $this->theme->getScssVariables($brightBackground);
}
return [];
}