diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-05-20 10:06:29 +0300 |
---|---|---|
committer | John Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com> | 2022-05-31 20:27:12 +0300 |
commit | 20efadff5fa0b156c65f9dddc7e72b65d6f6a918 (patch) | |
tree | 287013060545e0f7044bd9a2153352fcb912d1c6 /lib | |
parent | 3638e65027afad9f51676ba7bb6feea2ea4a5c88 (diff) |
Properly calculate primary element based on background luminancefix/theming-colours-primary-24
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-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 707df7279bb..88207e30adc 100644 --- a/lib/private/legacy/OC_Defaults.php +++ b/lib/private/legacy/OC_Defaults.php @@ -311,9 +311,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 []; } |