mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
Also accent ncBlue buttons in ShareDetailsPage with user accent color
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
ea05c8ecc7
commit
31011160c8
2 changed files with 6 additions and 4 deletions
|
@ -265,6 +265,7 @@ GridLayout {
|
|||
width: parent.width
|
||||
height: parent.height
|
||||
backgroundsVisible: root.backgroundsVisible
|
||||
accentColor: root.accentColor
|
||||
|
||||
fileDetails: root.fileDetails
|
||||
shareModelData: model
|
||||
|
|
|
@ -44,6 +44,7 @@ Page {
|
|||
signal setNote(string note)
|
||||
|
||||
property bool backgroundsVisible: true
|
||||
property color accentColor: Style.ncBlue
|
||||
|
||||
property FileDetails fileDetails: FileDetails {}
|
||||
property var shareModelData: ({})
|
||||
|
@ -1005,14 +1006,14 @@ Page {
|
|||
CustomButton {
|
||||
height: Style.standardPrimaryButtonHeight
|
||||
|
||||
icon.source: "image://svgimage-custom-color/add.svg/" + Style.ncBlue
|
||||
icon.source: "image://svgimage-custom-color/add.svg/" + root.accentColor
|
||||
imageSourceHover: "image://svgimage-custom-color/add.svg/" + palette.brightText
|
||||
text: qsTr("Add another link")
|
||||
textColor: Style.ncBlue
|
||||
textColor: root.accentColor
|
||||
textColorHovered: palette.brightText
|
||||
contentsFont.bold: true
|
||||
bgNormalColor: palette.button
|
||||
bgHoverColor: Style.ncBlue
|
||||
bgHoverColor: root.accentColor
|
||||
bgNormalOpacity: 1.0
|
||||
bgHoverOpacity: 1.0
|
||||
|
||||
|
@ -1054,7 +1055,7 @@ Page {
|
|||
text: shareLinkCopied ? qsTr("Share link copied!") : qsTr("Copy share link")
|
||||
textColor: palette.brightText
|
||||
contentsFont.bold: true
|
||||
bgColor: shareLinkCopied ? Style.positiveColor : Style.ncBlue
|
||||
bgColor: shareLinkCopied ? Style.positiveColor : root.accentColor
|
||||
bgNormalOpacity: 1.0
|
||||
bgHoverOpacity: shareLinkCopied ? 1.0 : Style.hoverOpacity
|
||||
|
||||
|
|
Loading…
Reference in a new issue