Fix incorrect dark mode class in editor theme #265
authorAdam Dullage <redacted>
Tue, 10 Dec 2024 17:44:52 +0000 (17:44 +0000)
committerAdam Dullage <redacted>
Tue, 10 Dec 2024 17:44:52 +0000 (17:44 +0000)
client/components/toastui/toastui-editor-overrides.scss

index 685379bec58983216d854e123a329b06d64dab3d..cf4b1c99357c7b558bccfb2ff0326c70c5ea744b 100644 (file)
   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));
 }
 
   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;
 }
   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));
 }
 
git clone https://git.99rst.org/PROJECT