diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 1f13b4278f..29789542a9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2336,7 +2336,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: transparentize($fg_color, 0.7); // marks color + color: gtkalpha(currentColor, 0.5); // marks color @extend %#{$we}_#{$dn}; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 62aacf4c50..4a01502ee3 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -3079,7 +3079,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(238, 238, 236, 0.3); } + color: alpha(currentColor,0.5); } .scale.scale-has-marks-below.slider { border-style: none; border-radius: 0; @@ -3133,7 +3133,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(238, 238, 236, 0.3); } + color: alpha(currentColor,0.5); } .scale.scale-has-marks-above.slider { border-style: none; border-radius: 0; @@ -3187,7 +3187,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(238, 238, 236, 0.3); } + color: alpha(currentColor,0.5); } .scale.vertical.scale-has-marks-below.slider { border-style: none; border-radius: 0; @@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(238, 238, 236, 0.3); } + color: alpha(currentColor,0.5); } .scale.vertical.scale-has-marks-above.slider { border-style: none; border-radius: 0; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 99bb8aad03..f8e5619e02 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -3241,7 +3241,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(46, 52, 54, 0.3); } + color: alpha(currentColor,0.5); } .scale.scale-has-marks-below.slider { border-style: none; border-radius: 0; @@ -3295,7 +3295,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(46, 52, 54, 0.3); } + color: alpha(currentColor,0.5); } .scale.scale-has-marks-above.slider { border-style: none; border-radius: 0; @@ -3349,7 +3349,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(46, 52, 54, 0.3); } + color: alpha(currentColor,0.5); } .scale.vertical.scale-has-marks-below.slider { border-style: none; border-radius: 0; @@ -3403,7 +3403,7 @@ GtkCheckButton.text-button, GtkRadioButton.text-button { -GtkScale-slider-length: 20; -GtkRange-slider-width: 24; -GtkRange-trough-border: 2; - color: rgba(46, 52, 54, 0.3); } + color: alpha(currentColor,0.5); } .scale.vertical.scale-has-marks-above.slider { border-style: none; border-radius: 0;