visible: root.activityData.isShareable
imageSource: "image://svgimage-custom-color/share.svg" + "/" + UserModel.currentUser.headerColor
- imageSourceHover: "image://svgimage-custom-color/share.svg" + "/" + Style.ncTextColor
+ imageSourceHover: "image://svgimage-custom-color/share.svg" + "/" + UserModel.currentUser.headerTextColor
toolTipText: qsTr("Open share dialog")
// Custom qml modules are in /theme (and included by resources.qrc)
import Style 1.0
+import com.nextcloud.desktopclient 1.0
Button {
id: root
Layout.preferredHeight: Style.trayWindowHeaderHeight
background: Rectangle {
- color: root.hovered || root.visualFocus ? "white" : "transparent"
+ color: root.hovered || root.visualFocus ? UserModel.currentUser.headerTextColor : "transparent"
opacity: 0.2
}
}
}\r
\r
background: Rectangle {\r
- color: parent.hovered || parent.visualFocus ? "white" : "transparent"\r
+ color: parent.hovered || parent.visualFocus ? UserModel.currentUser.headerTextColor : "transparent"\r
opacity: 0.2\r
}\r
\r
height: width\r
anchors.bottom: currentAccountAvatar.bottom\r
anchors.right: currentAccountAvatar.right\r
- color: currentAccountButton.hovered ? "white" : "transparent"\r
+ color: currentAccountButton.hovered ? UserModel.currentUser.headerTextColor : "transparent"\r
opacity: 0.2\r
radius: width*0.5\r
}\r
width: Style.folderStateIndicatorSize + 2\r
height: width\r
anchors.centerIn: parent\r
- color: openLocalFolderButton.hovered ? "white" : "transparent"\r
+ color: openLocalFolderButton.hovered ? UserModel.currentUser.headerTextColor : "transparent"\r
opacity: 0.2\r
radius: width*0.5\r
z: -1\r