fix: wallet left tab button colors
This commit is contained in:
parent
a0accddfaa
commit
de307276c1
|
@ -98,8 +98,7 @@ Rectangle {
|
||||||
ColorOverlay {
|
ColorOverlay {
|
||||||
anchors.fill: walletIcon
|
anchors.fill: walletIcon
|
||||||
source: walletIcon
|
source: walletIcon
|
||||||
color: selected || !iconColor ? Style.current.white :
|
color: Utils.getCurrentThemeAccountColor(iconColor) || Style.current.accountColors[0]
|
||||||
Utils.getCurrentThemeAccountColor(iconColor) || Style.current.accountColors[0]
|
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: walletName
|
id: walletName
|
||||||
|
@ -114,7 +113,7 @@ Rectangle {
|
||||||
|
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: selected ? Style.current.white : Style.current.textColor
|
color: Style.current.textColor
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
id: walletAddress
|
id: walletAddress
|
||||||
|
@ -125,11 +124,10 @@ Rectangle {
|
||||||
elide: Text.ElideMiddle
|
elide: Text.ElideMiddle
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.bottomMargin: Style.current.smallPadding
|
anchors.bottomMargin: Style.current.smallPadding
|
||||||
anchors.left: walletName.left
|
anchors.left: walletIcon.left
|
||||||
anchors.leftMargin: 0
|
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: selected ? Style.current.white : Style.current.secondaryText
|
color: Style.current.secondaryText
|
||||||
opacity: selected ? 0.7 : 1
|
opacity: selected ? 0.7 : 1
|
||||||
}
|
}
|
||||||
StyledText {
|
StyledText {
|
||||||
|
@ -141,7 +139,7 @@ Rectangle {
|
||||||
anchors.rightMargin: Style.current.padding
|
anchors.rightMargin: Style.current.padding
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
font.weight: Font.Medium
|
font.weight: Font.Medium
|
||||||
color: selected ? Style.current.white : Style.current.textColor
|
color: Style.current.textColor
|
||||||
}
|
}
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|
Loading…
Reference in New Issue