From 51a8abb8d81835fb8578e5db224e2faa97b3dc51 Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 10 Jun 2015 10:39:25 -0400 Subject: Adjust the themes to use the PRIMARY colors instead of the ACCENT colors for desktop plugin shaders/backgrounds. This ensures a uniformity with the panel appearance (when the panel is following the theme). Also add an entry for the new systemmonitor plugin. --- libLumina/themes/Lumina-default.qss.template | 15 ++++++++++----- libLumina/themes/None.qss.template | 17 +++++++++++------ 2 files changed, 21 insertions(+), 11 deletions(-) (limited to 'libLumina') diff --git a/libLumina/themes/Lumina-default.qss.template b/libLumina/themes/Lumina-default.qss.template index 84924b2d..4d0e0a13 100644 --- a/libLumina/themes/Lumina-default.qss.template +++ b/libLumina/themes/Lumina-default.qss.template @@ -31,16 +31,21 @@ LDPlugin#notepad{ border-radius: 5px; } +LDPlugin#systemmonitor{ + background: %%BASECOLOR%%; + border-radius: 5px; +} + LDPlugin#applauncher QToolButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 transparent, stop: 0.7 transparent, - stop: 1.0 %%ACCENTDISABLECOLOR%%); + stop: 1.0 %%PRIMARYDISABLECOLOR%%); border-radius: 5px; - color: %%TEXTDISABLECOLOR%%; + color: %%TEXTCOLOR%%; } LDPlugin#applauncher QToolButton:hover{ - background: %%ACCENTDISABLECOLOR%%; + background: %%PRIMARYDISABLECOLOR%%; border-radius: 5px; color: %%TEXTHIGHLIGHTCOLOR%%; } @@ -53,9 +58,9 @@ LDPlugin#desktopview QListWidget::item{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 transparent, stop: 0.7 transparent, - stop: 1.0 %%ACCENTDISABLECOLOR%%); + stop: 1.0 %%PRIMARYDISABLECOLOR%%); border-radius: 5px; - color: %%TEXTDISABLECOLOR%%; + color: %%TEXTCOLOR%%; } LDPlugin#desktopview QListWidget::item:hover{ diff --git a/libLumina/themes/None.qss.template b/libLumina/themes/None.qss.template index 2f3503ce..57dd84e4 100644 --- a/libLumina/themes/None.qss.template +++ b/libLumina/themes/None.qss.template @@ -29,16 +29,21 @@ LDPlugin#notepad{ border-radius: 5px; } +LDPlugin#systemmonitor{ + background: %%BASECOLOR%%; + border-radius: 5px; +} + LDPlugin#applauncher QToolButton{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 transparent, stop: 0.7 transparent, - stop: 1.0 %%ACCENTDISABLECOLOR%%); + stop: 1.0 %%PRIMARYDISABLECOLOR%%); border-radius: 5px; - color: %%TEXTDISABLECOLOR%%; + color: %%TEXTCOLOR%%; } LDPlugin#applauncher QToolButton:hover{ - background: %%ACCENTDISABLECOLOR%%; + background: %%PRIMARYDISABLECOLOR%%; border-radius: 5px; color: %%TEXTHIGHLIGHTCOLOR%%; } @@ -51,13 +56,13 @@ LDPlugin#desktopview QListWidget::item{ background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 transparent, stop: 0.7 transparent, - stop: 1.0 %%ACCENTDISABLECOLOR%%); + stop: 1.0 %%PRIMARYDISABLECOLOR%%); border-radius: 5px; - color: %%TEXTDISABLECOLOR%%; + color: %%TEXTCOLOR%%; } LDPlugin#desktopview QListWidget::item:hover{ - background: %%ACCENTDISABLECOLOR%%; + background: %%PRIMARYDISABLECOLOR%%; border-radius: 5px; color: %%TEXTHIGHLIGHTCOLOR%%; } -- cgit