Skip to content

Commit

Permalink
Fix highlighting in editors
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Dec 14, 2023
1 parent 2b20c27 commit 3ffe6bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/style/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
--discovery-fmt-keyword-color: #9150c5;
--discovery-fmt-number-color: #07a;
--discovery-fmt-atom-color: #07a;
--discovery-fmt-type-color: #1b965f;
--discovery-fmt-type-color: #a7994b;
--discovery-fmt-string-color: #690;
--discovery-fmt-string-highlight-color: rgba(35, 165, 25, 0.1);
--discovery-fmt-comment-color: #75787b;
Expand Down Expand Up @@ -80,7 +80,6 @@
--discovery-fmt-keyword-color: #a783c4;
--discovery-fmt-number-color: #0f8dc2;
--discovery-fmt-atom-color: #0f8dc2;
--discovery-fmt-type-color: #48bc88;
--discovery-fmt-string-color: #7faf20;
--discovery-fmt-string-underline-color: #85ab51;
--discovery-fmt-string-hover-color: #97cf26;
Expand Down
4 changes: 3 additions & 1 deletion src/views/editor/editors.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
color: var(--discovery-fmt-number-color);
}
.discovery-editor .CodeMirror .cm-type {
color: #a7994b; /* var(--discovery-fmt-type-color); */
color: var(--discovery-fmt-type-color);
}
.discovery-editor .CodeMirror .cm-node,
.discovery-editor .CodeMirror .cm-tag {
Expand All @@ -86,6 +86,8 @@
color: var(--discovery-fmt-string-color);
}
.discovery-editor .CodeMirror .cm-variable,
.discovery-editor .CodeMirror .cm-variable-2,
.discovery-editor .CodeMirror .cm-def,
.discovery-editor .CodeMirror .cm-qualifier {
color: var(--discovery-fmt-variable-color);
}
Expand Down

0 comments on commit 3ffe6bc

Please sign in to comment.