diff options
author | Jakub Steiner <jimmac@gmail.com> | 2020-08-17 10:00:29 +0200 |
---|---|---|
committer | Jakub Steiner <jimmac@gmail.com> | 2020-08-17 12:39:58 +0200 |
commit | fca91e2c6f833d007371e52b886e9bdef9b08148 (patch) | |
tree | 95a233d2db20ffe22de9743c859c5db7fae5b720 | |
parent | a0af12e49278f3b7b96f3c5ae1d0792df99933e1 (diff) | |
download | gtk+-wip/jimmac/error-labels-insensitive.tar.gz |
Adwaita: error labels insensitive & backdrop stateswip/jimmac/error-labels-insensitive
- address colored labels for the two states
See https://gitlab.gnome.org/GNOME/gtk/-/issues/3063#note_891618
-rw-r--r-- | gtk/theme/Adwaita/_common.scss | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 429bd371f0..2fad405ba0 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -178,7 +178,10 @@ label { > selection { @extend %selected_items_disabled; } } - &.error { color: $error_color; } + &.error { + color: $error_color; + &:disabled { color: transparentize($error_color,0.5); } + } } .dim-label { |