Update highlight colors

CURA-8688
This commit is contained in:
j.delarago 2022-03-01 12:33:19 +01:00
parent 862525bc90
commit ac907ca451
5 changed files with 11 additions and 6 deletions

View file

@ -30,8 +30,8 @@ Item
property color contentBackgroundColor: UM.Theme.getColor("action_button") property color contentBackgroundColor: UM.Theme.getColor("action_button")
property color headerBackgroundColor: UM.Theme.getColor("action_button") property color headerBackgroundColor: UM.Theme.getColor("action_button")
property color headerActiveColor: UM.Theme.getColor("secondary") property color headerActiveColor: UM.Theme.getColor("expandable_active")
property color headerHoverColor: UM.Theme.getColor("action_button_hovered") property color headerHoverColor: UM.Theme.getColor("expandable_hover")
property alias enabled: mouseArea.enabled property alias enabled: mouseArea.enabled

View file

@ -16,7 +16,7 @@ Cura.RoundedRectangle
property alias xPosCloseButton: closeButton.left property alias xPosCloseButton: closeButton.left
height: UM.Theme.getSize("expandable_component_content_header").height height: UM.Theme.getSize("expandable_component_content_header").height
color: UM.Theme.getColor("secondary") color: UM.Theme.getColor("background_1")
cornerSide: Cura.RoundedRectangle.Direction.Up cornerSide: Cura.RoundedRectangle.Direction.Up
border.width: UM.Theme.getSize("default_lining").width border.width: UM.Theme.getSize("default_lining").width
border.color: UM.Theme.getColor("lining") border.color: UM.Theme.getColor("lining")
@ -27,7 +27,6 @@ Cura.RoundedRectangle
id: headerLabel id: headerLabel
text: "" text: ""
font: UM.Theme.getFont("medium") font: UM.Theme.getFont("medium")
color: UM.Theme.getColor("small_button_text")
height: parent.height height: parent.height
anchors anchors

View file

@ -30,8 +30,8 @@ Item
property color contentBackgroundColor: UM.Theme.getColor("action_button") property color contentBackgroundColor: UM.Theme.getColor("action_button")
property color headerBackgroundColor: UM.Theme.getColor("action_button") property color headerBackgroundColor: UM.Theme.getColor("action_button")
property color headerActiveColor: UM.Theme.getColor("secondary") property color headerActiveColor: UM.Theme.getColor("expandable_active")
property color headerHoverColor: UM.Theme.getColor("action_button_hovered") property color headerHoverColor: UM.Theme.getColor("expandable_hover")
property alias mouseArea: headerMouseArea property alias mouseArea: headerMouseArea
property alias enabled: headerMouseArea.enabled property alias enabled: headerMouseArea.enabled

View file

@ -39,6 +39,9 @@
"primary_text": "text_default", "primary_text": "text_default",
"secondary": [95, 95, 95, 255], "secondary": [95, 95, 95, 255],
"expandable_active": "background_2",
"expandable_hover": "background_2",
"secondary_button": "background_1", "secondary_button": "background_1",
"secondary_button_hover": "background_3", "secondary_button_hover": "background_3",
"secondary_button_text": [255, 255, 255, 255], "secondary_button_text": [255, 255, 255, 255],

View file

@ -208,6 +208,9 @@
"border_field": [180, 180, 180, 255], "border_field": [180, 180, 180, 255],
"secondary": [240, 240, 240, 255], "secondary": [240, 240, 240, 255],
"expandable_active": [240, 240, 240, 255],
"expandable_hover": [232, 242, 252, 255],
"icon": [8, 7, 63, 255], "icon": [8, 7, 63, 255],
"primary_button": "accent_1", "primary_button": "accent_1",