[longomatch] Fix entries focus and text selection colors
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Fix entries focus and text selection colors
- Date: Tue, 11 Nov 2014 17:59:31 +0000 (UTC)
commit b46b9ff736bd3c5d2b64e16c528d8f5af20df072
Author: Julien Moutte <julien fluendo com>
Date: Mon Nov 10 11:57:52 2014 +0100
Fix entries focus and text selection colors
data/theme/gtk-2.0/entry.rc | 13 +++++++++++--
data/theme/gtk-2.0/gtkrc | 2 +-
2 files changed, 12 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gtk-2.0/entry.rc b/data/theme/gtk-2.0/entry.rc
index 427a082..1d752ff 100644
--- a/data/theme/gtk-2.0/entry.rc
+++ b/data/theme/gtk-2.0/entry.rc
@@ -7,15 +7,24 @@ style "longomatch-default-entry" = "longomatch-default" {
base[NORMAL] = @bg_dark_color
base[INSENSITIVE] = darker (@bg_dark_color)
+ # Text selection with Focus
+ base[SELECTED] = @text_selection_color
+ # Text selection without Focus
+ base[ACTIVE] = @text_selection_color
- text[NORMAL] = @text_color
- text[INSENSITIVE] = darker (@text_color)
+ text[NORMAL] = @text_color
+ text[INSENSITIVE] = darker (@text_color)
+ # With Focus
+ text[SELECTED] = @selected_text_color
+ # Without Focus
+ text[ACTIVE] = @selected_text_color_no_focus
}
style "longomatch-entry" = "longomatch-default-entry" {
engine "clearlooks"
{
radius = 1.0
+ focus_color = "#50b44d"
}
}
diff --git a/data/theme/gtk-2.0/gtkrc b/data/theme/gtk-2.0/gtkrc
index 1d48f42..5d78ac1 100644
--- a/data/theme/gtk-2.0/gtkrc
+++ b/data/theme/gtk-2.0/gtkrc
@@ -4,7 +4,7 @@ gtk-icon-theme-name = "longomatch"
gtk-icon-sizes =
"gtk-menu=13,13:gtk-small-toolbar=24,24:gtk-large-toolbar=24,24:gtk-dnd=80,80:gtk-dialog=80,80"
gtk-toolbar-icon-size = small-toolbar
-gtk-color-scheme =
"bg_color:#252627\nbg_light_color:#3b3b3b\nbg_dark_color:#151a20\nselected_color:#f3f3f3\nactive_color:#50b44d\ntool_color:#c42527\nbase_color:#6a6a6a\ntext_color:#f6f6f6"
+gtk-color-scheme =
"bg_color:#252627\nbg_light_color:#3b3b3b\nbg_dark_color:#151a20\nselected_color:#f3f3f3\nactive_color:#50b44d\ntool_color:#c42527\nbase_color:#6a6a6a\ntext_color:#f6f6f6\nselected_text_color:#f6f6f6\nselected_text_color_no_focus:#151a20\ntext_selection_color:#6a6a6a\nfocus_color:#50b44d"
# enable/disable images in menus. most "stock" microsoft apps don't use these, except sparingly.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]