浏览代码

change default background color of cursor line in Vim Insert/Normal mode

It is too hard to find some suitable color for all 4 backgrounds.
Le Tan 8 年之前
父节点
当前提交
bd5e8be1c0
共有 3 个文件被更改,包括 5 次插入5 次删除
  1. 2 2
      src/resources/styles/default.mdhl
  2. 1 1
      src/resources/vnote.ini
  3. 2 2
      src/vconfigmanager.cpp

+ 2 - 2
src/resources/styles/default.mdhl

@@ -14,8 +14,8 @@ background: 005fff
 
 editor-current-line
 background: c5cae9
-vim-insert-background: e1bee7
-vim-normal-background: a5d6a7
+vim-insert-background: cdc0b0
+vim-normal-background: b0bec5
 vim-visual-background: 90caf9
 vim-replace-background: f8bbd0
 

+ 1 - 1
src/resources/vnote.ini

@@ -57,7 +57,7 @@ tools_dock_checked=true
 2\name=Green
 2\rgb=CCE8CF
 3\name=Wheat2
-3\rgb=EED8AE
+3\rgb=DFC7B2
 4\name=LightGrey
 4\rgb=D3D3D3
 size=4

+ 2 - 2
src/vconfigmanager.cpp

@@ -331,8 +331,8 @@ QString VConfigManager::getLogFilePath()
 void VConfigManager::updateMarkdownEditStyle()
 {
     static const QString defaultCurrentLineBackground = "#C5CAE9";
-    static const QString defaultVimNormalBg = "#A5D6A7";
-    static const QString defaultVimInsertBg = "#E1BEE7";
+    static const QString defaultVimNormalBg = "#B0BEC5";
+    static const QString defaultVimInsertBg = "#CDC0B0";
     static const QString defaultVimVisualBg = "#90CAF9";
     static const QString defaultVimReplaceBg = "#F8BBD0";
     static const QString defaultTrailingSpaceBackground = "#FFEBEE";