From a5c35fb244efa32da0c2cb46b68a4b5c290e12dd Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Thu, 20 Mar 2025 03:16:54 +0000 Subject: [PATCH] theme: Invert GimpSpinScale slider colors in dark mode While the slider colors match GIMP 2.10's light and grey themes, the colors in 3.0 were inverted compared to 2.10's dark mode. This patch inverts the dark mode colors to better match 2.10's version. --- themes/Default/common-dark.css | 9 +++++++++ themes/Default/common-light.css | 9 --------- themes/Default/common.css | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/themes/Default/common-dark.css b/themes/Default/common-dark.css index 7f6f488bef..b47cabc8b6 100644 --- a/themes/Default/common-dark.css +++ b/themes/Default/common-dark.css @@ -33,3 +33,12 @@ button:not(.flat) { button:not(.flat):hover { box-shadow: none; } + +/* Define GimpSpinScale slider colors */ +GimpSpinScale entry { + background-color: @widget-bg-color; +} + +GimpSpinScale entry progress { + background-color: @hover-color; +} \ No newline at end of file diff --git a/themes/Default/common-light.css b/themes/Default/common-light.css index a3110a2d04..a16892d011 100644 --- a/themes/Default/common-light.css +++ b/themes/Default/common-light.css @@ -30,12 +30,3 @@ paned.vertical > separator { button:not(.flat) { box-shadow: 0 1px @extreme-bg-color inset; } - -/* Define GimpSpinScale slider colors */ -GimpSpinScale entry { - background-color: @extreme-bg-color; -} - -GimpSpinScale entry progress { - background-color: @widget-bg-color; -} diff --git a/themes/Default/common.css b/themes/Default/common.css index d532e67caf..7bfd4640ba 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -506,16 +506,16 @@ GimpSpinScale { } GimpSpinScale entry { - padding: 0px 8px 0px 5px; - background-color: @stronger-border-color; + background-color: @extreme-bg-color; border-color: @edge-border-color; border-radius: 5px 0px 0px 5px; border-right-width: 0px; box-shadow: none; + padding: 0px 8px 0px 5px; } GimpSpinScale entry progress { - background-color: @extreme-bg-color; + background-color: @widget-bg-color; background-image: none; border-width: 0px; border-radius: 3px 0px 0px 3px;