better colors for source selection in debug mode

pull/1/head
LianaHus 6 years ago
parent 2cc5044f7f
commit 07d26b2f13
  1. 19
      src/app/editor/editor.js
  2. 2
      src/app/editor/sourceHighlighter.js

@ -33,25 +33,6 @@ document.head.appendChild(yo`
.ace_gutter-cell.ace_breakpoint{
background-color: var(--secondary);
}
.highlightreference {
position:absolute;
z-index:20;
background-color: var(--primary);
opacity: 0.6
}
.highlightreferenceline {
position:absolute;
z-index:20;
background-color: var(--primary);
opacity: 0.6
}
.highlightcode {
position:absolute;
z-index:20;
background-color: var(--danger);
}
</style>
`)

@ -42,7 +42,7 @@ class SourceHighlighter {
this._deps.fileManager.switchFile(this.source)
}
const backgoundClass = style || 'bg-info'
const backgoundClass = style || 'alert-info'
const css = csjs`
.highlightcode {
position:absolute;

Loading…
Cancel
Save