Adjust disabled extruder colour

This also introduces a more global 'disabled' colour as defined by the style guide. I hope that we can gradually transition to this one, but we'll have to adjust some colours here and there.

Contributes to issue CURA-5876.
This commit is contained in:
Ghostkeeper 2018-12-07 15:38:08 +01:00
parent 6a7bbe5bdb
commit b565b111c8
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 3 additions and 1 deletions

View file

@ -23,7 +23,7 @@ Item
anchors.fill: parent
source: UM.Theme.getIcon("extruder_button")
color: extruderEnabled ? materialColor: "gray"
color: extruderEnabled ? materialColor: UM.Theme.getColor("disabled")
}
Rectangle

View file

@ -35,6 +35,7 @@
"text_scene_hover": [255, 255, 255, 204],
"error": [212, 31, 53, 255],
"disabled": [32, 32, 32, 255],
"button": [39, 44, 48, 255],
"button_hover": [39, 44, 48, 255],

View file

@ -129,6 +129,7 @@
"error": [255, 140, 0, 255],
"warning": [245, 166, 35, 255],
"disabled": [229, 229, 229, 255],
"toolbar_button_text": [8, 7, 63, 255],
"toolbar_button_hover": [232, 242, 252, 255],