[gnome-logs/gnome-3-26] theme: avoid using hard-coded colors
- From: Jonathan Kang <jonathankang src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/gnome-3-26] theme: avoid using hard-coded colors
- Date: Thu, 1 Feb 2018 14:38:55 +0000 (UTC)
commit c4d29e4c0294962e7cbc43ba37d0ea7a23dfd01d
Author: Jakub Steiner <jimmac gmail com>
Date: Wed Jan 31 10:58:26 2018 +0100
theme: avoid using hard-coded colors
Use share operations instead of hardcoded colors to make it work
on Adwaita-dark.
https://bugzilla.gnome.org/show_bug.cgi?id=792152
data/gl-style.css | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/data/gl-style.css b/data/gl-style.css
index 7d98c3b..695e940 100644
--- a/data/gl-style.css
+++ b/data/gl-style.css
@@ -30,28 +30,28 @@
}
.compressed-entries-label {
- background-color: #d4d4d4;
+ background-color: shade(@borders, 1.15);
+ color: @theme_selected_fg_color;
font-size: small;
border-radius: 3px;
padding-left: 5px;
padding-right: 5px;
}
-.compressed-row {
- background-color: #fafafa;
-}
-.compressed-row:hover {
- background-color: #f0f0f0;
+.compressed-row {
+ background-color: shade(@theme_base_color, 0.95);
}
+ .compressed-row:hover {
+ background-color: shade(@theme_base_color, 0.99);
+ }
.compressed-row-header {
- background-color: #f5f5f5;
-}
-
-.compressed-row-header:hover {
- background-color: #f0f0f0;
+ background-color: @theme_base_color;
}
+ .compressed-row-header:hover {
+ background-color: shade(@theme_base_color, 1.05);
+ }
.popover-activated-row {
color: @theme_selected_fg_color;
@@ -59,5 +59,5 @@
}
.compressed-rows-group-separator {
- background-color: #d7d7d7;
+ background-color: shade(@borders,0.98);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]