mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Made the hardcoded values of ExpandableComponent themable
CURA-5785
This commit is contained in:
parent
3629e3b604
commit
6dd6f5ecc7
@ -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…
x
Reference in New Issue
Block a user