修复暗色主题下find高亮时光标看不清的问题

This commit is contained in:
xiaoqi.cxq 2022-09-08 00:12:47 +08:00
parent f5b4627083
commit a6493a41da
2 changed files with 5 additions and 0 deletions

View File

@ -383,6 +383,10 @@ export default {
.find-replace-highlighting {
background-color: $highlighting-color;
color: $editor-color-light !important;
.app--dark & {
background-color: $dark-highlighting-color;
}
}
.find-replace-selection {

View File

@ -8,6 +8,7 @@ $line-height-base: 1.67;
$line-height-title: 1.33;
$font-size-monospace: 0.85em;
$highlighting-color: #ff0;
$dark-highlighting-color: rgba(255, 255, 0, 0.6);
$selection-highlighting-color: #ffb067;
$info-bg: #ffad3326;
$code-border-radius: 3px;