From be365b4975eabc854fdcad4d754c3dbe5136935e Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <bjoern@schiessle.org>
Date: Thu, 28 Jul 2016 10:43:06 +0200
Subject: [PATCH] re-use background color from theme in the firstrunwizard

---
 apps/theming/lib/controller/themingcontroller.php | 9 +++++++++
 1 file changed, 9 insertions(+)

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 !== '') {
-- 
GitLab