diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-07-06 14:32:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 14:32:49 +0300 |
commit | 6509c841b3176cf75e1fe1382e869bbaa2b18647 (patch) | |
tree | 69598c2d6385449bae1876699dc778e13cd8df63 /lib/private | |
parent | 112ea188ad8273a130d1c8928d9a4017ec98f1e6 (diff) | |
parent | 3d9e84fd3ab947697286fb5bfef25a0145117887 (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.php | 4 |
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 []; } |