update: ui

This commit is contained in:
tokumeikoi 2022-04-16 23:13:32 +08:00
parent f046a396d6
commit 4ef5a4ca81
3 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -23,6 +23,7 @@
<script>
window.settings = {
title: '{{$title}}',
theme_path: '{{$theme_path}}',
theme: {
sidebar: '{{$theme_sidebar}}',
header: '{{$theme_header}}',

View File

@ -22,6 +22,7 @@ Route::get('/', function (Request $request) {
$renderParams = [
'title' => config('v2board.app_name', 'V2Board'),
'theme' => config('v2board.frontend_theme', 'v2board'),
'theme_path' => '/theme/' . config('v2board.frontend_theme', 'v2board') . '/assets/',
'theme_sidebar' => config('v2board.frontend_theme_sidebar', 'light'),
'theme_header' => config('v2board.frontend_theme_header', 'dark'),
'theme_color' => config('v2board.frontend_theme_color', 'default'),