Skip to content

Commit

Permalink
#1949 Code-mirror-replacement text and highlighting doesn't look corr…
Browse files Browse the repository at this point in the history
…ect in dark mode (#1950)

Signed-off-by: Veena S <[email protected]>
  • Loading branch information
veenas1 authored May 21, 2024
1 parent 799878c commit d1c7dad
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,17 @@
}
}

.cm-activeLine {
background-color: $background-selected; // works for both dark n light
}
.cm-activeLineGutter {
background-color: $text-placeholder;
color: $text-inverse;
}
&.cm-focused .cm-selectionBackground, ::selection {
/* stylelint-disable-next-line declaration-no-important */
background: $support-info-inverse !important; // add !important to override the selected text style
}
.cm-tooltip-autocomplete {
z-index: 1110;
ul {
Expand Down

0 comments on commit d1c7dad

Please sign in to comment.