mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-30 20:53:45 +08:00
e6fe299c4f
Adds new options in the customization section of the settings to change the shelf, book, chapter, page, and draft colors.
12 lines
542 B
PHP
12 lines
542 B
PHP
<style id="custom-styles" data-color="{{ setting('app-color') }}" data-color-light="{{ setting('app-color-light') }}">
|
|
:root {
|
|
--color-primary: {{ setting('app-color') }};
|
|
--color-primary-light: {{ setting('app-color-light') }};
|
|
--color-bookshelf: {{ setting('bookshelf-color')}};
|
|
--color-book: {{ setting('book-color')}};
|
|
--color-chapter: {{ setting('chapter-color')}};
|
|
--color-page: {{ setting('page-color')}};
|
|
--color-page-draft: {{ setting('page-draft-color')}};
|
|
}
|
|
</style>
|