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
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-20 10:06:29 +0300
committerJohn Molakvoæ (Rebase PR Action) <skjnldsv@users.noreply.github.com>2022-05-31 20:27:12 +0300
commit20efadff5fa0b156c65f9dddc7e72b65d6f6a918 (patch)
tree287013060545e0f7044bd9a2153352fcb912d1c6 /lib
parent3638e65027afad9f51676ba7bb6feea2ea4a5c88 (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.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 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 [];
}