Browse Source

theme: refine styles

Le Tan 7 years ago
parent
commit
85187fd53b

+ 5 - 5
src/resources/themes/v_detorte/v_detorte.mdhl

@@ -40,20 +40,20 @@ preview-image-line-foreground: 6f5799
 # [VNote] Style for preview image (useful for SVG in dark theme)
 preview-image-background: 949494
 # [VNote] Style for MathJax
-mathjax-foreground: 4db6ac
+mathjax-foreground: 93d3cc
 
 editor-selection
 foreground: dadada
 background: 1976d2
 
 editor-current-line
-background: 585858
+background: 363636
 # [VNote] Vim insert mode cursor line background
-vim-insert-background: 585858
+vim-insert-background: 363636
 # [VNote] Vim normal mode cursor line background
-vim-normal-background: 58586c
+vim-normal-background: 585858
 # [VNote] Vim visual mode cursor line background
-vim-visual-background: 654714
+vim-visual-background: 484f5d
 # [VNote] Vim replace mode cursor line background
 vim-replace-background: 2f3377
 

+ 2 - 0
src/resources/themes/v_detorte/v_detorte.qss

@@ -596,10 +596,12 @@ VSelectorItemWidget QLabel[SelectorItemShortcutLabel="true"] {
 }
 
 VDoubleRowItemWidget QLabel[FirstRowLabel="true"] {
+    border: none;
     font-size: 10pt;
 }
 
 VDoubleRowItemWidget QLabel[SecondRowLabel="true"] {
+    border: none;
     font-size: 9pt;
     color: @doublerowitem_second_row_label_fg;
 }

+ 7 - 7
src/resources/themes/v_moonlight/v_moonlight.palette

@@ -18,12 +18,12 @@ css_color_mapping=#abb2bf:#222222,#282c34:#f5f5f5,#61afef:#0099ff,#98c379:#8e24a
 [phony]
 ; Abstract color attributes.
 master_fg=@edit_fg
-master_bg=#00695C
-master_light_bg=#4DB6AC
-master_dark_bg=#004D40
-master_focus_bg=#00796B
-master_hover_bg=#00796B
-master_pressed_bg=#004D40
+master_bg=#5768c4
+master_light_bg=#7482CF
+master_dark_bg=#3f51b5
+master_focus_bg=#3a4aa6
+master_hover_bg=#6575ca
+master_pressed_bg=#354498
 
 base_fg=#9DA5B4
 base_bg=#21252B
@@ -364,4 +364,4 @@ progressbar_chunk_bg=@master_dark_bg
 universalentry_bg=@base_bg
 universalentry_border_bg=@border_bg
 
-doublerowitem_second_row_label_fg=#6C6C6C
+doublerowitem_second_row_label_fg=#808080

+ 2 - 0
src/resources/themes/v_moonlight/v_moonlight.qss

@@ -596,10 +596,12 @@ VSelectorItemWidget QLabel[SelectorItemShortcutLabel="true"] {
 }
 
 VDoubleRowItemWidget QLabel[FirstRowLabel="true"] {
+    border: none;
     font-size: 10pt;
 }
 
 VDoubleRowItemWidget QLabel[SecondRowLabel="true"] {
+    border: none;
     font-size: 9pt;
     color: @doublerowitem_second_row_label_fg;
 }

+ 2 - 0
src/resources/themes/v_pure/v_pure.qss

@@ -596,10 +596,12 @@ VSelectorItemWidget QLabel[SelectorItemShortcutLabel="true"] {
 }
 
 VDoubleRowItemWidget QLabel[FirstRowLabel="true"] {
+    border: none;
     font-size: 10pt;
 }
 
 VDoubleRowItemWidget QLabel[SecondRowLabel="true"] {
+    border: none;
     font-size: 9pt;
     color: @doublerowitem_second_row_label_fg;
 }

+ 1 - 0
src/vuetitlecontentpanel.cpp

@@ -19,6 +19,7 @@ VUETitleContentPanel::VUETitleContentPanel(QWidget *p_contentWidget,
     layout->addWidget(p_contentWidget);
 
     layout->setContentsMargins(0, 0, 0, 0);
+    layout->setSpacing(0);
 
     setLayout(layout);
 }