[gimp/gimp-2-10] themes: add hyperlink coloring to themes.



commit 8ac06e201ae7a41f52e8f531d3fb2f5a0cc3b410
Author: Stanislav Grinkov <43956-stanislavgrinkov users noreply gitlab gnome org>
Date:   Fri Aug 6 20:45:53 2021 +0600

    themes: add hyperlink coloring to themes.
    
    to fix 'bad' eye-straining link color in About dialog.
    
    Resolves: #6730

 themes/Dark/gtkrc  | 9 +++++++++
 themes/Gray/gtkrc  | 9 +++++++++
 themes/Light/gtkrc | 9 +++++++++
 3 files changed, 27 insertions(+)
---
diff --git a/themes/Dark/gtkrc b/themes/Dark/gtkrc
index c70092922f..fa86c4a0ea 100644
--- a/themes/Dark/gtkrc
+++ b/themes/Dark/gtkrc
@@ -77,6 +77,8 @@ style "gimp-dark-default-style"
   color["clr8"]  = "#383838"
   color["clr9"]  = "#454545"
   color["clrA"]  = "#303030"
+  color["link_color"]         = "#6fa4dc"
+  color["visited_link_color"] = "#1a74d3"
 
   fg[NORMAL] = @clr1
   fg[PRELIGHT] = @clr2
@@ -134,6 +136,13 @@ style "gimp-dark-default-style"
   GtkComboBoxText::appears-as-list = 0
   GtkComboBox::appears-as-list = 0
 
+  GnomeHRef ::link_color         = @link_color
+  GtkHTML   ::link-color         = @link_color
+  GtkIMHtmlr::hyperlink-color    = @link_color
+  GtkIMHtml ::hyperlink-color    = @link_color
+  GtkWidget ::link-color         = @link_color
+  GtkWidget ::visited-link-color = @visited_link_color
+
   #
   # To adjust to default button spacing:
   #
diff --git a/themes/Gray/gtkrc b/themes/Gray/gtkrc
index e860ca51fc..c94ff7d038 100644
--- a/themes/Gray/gtkrc
+++ b/themes/Gray/gtkrc
@@ -77,6 +77,8 @@ style "sogg-default-style"
   color["clr8"] = "#DDDDDD"
   color["clr9"] = "#B2B2B2"
   color["clr10"] = "#000000"
+  color["link_color"]         = "#71a8f7"
+  color["visited_link_color"] = "#43bfe1"
 
   fg[NORMAL] = @clr2
   fg[PRELIGHT] = @clr10
@@ -134,6 +136,13 @@ style "sogg-default-style"
   GtkComboBoxText::appears-as-list = 0
   GtkComboBox::appears-as-list = 0
 
+  GnomeHRef ::link_color         = @link_color
+  GtkHTML   ::link-color         = @link_color
+  GtkIMHtmlr::hyperlink-color    = @link_color
+  GtkIMHtml ::hyperlink-color    = @link_color
+  GtkWidget ::link-color         = @link_color
+  GtkWidget ::visited-link-color = @visited_link_color
+
   #
   # To adjust to default button spacing:
   #
diff --git a/themes/Light/gtkrc b/themes/Light/gtkrc
index 14f374c026..09c7861313 100644
--- a/themes/Light/gtkrc
+++ b/themes/Light/gtkrc
@@ -77,6 +77,8 @@ style "tlsog-default-style"
   color["clr8"] = "#DDDDDD"
   color["clr9"] = "#B2B2B2"
   color["clr10"] = "#000000"
+  color["link_color"]         = "#5d81e3"
+  color["visited_link_color"] = "#1a74d3"
 
   fg[NORMAL] = @clr3
   fg[PRELIGHT] = @clr10
@@ -134,6 +136,13 @@ style "tlsog-default-style"
   GtkComboBoxEntry::appears-as-list = 0
   GtkComboBoxText::appears-as-list = 0
 
+  GnomeHRef ::link_color         = @link_color
+  GtkHTML   ::link-color         = @link_color
+  GtkIMHtmlr::hyperlink-color    = @link_color
+  GtkIMHtml ::hyperlink-color    = @link_color
+  GtkWidget ::link-color         = @link_color
+  GtkWidget ::visited-link-color = @visited_link_color
+
   #
   # To adjust to default button spacing:
   #


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]