Skip to content

Commit 5588153

Browse files
author
elonz
committed
Mod: 调整黑色主题的当前行的背景色,使其更亮,易于分辨
Change-Id: I45f15be0ea4558c05a03f4feab70411875e64d91
1 parent 8f336eb commit 5588153

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/compile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function compilerForMWeb4({ filePath }) {
335335
// t.editor.selectionColor // 编辑器选择的文字的背景颜色
336336
t.editor.currentLineBgColor = adjust(
337337
getColor("$body-bg-color"),
338-
isDark ? 10 : -10
338+
isDark ? 20 : -10
339339
).slice(1); // 编辑器当前行的背景颜色
340340
let headColor = getColor("$head-color", getColor("$font-color")); // 标题 1~6
341341
t.h1.color = headColor;

0 commit comments

Comments
 (0)