]> source.dussan.org Git - nextcloud-server.git/commitdiff
re-use background color from theme in the firstrunwizard
authorBjoern Schiessle <bjoern@schiessle.org>
Thu, 28 Jul 2016 08:43:06 +0000 (10:43 +0200)
committerBjoern Schiessle <bjoern@schiessle.org>
Thu, 28 Jul 2016 15:43:52 +0000 (17:43 +0200)
apps/theming/lib/controller/themingcontroller.php

index 7619ec4a6b1aafaed13794bf2e6b8d6dd4d3e2b5..8c03060f884af043abdbb341bdb3c8437d6de349 100644 (file)
@@ -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 !== '') {