summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-08-29 16:46:12 +0200
committerJulius Härtl <jus@bitgrid.net>2018-08-29 16:47:39 +0200
commite8938df1986c4b52fc1f5c9afe4cc4078ea86e4c (patch)
treec4da4127667493aac996368470b0e3832b5a69c1 /apps
parent27141a960ffbbeca2fcd9693ce6fac3a49991141 (diff)
downloadnextcloud-server-e8938df1986c4b52fc1f5c9afe4cc4078ea86e4c.tar.gz
nextcloud-server-e8938df1986c4b52fc1f5c9afe4cc4078ea86e4c.zip
Move SCSS variable fetching before the variables.scss to properly calculate color values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/accessibility/lib/Controller/AccessibilityController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/accessibility/lib/Controller/AccessibilityController.php b/apps/accessibility/lib/Controller/AccessibilityController.php
index 0a1d091d1c5..8f1ffa452af 100644
--- a/apps/accessibility/lib/Controller/AccessibilityController.php
+++ b/apps/accessibility/lib/Controller/AccessibilityController.php
@@ -149,8 +149,8 @@ class AccessibilityController extends Controller {
try {
$css .= $scss->compile(
$imports .
- '@import "variables.scss";' .
$this->getInjectedVariables() .
+ '@import "variables.scss";' .
'@import "css-variables.scss";'
);
} catch (ParserException $e) {