mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 04:05:57 +00:00
![Dan Brown](/assets/img/avatar_default.png)
Also allowed config-centralised default user settings for this change and bought existing user-level view options into that default settings system to be cleaner in code usage. For #2081
35 lines
1.1 KiB
PHP
35 lines
1.1 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Default system settings.
|
|
*
|
|
* Changes to these config files are not supported by BookStack and may break upon updates.
|
|
* Configuration should be altered via the `.env` file or environment variables.
|
|
* Do not edit this file unless you're happy to maintain any changes yourself.
|
|
*/
|
|
|
|
return [
|
|
|
|
'app-name' => 'BookStack',
|
|
'app-logo' => '',
|
|
'app-name-header' => true,
|
|
'app-editor' => 'wysiwyg',
|
|
'app-color' => '#206ea7',
|
|
'app-color-light' => 'rgba(32,110,167,0.15)',
|
|
'bookshelf-color' => '#a94747',
|
|
'book-color' => '#077b70',
|
|
'chapter-color' => '#af4d0d',
|
|
'page-color' => '#206ea7',
|
|
'page-draft-color' => '#7e50b1',
|
|
'app-custom-head' => false,
|
|
'registration-enabled' => false,
|
|
|
|
// User-level default settings
|
|
'user' => [
|
|
'dark-mode-enabled' => env('APP_DEFAULT_DARK_MODE', false),
|
|
'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
|
|
'books_view_type' => env('APP_VIEWS_BOOKS', 'grid'),
|
|
],
|
|
|
|
];
|