refine v_white theme

This commit is contained in:
Le Tan 2017-12-07 21:32:23 +08:00
parent f428ba19f7
commit ce1c042337
3 changed files with 12 additions and 2 deletions

View File

@ -69,10 +69,12 @@ title_icon_fg=@icon_fg
; VVimIndicator. ; VVimIndicator.
vim_indicator_key_label_fg=@base_fg vim_indicator_key_label_fg=@base_fg
vim_indicator_key_label_bg=@base_bg
vim_indicator_mode_label_fg=@base_fg vim_indicator_mode_label_fg=@base_fg
vim_indicator_cmd_edit_pending_bg=@selected_bg vim_indicator_cmd_edit_pending_bg=@selected_bg
; VTabIndicator.
tab_indicator_label_fg=@base_fg
[widgets] [widgets]
; Widget color attributes. ; Widget color attributes.
@ -113,6 +115,7 @@ toolbutton_icon_danger_fg=@danger_icon_fg
toolbox_icon_fg=@icon_fg toolbox_icon_fg=@icon_fg
; Dockwidget. ; Dockwidget.
dockwidget_title_fg=@title_fg
dockwidget_title_bg=@title_bg dockwidget_title_bg=@title_bg
dockwidget_button_hover_bg=@hover_bg dockwidget_button_hover_bg=@hover_bg

View File

@ -132,6 +132,7 @@ QToolButton::menu-arrow {
/* DockWidget */ /* DockWidget */
QDockWidget { QDockWidget {
color: @dockwidget_title_fg;
titlebar-close-icon: url(close.svg); titlebar-close-icon: url(close.svg);
titlebar-normal-icon: url(float.svg); titlebar-normal-icon: url(float.svg);
} }
@ -481,7 +482,7 @@ QLabel[MenuSeparator="true"] {
VVimIndicator QLabel[VimIndicatorKeyLabel="true"] { VVimIndicator QLabel[VimIndicatorKeyLabel="true"] {
font: bold; font: bold;
color: @vim_indicator_key_label_fg; color: @vim_indicator_key_label_fg;
background: @vim_indicator_key_label_bg; background: transparent;
} }
VVimIndicator QLabel[VimIndicatorModeLabel="true"] { VVimIndicator QLabel[VimIndicatorModeLabel="true"] {
@ -490,6 +491,11 @@ VVimIndicator QLabel[VimIndicatorModeLabel="true"] {
color: @vim_indicator_mode_label_fg; color: @vim_indicator_mode_label_fg;
/* background color will be controlled by the code. */ /* background color will be controlled by the code. */
} }
VTabIndicator QLabel[TabIndicatorLabel="true"] {
color: @tab_indicator_label_fg;
background: transparent;
}
/* End QLabel */ /* End QLabel */
/* QLineEdit */ /* QLineEdit */

View File

@ -31,6 +31,7 @@ void VTabIndicator::setupUI()
m_systemLabel->setProperty("ColorGreenLabel", true); m_systemLabel->setProperty("ColorGreenLabel", true);
m_cursorLabel = new QLabel(this); m_cursorLabel = new QLabel(this);
m_cursorLabel->setProperty("TabIndicatorLabel", true);
QHBoxLayout *mainLayout = new QHBoxLayout(this); QHBoxLayout *mainLayout = new QHBoxLayout(this);
mainLayout->addWidget(m_cursorLabel); mainLayout->addWidget(m_cursorLabel);