mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Add color theming to monitor tab
Contributes to CL-1212
This commit is contained in:
parent
406ef20802
commit
bc9831abd1
18 changed files with 144 additions and 131 deletions
|
@ -32,14 +32,14 @@ Item
|
|||
Rectangle {
|
||||
id: background
|
||||
anchors.fill: parent
|
||||
color: printerNameLabel.visible ? "#e4e4f2" : "#eeeeee"// TODO: Theme!
|
||||
color: printerNameLabel.visible ? UM.Theme.getColor("monitor_printer_family_tag") : UM.Theme.getColor("monitor_skeleton_loading")
|
||||
radius: 2 * screenScaleFactor // TODO: Theme!
|
||||
}
|
||||
|
||||
Label {
|
||||
id: printerNameLabel
|
||||
anchors.centerIn: parent
|
||||
color: "#535369" // TODO: Theme!
|
||||
color: UM.Theme.getColor("monitor_text_primary")
|
||||
text: tagText
|
||||
font.pointSize: 10 // TODO: Theme!
|
||||
visible: text !== ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue