[gitg] Make the hunk color like github's one and improve dark version
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Make the hunk color like github's one and improve dark version
- Date: Mon, 21 Dec 2015 07:35:51 +0000 (UTC)
commit 227a60e185e592822c2d1537bc25fedff996d47a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Dec 21 08:35:29 2015 +0100
Make the hunk color like github's one and improve dark version
libgitg/gitg-diff-view-file.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-file.vala b/libgitg/gitg-diff-view-file.vala
index 3d48bf9..4be05f2 100644
--- a/libgitg/gitg-diff-view-file.vala
+++ b/libgitg/gitg-diff-view-file.vala
@@ -227,13 +227,13 @@ class Gitg.DiffViewFile : Gtk.Grid
if (settings.gtk_application_prefer_dark_theme)
{
- header_attributes.background = Gdk.RGBA() { red = 224.0 / 255.0, green = 239.0 /
255.0, blue = 1.0, alpha = 1.0 };
+ header_attributes.background = Gdk.RGBA() { red = 136.0 / 255.0, green = 138.0 /
255.0, blue = 133.0 / 255.0, alpha = 1.0 };
added_attributes.background = Gdk.RGBA() { red = 164.0 / 255.0, green = 0.0, blue =
0.0, alpha = 1.0 };
removed_attributes.background = Gdk.RGBA() { red = 78.0 / 255.0, green = 154.0 /
255.0, blue = 6.0 / 255.0, alpha = 1.0 };
}
else
{
- header_attributes.background = Gdk.RGBA() { red = 224.0 / 255.0, green = 239.0 /
255.0, blue = 1.0, alpha = 1.0 };
+ header_attributes.background = Gdk.RGBA() { red = 244.0 / 255.0, green = 247.0 /
255.0, blue = 251.0 / 255.0, alpha = 1.0 };
added_attributes.background = Gdk.RGBA() { red = 220.0 / 255.0, green = 1.0, blue =
220.0 / 255.0, alpha = 1.0 };
removed_attributes.background = Gdk.RGBA() { red = 1.0, green = 220.0 / 255.0, blue =
220.0 / 255.0, alpha = 1.0 };
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]