summaryrefslogtreecommitdiffstats
path: root/themes
diff options
context:
space:
mode:
Diffstat (limited to 'themes')
-rw-r--r--themes/example/defaults.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/example/defaults.php b/themes/example/defaults.php
index 3d0ae9c1c74..6e0364a3dca 100644
--- a/themes/example/defaults.php
+++ b/themes/example/defaults.php
@@ -151,4 +151,14 @@ class OC_Theme {
return '#745bca';
}
+ /**
+ * Returns variables to overload defaults from core/css/variables.scss
+ * @return array
+ */
+ public function getScssVariables() {
+ return [
+ 'color-primary' => '#745bca'
+ ];
+ }
+
}