+
);
- }
+ },
});
export default Editor;
diff --git a/client/homebrew/editor/editor.less b/client/homebrew/editor/editor.less
index 9db6df26f..db2421b0f 100644
--- a/client/homebrew/editor/editor.less
+++ b/client/homebrew/editor/editor.less
@@ -10,25 +10,25 @@
.codeEditor {
height : calc(100% - 25px);
.cm-editor { height : 100%; }
- .pageLine, .snippetLine {
+ .cm-pageLine, .cm-snippetLine {
background : #33333328;
border-top : #333399 solid 1px;
}
- .editor-page-count {
+ .cm-editor-page-count {
float : right;
color : grey;
}
- .editor-snippet-count {
+ .cm-editor-snippet-count {
float : right;
color : grey;
}
- .columnSplit {
+ .cm-cm-columnSplit {
font-style : italic;
color : grey;
background-color : fade(#229999, 15%);
border-bottom : #229999 solid 1px;
}
- .define {
+ .cm-define {
&:not(.term):not(.definition) {
font-weight : bold;
color : #949494;
@@ -38,21 +38,21 @@
&.term { color : rgb(96, 117, 143); }
&.definition { color : rgb(97, 57, 178); }
}
- .block:not(.cm-comment) {
+ .cm-block:not(.cm-comment) {
font-weight : bold;
color : purple;
//font-style: italic;
}
- .inline-block:not(.cm-comment) {
+ .cm-inline-block:not(.cm-comment) {
font-weight : bold;
color : red;
//font-style: italic;
}
- .injection:not(.cm-comment) {
+ .cm-injection:not(.cm-comment) {
font-weight : bold;
color : green;
}
- .emoji:not(.cm-comment) {
+ .cm-emoji:not(.cm-comment) {
padding-bottom : 1px;
margin-left : 2px;
font-weight : bold;
@@ -62,19 +62,19 @@
background : #FFC8FF;
border-radius : 6px;
}
- .superscript:not(.cm-comment) {
+ .cm-superscript:not(.cm-comment) {
font-size : 0.9em;
font-weight : bold;
vertical-align : super;
color : goldenrod;
}
- .subscript:not(.cm-comment) {
+ .cm-subscript:not(.cm-comment) {
font-size : 0.9em;
font-weight : bold;
vertical-align : sub;
color : rgb(123, 123, 15);
}
- .dl-highlight {
+ .cm-dl-highlight {
&.dl-colon-highlight {
font-weight : bold;
color : #949494;