Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
bd5e8be1c0

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

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

+ 1 - 1
src/resources/vnote.ini

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

+ 2 - 2
src/vconfigmanager.cpp

@@ -331,8 +331,8 @@ QString VConfigManager::getLogFilePath()
 void VConfigManager::updateMarkdownEditStyle()
 void VConfigManager::updateMarkdownEditStyle()
 {
 {
     static const QString defaultCurrentLineBackground = "#C5CAE9";
     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 defaultVimVisualBg = "#90CAF9";
     static const QString defaultVimReplaceBg = "#F8BBD0";
     static const QString defaultVimReplaceBg = "#F8BBD0";
     static const QString defaultTrailingSpaceBackground = "#FFEBEE";
     static const QString defaultTrailingSpaceBackground = "#FFEBEE";