mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 22:13:58 -06:00
Made the hardcoded values of ExpandableComponent themable
CURA-5785
This commit is contained in:
parent
3629e3b604
commit
6dd6f5ecc7
2 changed files with 5 additions and 4 deletions
|
@ -17,10 +17,10 @@ Item
|
|||
property var popupItem
|
||||
|
||||
// The background color of the popup
|
||||
property color popupBackgroundColor: "white"
|
||||
property color popupBackgroundColor: UM.Theme.getColor("action_button")
|
||||
|
||||
property color headerBackgroundColor: "white"
|
||||
property color headerHoverColor: "white"
|
||||
property color headerBackgroundColor: UM.Theme.getColor("action_button")
|
||||
property color headerHoverColor: UM.Theme.getColor("action_button_hovered")
|
||||
|
||||
// How much spacing is needed around the popupItem
|
||||
property alias popupPadding: popup.padding
|
||||
|
|
|
@ -75,6 +75,7 @@
|
|||
"lining": [192, 193, 194, 255],
|
||||
"viewport_overlay": [0, 0, 0, 192],
|
||||
|
||||
|
||||
"primary": [50, 130, 255, 255],
|
||||
"primary_hover": [48, 182, 231, 255],
|
||||
"primary_text": [255, 255, 255, 255],
|
||||
|
@ -157,7 +158,7 @@
|
|||
"action_button": [255, 255, 255, 255],
|
||||
"action_button_text": [0, 0, 0, 255],
|
||||
"action_button_border": [127, 127, 127, 255],
|
||||
"action_button_hovered": [255, 255, 255, 255],
|
||||
"action_button_hovered": [232, 242, 252, 255],
|
||||
"action_button_hovered_text": [31, 36, 39, 255],
|
||||
"action_button_hovered_border": [50, 130, 255, 255],
|
||||
"action_button_active": [255, 255, 255, 255],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue