Better handling of the custom theme settings.

This commit is contained in:
James Brooks
2015-05-19 15:41:29 +01:00
parent 0b58160f6d
commit 4d28b28bdf
3 changed files with 46 additions and 4 deletions
@@ -1,10 +1,12 @@
@if($themeSetup)
<style type="text/css">
body.status-page {
@if($styleBackgroundColor = Setting::get('style_background_color'))
background-color: {{ $styleBackgroundColor }};
@if($themeBackgroundColor)
background-color: {{ $themeBackgroundColor }};
@endif
@if($styleTextColor = Setting::get('style_text_color'))
color: {{ $styleTextColor }};
@if($themeTextColor)
color: {{ $themeTextColor }};
@endif
}
</style>
@endif