]> BookStack Code Mirror - bookstack/blobdiff - app/Config/setting-defaults.php
Guest create page: name field autofocus
[bookstack] / app / Config / setting-defaults.php
index d84c0c2641397700da7b551414122c66e88fa24b..5e1e4348ab4e7e351d6067af59179ff83bf8ff42 100644 (file)
@@ -24,4 +24,14 @@ return [
     'app-custom-head'      => false,
     'registration-enabled' => false,
 
+    // User-level default settings
+    'user' => [
+        'ui-shortcuts'          => '{}',
+        'ui-shortcuts-enabled'  => false,
+        'dark-mode-enabled'     => env('APP_DEFAULT_DARK_MODE', false),
+        'bookshelves_view_type' => env('APP_VIEWS_BOOKSHELVES', 'grid'),
+        'bookshelf_view_type'   => env('APP_VIEWS_BOOKSHELF', 'grid'),
+        'books_view_type'       => env('APP_VIEWS_BOOKS', 'grid'),
+    ],
+
 ];