Browse Source

Add theme color for sync state icon

CURA-7418
Kostas Karmas 4 years ago
parent
commit
78bd5520bd

+ 1 - 1
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
         {

+ 2 - 0
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],

+ 1 - 0
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],