Fixed wrong color issue of the wallet layout. Fixes #1903
This commit is contained in:
parent
358f647735
commit
4c31a97db8
|
@ -45,7 +45,7 @@ Item {
|
|||
anchors.bottomMargin: 0
|
||||
anchors.left: assetInfoImage.right
|
||||
anchors.leftMargin: Style.current.smallPadding
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
font.pixelSize: 15
|
||||
}
|
||||
StyledText {
|
||||
|
@ -58,7 +58,7 @@ Item {
|
|||
}
|
||||
StyledText {
|
||||
id: assetFiatValue
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
text: Utils.toLocaleString(fiatBalance, appSettings.locale) + " " + walletModel.defaultCurrency.toUpperCase()
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 0
|
||||
|
|
|
@ -162,7 +162,7 @@ Item {
|
|||
//% "From "
|
||||
qsTrId("from-")
|
||||
anchors.right: addressValue.left
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
anchors.top: parent.top
|
||||
font.pixelSize: 15
|
||||
font.strikeout: false
|
||||
|
@ -191,7 +191,7 @@ Item {
|
|||
text: "• "
|
||||
font.weight: Font.Bold
|
||||
anchors.right: timeIndicator.left
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
anchors.top: parent.top
|
||||
font.pixelSize: 15
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ Item {
|
|||
id: timeIndicator
|
||||
text: "At "
|
||||
anchors.right: timeValue.left
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
anchors.top: parent.top
|
||||
font.pixelSize: 15
|
||||
font.strikeout: false
|
||||
|
|
|
@ -55,7 +55,7 @@ Item {
|
|||
|
||||
StyledText {
|
||||
id: totalValue
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
//% "Total value"
|
||||
text: qsTrId("wallet-total-value")
|
||||
anchors.left: walletAmountValue.left
|
||||
|
|
|
@ -35,7 +35,7 @@ Item {
|
|||
id: wrapper
|
||||
property bool hovered: false
|
||||
radius: Style.current.radius
|
||||
color: modalBody.currency === key ? Style.current.lightBlue : (hovered ? Style.current.backgroundHover: Style.current.transparent)
|
||||
color: modalBody.currency === key ? Style.current.secondaryBackground : (hovered ? Style.current.backgroundHover: Style.current.transparent)
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 0
|
||||
anchors.left: parent.left
|
||||
|
|
|
@ -57,7 +57,7 @@ Item {
|
|||
anchors.topMargin: 0
|
||||
anchors.left: assetInfoImage.right
|
||||
anchors.leftMargin: Style.current.smallPadding
|
||||
color: Style.current.darkGrey
|
||||
color: Style.current.secondaryText
|
||||
font.pixelSize: 15
|
||||
}
|
||||
StatusCheckBox {
|
||||
|
|
|
@ -21,7 +21,7 @@ TabButton {
|
|||
text: btnText
|
||||
font.weight: Font.Medium
|
||||
font.pixelSize: 15
|
||||
color: parent.checked || parent.hovered ? Style.current.textColor : Style.current.darkGrey
|
||||
color: parent.checked || parent.hovered ? Style.current.textColor : Style.current.secondaryText
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
|
|
Loading…
Reference in New Issue