1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-31 15:24:31 +03:00

Updated wysiwyg with dark mode patches

- To better fit in with default BookStack dark theme.
This commit is contained in:
Dan Brown
2022-02-08 10:09:17 +00:00
parent 572d8b3700
commit 130dc05517
4 changed files with 33 additions and 4 deletions

View File

@ -1,4 +1,5 @@
@extends('layouts.plain')
@section('document-class', setting()->getForCurrentUser('dark-mode-enabled') ? 'dark-mode ' : '')
@section('content')
<div class="px-l pb-m m-s card">

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="{{ config('app.lang') }}"
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}">
dir="{{ config('app.rtl') ? 'rtl' : 'ltr' }}"
class="@yield('document-class')">
<head>
<title>{{ isset($pageTitle) ? $pageTitle . ' | ' : '' }}{{ setting('app-name') }}</title>