From f9fcbf249226b46b43a237f2f796e2203e02b422 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 5 Jul 2021 15:19:15 +0200 Subject: [PATCH] Add new colour for background of the printer connectivity badge This should be different from the background colour in case of the dark theme. The design asks for a white background for the badge in the dark theme. Contributes to issue CURA-8247. --- resources/qml/PrinterSelector/MachineSelector.qml | 2 +- resources/themes/cura-light/theme.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/qml/PrinterSelector/MachineSelector.qml b/resources/qml/PrinterSelector/MachineSelector.qml index 56728aeea0..6e2dfdbdce 100644 --- a/resources/qml/PrinterSelector/MachineSelector.qml +++ b/resources/qml/PrinterSelector/MachineSelector.qml @@ -150,7 +150,7 @@ Cura.ExpandablePopup width: parent.width + 2 * UM.Theme.getSize("default_lining").width height: parent.height + 2 * UM.Theme.getSize("default_lining").height radius: Math.round(width / 2) - color: UM.Theme.getColor("main_background") + color: UM.Theme.getColor("connection_badge_background") z: parent.z - 1 } diff --git a/resources/themes/cura-light/theme.json b/resources/themes/cura-light/theme.json index 5245d21455..d2c0f6929b 100644 --- a/resources/themes/cura-light/theme.json +++ b/resources/themes/cura-light/theme.json @@ -445,7 +445,8 @@ "monitor_carousel_dot": [216, 216, 216, 255], "monitor_carousel_dot_current": [119, 119, 119, 255], - "cloud_unavailable": [153, 153, 153, 255] + "cloud_unavailable": [153, 153, 153, 255], + "connection_badge_background": [255, 255, 255, 255] }, "sizes": {