mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-08 07:23:01 +08:00
![James Geiger](/assets/img/avatar_default.png)
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>
|