[gnome-music/cherry-pick-6de5d66f: 2/2] data: Fix dark mode star color CSS
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/cherry-pick-6de5d66f: 2/2] data: Fix dark mode star color CSS
- Date: Tue, 18 Sep 2018 12:53:36 +0000 (UTC)
commit a3fdee858e53fb06034299594a44d4beb28728a4
Author: Marinus Schraal <mschraal gnome org>
Date: Tue Sep 18 11:56:02 2018 +0000
data: Fix dark mode star color CSS
The stars were shaded based on the background color, use an alpha of the
foreground color instead.
(cherry picked from commit 6de5d66f230464c46c0dfc441f87c3f641c387d4)
data/application.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/application.css b/data/application.css
index b1134c66..00a30653 100644
--- a/data/application.css
+++ b/data/application.css
@@ -79,12 +79,12 @@ box#ArtistAlbumsWidget .artist-label {
enable transitions between the non-starred and starred icons. */
.star {
background-image: -gtk-icontheme('non-starred-symbolic');
- color: shade(@theme_bg_color, 0.8);
+ color: alpha(@theme_fg_color, 0.3);
transition: 100ms linear;
}
.star:hover {
- color: shade(@theme_bg_color, 0.5);
+ color: alpha(@theme_fg_color, 0.6);
}
.star:selected {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]