]> BookStack Code Mirror - bookstack/blob - resources/views/partials/custom-styles.blade.php
Changed color picker library and moved color logic to front end
[bookstack] / resources / views / partials / custom-styles.blade.php
1 @if(Setting::get('app-color'))
2     <style>
3         header, #back-to-top {
4             background-color: {{ Setting::get('app-color') }};
5         }
6         .faded-small {
7             background-color: {{ Setting::get('app-color-light') }};
8         }
9         .button-base, .button, input[type="button"], input[type="submit"] {
10             background-color: {{ Setting::get('app-color') }};
11         }
12         .button-base:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, .button:focus {
13             background-color: {{ Setting::get('app-color') }};
14         }
15         .setting-nav a.selected {
16             border-bottom-color: {{ Setting::get('app-color') }};
17         }
18         p.primary:hover, p .primary:hover, span.primary:hover, .text-primary:hover, a, a:hover, a:focus {
19             color: {{ Setting::get('app-color') }};
20         }
21     </style>
22 @endif