From 78bd5520bd7ab3ab9c05f1b07cacea409e8acf41 Mon Sep 17 00:00:00 2001 From: Kostas Karmas Date: Tue, 16 Jun 2020 14:41:23 +0200 Subject: [PATCH] Add theme color for sync state icon CURA-7418 --- resources/qml/Account/SyncState.qml | 2 +- resources/themes/cura-dark/theme.json | 2 ++ resources/themes/cura-light/theme.json | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/qml/Account/SyncState.qml b/resources/qml/Account/SyncState.qml index bcf436777a..14198c1c4a 100644 --- a/resources/qml/Account/SyncState.qml +++ b/resources/qml/Account/SyncState.qml @@ -55,7 +55,7 @@ Row // Sync state icon + message height: width source: Cura.API.account.manualSyncEnabled ? UM.Theme.getIcon("update") : UM.Theme.getIcon("checked") - color: palette.text + color: UM.Theme.getColor("account_sync_state_icon") RotationAnimator { diff --git a/resources/themes/cura-dark/theme.json b/resources/themes/cura-dark/theme.json index 37c2462633..69bd14765a 100644 --- a/resources/themes/cura-dark/theme.json +++ b/resources/themes/cura-dark/theme.json @@ -24,6 +24,8 @@ "main_window_header_button_text_inactive": [128, 128, 128, 255], + "account_sync_state_icon": [255, 255, 255, 204], + "machine_selector_bar": [39, 44, 48, 255], "machine_selector_active": [39, 44, 48, 255], "machine_selector_printer_icon": [204, 204, 204, 255], diff --git a/resources/themes/cura-light/theme.json b/resources/themes/cura-light/theme.json index 0bc09701b2..cab2dfe89c 100644 --- a/resources/themes/cura-light/theme.json +++ b/resources/themes/cura-light/theme.json @@ -183,6 +183,7 @@ "main_window_header_button_background_hovered": [117, 114, 159, 255], "account_widget_outline_active": [70, 66, 126, 255], + "account_sync_state_icon": [25, 25, 25, 255], "machine_selector_bar": [31, 36, 39, 255], "machine_selector_active": [68, 72, 75, 255],