fix(LinkPreviewMiniCard): dark theme background color (#12733)
This commit is contained in:
parent
81d99c44e9
commit
fc09027fcd
|
@ -22,11 +22,11 @@ SplitView {
|
||||||
color: Theme.palette.statusChatInput.secondaryBackgroundColor
|
color: Theme.palette.statusChatInput.secondaryBackgroundColor
|
||||||
}
|
}
|
||||||
|
|
||||||
LinkPreviewMiniCard {
|
LinkPreviewMiniCard {
|
||||||
id: previewMiniCard
|
id: previewMiniCard
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
type: previewTypeInput.currentIndex
|
type: previewTypeInput.currentIndex
|
||||||
previewState: stateInput.currentIndex
|
previewState: stateInput.currentIndex
|
||||||
linkData {
|
linkData {
|
||||||
title: titleInput.text
|
title: titleInput.text
|
||||||
description: ""
|
description: ""
|
||||||
|
|
|
@ -7,7 +7,6 @@ import StatusQ.Components 0.1
|
||||||
import StatusQ.Controls 0.1
|
import StatusQ.Controls 0.1
|
||||||
|
|
||||||
import shared 1.0
|
import shared 1.0
|
||||||
|
|
||||||
import utils 1.0
|
import utils 1.0
|
||||||
|
|
||||||
import "./private" 1.0
|
import "./private" 1.0
|
||||||
|
@ -42,7 +41,7 @@ CalloutCard {
|
||||||
verticalPadding: 15
|
verticalPadding: 15
|
||||||
horizontalPadding: 12
|
horizontalPadding: 12
|
||||||
borderColor: Theme.palette.directColor7
|
borderColor: Theme.palette.directColor7
|
||||||
backgroundColor: root.containsMouse ? Theme.palette.directColor7 : Theme.palette.baseColor4
|
backgroundColor: root.containsMouse ? Theme.palette.directColor7 : Style.current.background
|
||||||
|
|
||||||
// behavior
|
// behavior
|
||||||
states: [
|
states: [
|
||||||
|
@ -79,7 +78,6 @@ CalloutCard {
|
||||||
root.linkData.type === Constants.StandardLinkPreviewType.Link
|
root.linkData.type === Constants.StandardLinkPreviewType.Link
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: root; visible: true; dashedBorder: false; borderWidth: 0;
|
target: root; visible: true; dashedBorder: false; borderWidth: 0;
|
||||||
backgroundColor: root.containsMouse ? Theme.palette.directColor8 : Theme.palette.indirectColor1;
|
|
||||||
borderColor: backgroundColor;
|
borderColor: backgroundColor;
|
||||||
}
|
}
|
||||||
PropertyChanges { target: loadingAnimation; visible: false; }
|
PropertyChanges { target: loadingAnimation; visible: false; }
|
||||||
|
|
Loading…
Reference in New Issue