/* Editor */

.cm-editor .cm-gutters {
  background: var(--sidebar-background);
  border-right: 1px solid var(--sidebar-border);
}

.cm-editor .cm-scroller {
  font-family: var(--font-family-editor);
}

.cm-editor .cm-placeholder {
  color: var(--placeholder-color);
}

.cm-editor .cm-tooltip {
  background-color: var(--sidebar-border);
}

/* stylelint-disable selector-class-pattern */
.cm-editor .cm-activeLine {
  background-color: var(--editor-activeline);
}

.cm-editor .cm-selectionBackground {
  background-color: var(--editor-activeline);
}

.cm-editor.cm-focused
  > .cm-scroller
  > .cm-selectionLayer
  .cm-selectionBackground {
  background-color: var(--editor-activeline);
}

.cm-editor .cm-selectionMatch {
  background-color: var(--editor-selectionmatch);
}

.cm-editor .cm-cursor {
  border-left-color: var(--text-color-lighter);
}
/* stylelint-enable selector-class-pattern */
