Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

editor: use error color for errors in math blocks

Abdullah Attaf67792cd3048
diff --git a/packages/editor/styles/styles.css b/packages/editor/styles/styles.css
index 1de461d22..a16447f01 100644
--- a/packages/editor/styles/styles.css
+++ b/packages/editor/styles/styles.css
@@ -363,12 +363,12 @@ span:focus .fake-cursor {
.math-node.empty-math .math-render::before {
content: "(empty)";
- color: red;
+ color: var(--paragraph-error);
}
.math-node .math-render.parse-error::before {
content: "(math error)";
- color: red;
+ color: var(--paragraph-error);
cursor: help;
}