]> BookStack Code Mirror - bookstack/blob - resources/views/common/custom-styles.blade.php
API Docs: Add Missing Fields in Example Responses
[bookstack] / resources / views / common / custom-styles.blade.php
1 @php
2     $settingSuffix = setting()->getForCurrentUser('dark-mode-enabled') ? '-dark' : '';
3 @endphp
4 <style>
5     :root {
6         --color-primary: {{ setting('app-color' . $settingSuffix) }};
7         --color-primary-light: {{ setting('app-color-light' . $settingSuffix) }};
8         --color-link: {{ setting('link-color' . $settingSuffix) }};
9         --color-bookshelf: {{ setting('bookshelf-color' . $settingSuffix)}};
10         --color-book: {{ setting('book-color' . $settingSuffix)}};
11         --color-chapter: {{ setting('chapter-color' . $settingSuffix)}};
12         --color-page: {{ setting('page-color' . $settingSuffix)}};
13         --color-page-draft: {{ setting('page-draft-color' . $settingSuffix)}};
14     }
15 </style>