parent
fdd8b85780
commit
6bae7a8fed
2 changed files with 20 additions and 0 deletions
19
src/_monaco.scss
Normal file
19
src/_monaco.scss
Normal file
|
@ -0,0 +1,19 @@
|
|||
.monaco-editor {
|
||||
// selected text
|
||||
.selected-text {
|
||||
background-color: $surface0 !important;
|
||||
}
|
||||
// line numbers
|
||||
.margin-view-overlays .line-numbers {
|
||||
color: $subtext0 !important;
|
||||
}
|
||||
.line-numbers.active-line-number {
|
||||
color: $accent !important;
|
||||
}
|
||||
|
||||
// current / cursor line
|
||||
.view-overlays .current-line,
|
||||
.margin-view-overlays .current-line-margin {
|
||||
background-color: #{if($isDark, color.mix($surface0, $base, 64%), color.mix($mantle, $base, 70%))} !important;
|
||||
}
|
||||
}
|
|
@ -285,3 +285,4 @@ $lvl3: if($isDark, $base, $crust);
|
|||
|
||||
@import "chroma";
|
||||
@import "codemirror";
|
||||
@import "monaco";
|
||||
|
|
Loading…
Reference in a new issue