Better handling of the custom theme settings.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user