diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-08-11 16:11:47 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-09-04 15:30:46 +0300 |
commit | da5662c454cbdf9e81c6ac83cc0dfe72692fd883 (patch) | |
tree | b60b9082f707af8c3f43bf675173a0a23de027bd /apps/theming/lib/ThemingDefaults.php | |
parent | 4fd3240b5f0d2f8a42675fa499c06a7f35b726fe (diff) |
Use separate element color in theming
This way we can use a grey color when the primary color is to bright
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/lib/ThemingDefaults.php')
-rw-r--r-- | apps/theming/lib/ThemingDefaults.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/theming/lib/ThemingDefaults.php b/apps/theming/lib/ThemingDefaults.php index b10dc4b7ea8..8200957edc0 100644 --- a/apps/theming/lib/ThemingDefaults.php +++ b/apps/theming/lib/ThemingDefaults.php @@ -238,6 +238,7 @@ class ThemingDefaults extends \OC_Defaults { } $variables['color-primary'] = $this->getColorPrimary(); $variables['color-primary-text'] = $colorPrimaryText; + $variables['color-primary-element'] = $this->util->elementColor($this->getColorPrimary()); } if ($this->config->getAppValue('theming', 'backgroundMime', null) === 'backgroundColor') { |