From 42b40a713d58e12eecd8b5e0c960dc866a23bf8c Mon Sep 17 00:00:00 2001 From: Diego Prado Gesto Date: Wed, 21 Mar 2018 10:34:25 +0100 Subject: [PATCH] CURA-4870 Adapt the colors of the configuration list for the Ultimaker dark theme. --- .../qml/Menus/ConfigurationMenu/ConfigurationListView.qml | 2 ++ resources/themes/cura-dark/theme.json | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml index 88173195be..331d78ead9 100644 --- a/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml +++ b/resources/qml/Menus/ConfigurationMenu/ConfigurationListView.qml @@ -30,6 +30,7 @@ Column text: catalog.i18nc("@label:header configurations", "Available configurations") font: UM.Theme.getFont("large") width: parent.width - 2 * parent.padding + color: UM.Theme.getColor("configuration_item_text") } Component @@ -42,6 +43,7 @@ Column { text: section font: UM.Theme.getFont("default_bold") + color: UM.Theme.getColor("configuration_item_text") } } } diff --git a/resources/themes/cura-dark/theme.json b/resources/themes/cura-dark/theme.json index 5fbe36fcdb..26e6c2ac8b 100644 --- a/resources/themes/cura-dark/theme.json +++ b/resources/themes/cura-dark/theme.json @@ -207,6 +207,14 @@ "layerview_support_interface": [64, 192, 255, 255], "layerview_nozzle": [181, 166, 66, 120], + "configuration_item": [0, 0, 0, 0], + "configuration_item_active": [12, 169, 227, 179], + "configuration_item_text": [255, 255, 255, 255], + "configuration_item_text_active": [255, 255, 255, 255], + "configuration_item_border": [255, 255, 255, 255], + "configuration_item_border_active": [12, 169, 227, 179], + "configuration_item_border_hover": [12, 169, 227, 179], + "material_compatibility_warning": [255, 255, 255, 255], "quality_slider_unavailable": [179, 179, 179, 255],