diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-28 10:43:06 +0200 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-07-28 12:16:39 +0200 |
commit | be365b4975eabc854fdcad4d754c3dbe5136935e (patch) | |
tree | 8dde9bcde64bafb5eb1d9c8eb40e1a9c54951e0d | |
parent | 583f86d90a096cbb27dc9463c69f78311b4764e8 (diff) | |
download | nextcloud-server-be365b4975eabc854fdcad4d754c3dbe5136935e.tar.gz nextcloud-server-be365b4975eabc854fdcad4d754c3dbe5136935e.zip |
re-use background color from theme in the firstrunwizard
-rw-r--r-- | apps/theming/lib/controller/themingcontroller.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/theming/lib/controller/themingcontroller.php b/apps/theming/lib/controller/themingcontroller.php index 7619ec4a6b1..8c03060f884 100644 --- a/apps/theming/lib/controller/themingcontroller.php +++ b/apps/theming/lib/controller/themingcontroller.php @@ -231,6 +231,15 @@ class ThemingController extends Controller { $responseCss .= 'input[type="radio"].radio:checked:not(.radio--white):not(:disabled) + label:before {' . 'background-image: url(\'data:image/svg+xml;base64,'.Util::generateRadioButton($elementColor).'\');' . "}\n"; + $responseCss .= ' + #firstrunwizard .firstrunwizard-header { + background-color: ' . $color . '; + } + #firstrunwizard p a { + color: ' . $color . '; + } + '; + } $logo = $this->config->getAppValue($this->appName, 'logoMime'); if($logo !== '') { |