fix(@desktop/profile): make ens view work in darkmode again

This commit is contained in:
Pascal Precht 2021-11-01 10:42:00 +01:00 committed by Iuri Matias
parent 96602ca443
commit 1964ac6dcb
9 changed files with 60 additions and 6 deletions

View File

@ -22,6 +22,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
@ -59,6 +60,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -72,6 +74,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusButton {

View File

@ -22,6 +22,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
@ -59,6 +60,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -72,6 +74,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -85,7 +88,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor7
color: Theme.palette.baseColor1
}

View File

@ -3,6 +3,7 @@ import QtQuick.Layouts 1.3
import QtQuick.Controls 2.14
import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1
import StatusQ.Controls 0.1 as StatusQControls
import StatusQ.Components 0.1
@ -29,6 +30,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
Component {

View File

@ -65,7 +65,7 @@ Item {
anchors.top: usernameTxt.bottom
anchors.topMargin: 2
text: username.substr(username.indexOf("."))
color: Style.current.darkGrey
color: Theme.palette.baseColor1
}
}
}
@ -78,7 +78,7 @@ Item {
//% "(pending)"
text: username + " " + (isPending ? qsTrId("-pending-") : "")
font.pixelSize: 16
color: Style.current.textColor
color: Theme.palette.directColor1
anchors.top: parent.top
anchors.topMargin: 5
}
@ -142,6 +142,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
Item {
@ -187,6 +188,7 @@ Item {
anchors.top: addUsername.bottom
anchors.topMargin: 24
font.pixelSize: 16
color: Theme.palette.directColor1
}
Item {
@ -231,6 +233,7 @@ Item {
anchors.top: ensList.bottom
anchors.topMargin: 24
font.pixelSize: 16
color: Theme.palette.directColor1
}
Item {
@ -249,6 +252,7 @@ Item {
text: qsTrId("primary-username")
font.pixelSize: 14
font.weight: Font.Bold
color: Theme.palette.directColor1
}
StatusBaseText {
@ -259,6 +263,7 @@ Item {
anchors.left: usernameLabel.right
anchors.leftMargin: Style.current.padding
font.pixelSize: 14
color: Theme.palette.directColor1
}
MouseArea {

View File

@ -22,6 +22,7 @@ Item {
anchors.topMargin: Style.current.bigPadding
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
@ -59,6 +60,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -72,6 +74,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -85,7 +88,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor7
color: Theme.palette.baseColor1
}

View File

@ -22,6 +22,7 @@ Item {
anchors.topMargin: Style.current.bigPadding
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
@ -58,6 +59,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -70,6 +72,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -83,7 +86,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor7
color: Theme.palette.baseColor1
}

View File

@ -268,6 +268,7 @@ Item {
anchors.top: ensTypeRect.bottom
wrapMode: Text.WordWrap
anchors.topMargin: Style.current.bigPadding
color: Theme.palette.directColor1
}
}
}

View File

@ -30,6 +30,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 20
color: Theme.palette.directColor1
}
Loader {
@ -91,6 +92,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -99,6 +101,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -107,6 +110,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -115,6 +119,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -123,6 +128,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -131,6 +137,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -139,6 +146,7 @@ Item {
wrapMode: Text.WordWrap
anchors.left: parent.left
anchors.right: parent.right
color: Theme.palette.directColor1
}
StatusBaseText {
@ -148,6 +156,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
font.weight: Font.Bold
color: Theme.palette.directColor1
}
StatusBaseText {
@ -157,6 +166,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
font.family: Style.current.fontHexRegular.name
color: Theme.palette.directColor1
}
StatusBaseText {
@ -165,6 +175,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
onLinkActivated: appMain.openLink(link)
color: Theme.palette.directColor1
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
@ -179,6 +190,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
font.family: Style.current.fontHexRegular.name
color: Theme.palette.directColor1
}
StatusBaseText {
@ -187,6 +199,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
onLinkActivated: appMain.openLink(link)
color: Theme.palette.directColor1
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
@ -246,6 +259,7 @@ Item {
anchors.left: parent.left
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
color: Theme.palette.directColor1
}
StatusDescriptionListItem {
@ -297,6 +311,7 @@ Item {
wrapMode: Text.WordWrap
anchors.top: termsAndConditionsCheckbox.top
onLinkActivated: popup.open()
color: Theme.palette.directColor1
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.NoButton // we don't want to eat clicks on the Text
@ -348,7 +363,7 @@ Item {
anchors.leftMargin: 5
anchors.topMargin: 5
anchors.top: ensPriceLbl.bottom
color: Theme.palette.directColor7
color: Theme.palette.baseColor1
font.pixelSize: 14
}
}

View File

@ -3,6 +3,7 @@ import QtQuick.Layouts 1.3
import QtQuick.Controls 2.14
import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1
import StatusQ.Controls 0.1
import utils 1.0
@ -50,6 +51,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -63,6 +65,7 @@ Item {
anchors.right: parent.right
horizontalAlignment: Text.AlignHCenter
wrapMode: Text.WordWrap
color: Theme.palette.directColor1
}
StatusBaseText {
@ -74,6 +77,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -88,6 +92,7 @@ Item {
wrapMode: Text.WordWrap
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -101,6 +106,7 @@ Item {
anchors.right: parent.right
wrapMode: Text.WordWrap
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -112,6 +118,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -126,6 +133,7 @@ Item {
wrapMode: Text.WordWrap
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -139,6 +147,7 @@ Item {
anchors.right: parent.right
wrapMode: Text.WordWrap
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -150,6 +159,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -164,6 +174,7 @@ Item {
wrapMode: Text.WordWrap
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -177,6 +188,7 @@ Item {
wrapMode: Text.WordWrap
anchors.topMargin: 24
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -188,6 +200,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -202,6 +215,7 @@ Item {
wrapMode: Text.WordWrap
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -215,6 +229,7 @@ Item {
anchors.right: parent.right
wrapMode: Text.WordWrap
font.pixelSize: 14
color: Theme.palette.directColor1
}
@ -227,6 +242,7 @@ Item {
anchors.topMargin: 24
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -241,6 +257,7 @@ Item {
wrapMode: Text.WordWrap
font.weight: Font.Bold
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -254,6 +271,7 @@ Item {
anchors.right: parent.right
wrapMode: Text.WordWrap
font.pixelSize: 14
color: Theme.palette.directColor1
}
StatusBaseText {
@ -267,6 +285,7 @@ Item {
anchors.right: parent.right
wrapMode: Text.WordWrap
font.pixelSize: 11
color: Theme.palette.directColor1
}
}
}