Used elevated bg in dark theme code blocks
authorAdam Dullage <redacted>
Sat, 25 Nov 2023 16:01:19 +0000 (16:01 +0000)
committerAdam Dullage <redacted>
Sat, 25 Nov 2023 16:01:19 +0000 (16:01 +0000)
flatnotes/src/toastui-editor-overrides.scss

index 888f119e655c10347d8c1a1ec2002a2ee36e5007..892897730bf124dcae7445e885d63bd1e02dc312 100644 (file)
   background-color: var(--colour-background-tint);
 }
 
+.dark-theme .toastui-editor-contents pre,
+.dark-theme .toastui-editor-md-code-block-line-background {
+  background-color: var(--colour-background-elevated);
+}
+
 .token.operator,
 .token.entity,
 .token.url,
   background-color: var(--colour-background-tint);
 }
 
+.dark-theme .toastui-editor-md-code,
+.dark-theme .toastui-editor-contents code {
+  background-color: var(--colour-background-elevated);
+}
+
 .toastui-editor-popup {
   background-color: var(--colour-background);
   border: 1px solid var(--colour-border);
git clone https://git.99rst.org/PROJECT