From 24a8edd2ae955a968acf40356c5aa772b83b7dbf Mon Sep 17 00:00:00 2001 From: Arjen Hiemstra Date: Wed, 3 Jun 2015 21:00:58 +0200 Subject: [PATCH] Make button tooltip text use the dark color from the palette This fixes a regression where tooltip text was white --- resources/themes/cura/styles.qml | 2 +- resources/themes/cura/theme.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index 9e9cc11e42..dc2b80d2ad 100644 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -73,7 +73,7 @@ QtObject { anchors.horizontalCenter: parent.horizontalCenter; text: control.text; font: UM.Theme.fonts.button_tooltip; - color: UM.Theme.colors.button_text; + color: UM.Theme.colors.button_tooltip_text; } } } diff --git a/resources/themes/cura/theme.json b/resources/themes/cura/theme.json index f73360d439..a79636aece 100644 --- a/resources/themes/cura/theme.json +++ b/resources/themes/cura/theme.json @@ -63,6 +63,7 @@ "button_active_hover": [34, 150, 190, 255], "button_text": [255, 255, 255, 255], "button_disabled": [245, 245, 245, 255], + "button_tooltip_text": [35, 35, 35, 255], "scrollbar_background": [245, 245, 245, 255], "scrollbar_handle": [205, 202, 201, 255],