summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy/defaults.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/legacy/defaults.php')
-rw-r--r--lib/private/legacy/defaults.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/private/legacy/defaults.php b/lib/private/legacy/defaults.php
index 72e25e5e647..7835707b19d 100644
--- a/lib/private/legacy/defaults.php
+++ b/lib/private/legacy/defaults.php
@@ -290,6 +290,16 @@ class OC_Defaults {
return $this->defaultColorPrimary;
}
+ /**
+ * @return array scss variables to overwrite
+ */
+ public function getScssVariables() {
+ if($this->themeExist('getScssVariables')) {
+ return $this->theme->getScssVariables();
+ }
+ return [];
+ }
+
public function shouldReplaceIcons() {
return false;
}