From: Adam Dullage Date: Tue, 10 Dec 2024 17:44:52 +0000 (+0000) Subject: Fix incorrect dark mode class in editor theme #265 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d56152e7a824ecb0432beb29f04d695599565673;p=flatnotes.git Fix incorrect dark mode class in editor theme #265 --- diff --git a/client/components/toastui/toastui-editor-overrides.scss b/client/components/toastui/toastui-editor-overrides.scss index 685379b..cf4b1c9 100644 --- a/client/components/toastui/toastui-editor-overrides.scss +++ b/client/components/toastui/toastui-editor-overrides.scss @@ -132,8 +132,8 @@ background-color: rgb(var(--theme-background-elevated)); } -.dark-theme .toastui-editor-contents pre, -.dark-theme .toastui-editor-md-code-block-line-background { +.dark .toastui-editor-contents pre, +.dark .toastui-editor-md-code-block-line-background { background-color: rgb(var(--theme-background-elevated)); } @@ -204,7 +204,7 @@ background-color: rgb(var(--theme-text)); } -.dark-theme .toastui-editor-toolbar-icons { +.dark .toastui-editor-toolbar-icons { // Standard dark theme buttons are dark grey, this position change makes them white background-position-y: -49px; } @@ -223,8 +223,8 @@ background-color: rgb(var(--theme-background-elevated)); } -.dark-theme .toastui-editor-md-code, -.dark-theme .toastui-editor-contents code { +.dark .toastui-editor-md-code, +.dark .toastui-editor-contents code { background-color: rgb(var(--theme-background-elevated)); }