[gimp/gimp-2-10] themes: Issue #4095. Add a on-hover effect to the menu-item …



commit b0ca7ff065e3985d9c9cf4d0db38bd6cbd1883e4
Author: Stanislav Grinkov <43956-stanislavgrinkov users noreply gitlab gnome org>
Date:   Tue Apr 26 17:22:16 2022 +0600

    themes: Issue #4095. Add a on-hover effect to the menu-item …
    
    … radio buttons to improve their readability against dark backgrounds.
    
    Dark theme only.

 themes/Dark/Makefile.am             |   3 +++
 themes/Dark/gtkrc                   |  30 ++++++++++++++++++++++++++++++
 themes/Dark/ui/option1-prelight.png | Bin 0 -> 9377 bytes
 themes/Dark/ui/option2-prelight.png | Bin 0 -> 10886 bytes
 themes/Dark/ui/option3-prelight.png | Bin 0 -> 10345 bytes
 5 files changed, 33 insertions(+)
---
diff --git a/themes/Dark/Makefile.am b/themes/Dark/Makefile.am
index f979ec62b8..6ab8dec12c 100644
--- a/themes/Dark/Makefile.am
+++ b/themes/Dark/Makefile.am
@@ -107,8 +107,11 @@ themeui_DATA =     \
        ui/notebook.png \
        ui/null.png     \
        ui/option1.png  \
+       ui/option1-prelight.png \
        ui/option2.png  \
+       ui/option2-prelight.png \
        ui/option3.png  \
+       ui/option3-prelight.png \
        ui/plus.png     \
        ui/progressbar.png      \
        ui/progressbar-trough.png       \
diff --git a/themes/Dark/gtkrc b/themes/Dark/gtkrc
index f827f5d561..75a5012ae7 100644
--- a/themes/Dark/gtkrc
+++ b/themes/Dark/gtkrc
@@ -781,6 +781,36 @@ style "gimp-dark-menu-item"
           stretch = TRUE
         }
 
+      image
+        {
+          function = OPTION
+          state = PRELIGHT
+          shadow = OUT
+          recolorable = TRUE
+          overlay_file = "ui/option1-prelight.png"
+          overlay_stretch = FALSE
+        }
+
+      image
+        {
+          function = OPTION
+          state = PRELIGHT
+          shadow = IN
+          recolorable = TRUE
+          overlay_file = "ui/option2-prelight.png"
+          overlay_stretch = FALSE
+        }
+        
+      image
+        {
+          function = OPTION
+          state = PRELIGHT
+          shadow = ETCHED_IN
+          recolorable = TRUE
+          overlay_file = "ui/option3-prelight.png"
+          overlay_stretch = FALSE
+        }
+
       image
         {
           function = OPTION
diff --git a/themes/Dark/ui/option1-prelight.png b/themes/Dark/ui/option1-prelight.png
new file mode 100644
index 0000000000..f8e50e103d
Binary files /dev/null and b/themes/Dark/ui/option1-prelight.png differ
diff --git a/themes/Dark/ui/option2-prelight.png b/themes/Dark/ui/option2-prelight.png
new file mode 100644
index 0000000000..4fbaadc159
Binary files /dev/null and b/themes/Dark/ui/option2-prelight.png differ
diff --git a/themes/Dark/ui/option3-prelight.png b/themes/Dark/ui/option3-prelight.png
new file mode 100644
index 0000000000..d2376edf09
Binary files /dev/null and b/themes/Dark/ui/option3-prelight.png differ


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