cache: true
- source: "image://svgimage-custom-color/folder.svg/"
+ source: "image://svgimage-custom-color/folder.svg/" + palette.windowText
sourceSize {
width: imageWidth
height: imageHeight
cache: true
- source: "image://svgimage-custom-color/caret-down.svg/"
+ source: "image://svgimage-custom-color/caret-down.svg/" + palette.windowText
sourceSize {
width: openLocalFolderButtonCaretIconLoader.imageWidth
height: openLocalFolderButtonCaretIconLoader.imageHeight
subline: model.modelData.parentPath
width: foldersMenuListView.width
height: Style.standardPrimaryButtonHeight
- backgroundIconSource: "image://svgimage-custom-color/folder.svg/"
+ backgroundIconSource: "image://svgimage-custom-color/folder.svg/" + palette.windowText
iconSource: isGroupFolder
- ? "image://svgimage-custom-color/account-group.svg/"
+ ? "image://svgimage-custom-color/account-group.svg/" + palette.windowText
: ""
onTriggered: {
}\r
}\r
\r
- ColorOverlay {\r
- cached: true\r
- width: source.width\r
- height: source.height\r
- source: Image {\r
- Layout.alignment: Qt.AlignRight\r
- verticalAlignment: Qt.AlignCenter\r
- Layout.margins: Style.accountDropDownCaretMargin\r
- source: "image://svgimage-custom-color/caret-down.svg/"\r
- sourceSize.width: Style.accountDropDownCaretSize\r
- sourceSize.height: Style.accountDropDownCaretSize\r
- Accessible.role: Accessible.PopupMenu\r
- Accessible.name: qsTr("Account switcher and settings menu")\r
- }\r
+ Image {\r
+ Layout.alignment: Qt.AlignRight\r
+ verticalAlignment: Qt.AlignCenter\r
+ Layout.margins: Style.accountDropDownCaretMargin\r
+ source: "image://svgimage-custom-color/caret-down.svg/" + palette.windowText\r
+ sourceSize.width: Style.accountDropDownCaretSize\r
+ sourceSize.height: Style.accountDropDownCaretSize\r
+ Accessible.role: Accessible.PopupMenu\r
+ Accessible.name: qsTr("Account switcher and settings menu")\r
}\r
}\r
}\r
\r
HeaderButton {\r
id: trayWindowAppsButton\r
- icon.source: "image://svgimage-custom-color/more-apps.svg/"\r
+ icon.source: "image://svgimage-custom-color/more-apps.svg/" + palette.windowText\r
\r
onClicked: {\r
if(appsMenuListView.count <= 0) {\r
text: model.appName\r
font.pixelSize: Style.topLinePixelSize\r
icon.source: model.appIconUrl\r
+ icon.color: palette.windowText\r
onTriggered: UserAppsModel.openAppUrl(appUrl)\r
hoverEnabled: true\r
Accessible.role: Accessible.MenuItem\r
};
const auto generateIconPath = [&]() {
- auto colorIconPath = QStringLiteral("image://svgimage-custom-color/");//role == DarkIconRole ? QStringLiteral("qrc:///client/theme/white/") : QStringLiteral("qrc:///client/theme/black/");
+ auto colorIconPath = role == DarkIconRole ? QStringLiteral("image://svgimage-custom-color/white/") : QStringLiteral("image://svgimage-custom-color/black/");
if (a._type == Activity::NotificationType && !a._talkNotificationData.userAvatar.isEmpty()) {
- return QStringLiteral("image://svgimage-custom-color/talk-app.svg");
+ return QStringLiteral("image://svgimage-custom-color/talk-bordered.svg");
} else if (a._type == Activity::SyncResultType) {
colorIconPath.append("state-error.svg");
return colorIconPath;