Browse Source

Use the lining color to the default ouline color for the account widget.

Contributes to CURA-5784.
Diego Prado Gesto 6 years ago
parent
commit
aa75b64b5b

+ 1 - 1
resources/qml/Account/AccountDetails.qml

@@ -22,7 +22,7 @@ Column
         height: UM.Theme.getSize("avatar_image").height
         anchors.horizontalCenter: parent.horizontalCenter
         source: loggedIn ? profile["profile_image_url"] : UM.Theme.getImage("avatar_no_user")
-        outlineColor: loggedIn ? UM.Theme.getColor("account_widget_outline_active") : UM.Theme.getColor("account_widget_outline_inactive")
+        outlineColor: loggedIn ? UM.Theme.getColor("account_widget_outline_active") : UM.Theme.getColor("lining")
     }
 
     Label

+ 1 - 1
resources/qml/Account/AccountWidget.qml

@@ -26,7 +26,7 @@ Button
         anchors.horizontalCenter: accountWidget.horizontalCenter
 
         source: loggedIn ? profile["profile_image_url"] : UM.Theme.getImage("avatar_no_user")
-        outlineColor: loggedIn ? UM.Theme.getColor("account_widget_outline_active") : UM.Theme.getColor("account_widget_outline_inactive")
+        outlineColor: loggedIn ? UM.Theme.getColor("account_widget_outline_active") : UM.Theme.getColor("lining")
     }
 
     onClicked: popup.opened ? popup.close() : popup.open()

+ 0 - 1
resources/themes/cura-light/theme.json

@@ -97,7 +97,6 @@
         "main_window_header_secondary_button_outline_hovered": [255, 255, 255, 255],
 
         "account_widget_outline_active": [70, 66, 126, 255],
-        "account_widget_outline_inactive": [229, 229, 229, 255],
 
         "machine_selector_bar": [31, 36, 39, 255],
         "machine_selector_active": [68, 72, 75, 255],