themes: Issue #4095. Add a on-hover effect to the menu-item …

… radio buttons to improve their readability against dark backgrounds.

Dark theme only.
This commit is contained in:
Stanislav Grinkov 2022-04-26 17:22:16 +06:00
parent 96edeb02a4
commit b0ca7ff065
No known key found for this signature in database
GPG Key ID: F9FF16FBCBF58578
5 changed files with 33 additions and 0 deletions

View File

@ -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 \

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB