Fix text in darkmode on mobile app.

Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com>
This commit is contained in:
Paul Buxton 2019-10-05 02:21:56 +01:00 committed by Dirk Hohndel
parent d82e008b4c
commit 65ec16e59d
5 changed files with 107 additions and 5 deletions

View file

@ -161,6 +161,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Date:") text: qsTr("Date:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtDate; id: txtDate;
@ -168,11 +169,13 @@ Item {
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Location:") text: qsTr("Location:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: locationBox id: locationBox
@ -196,10 +199,12 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Coordinates:") text: qsTr("Coordinates:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtGps id: txtGps
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -210,6 +215,7 @@ Item {
text: qsTr("Use current\nGPS location:") text: qsTr("Use current\nGPS location:")
visible: manager.locationServiceAvailable visible: manager.locationServiceAvailable
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
SsrfCheckBox { SsrfCheckBox {
id: checkboxGPS id: checkboxGPS
@ -230,10 +236,12 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Depth:") text: qsTr("Depth:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtDepth id: txtDepth
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /[^-]*/ } validator: RegExpValidator { regExp: /[^-]*/ }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -243,10 +251,12 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Duration:") text: qsTr("Duration:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtDuration id: txtDuration
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /[^-]*/ } validator: RegExpValidator { regExp: /[^-]*/ }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -257,10 +267,12 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Air Temp:") text: qsTr("Air Temp:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtAirTemp id: txtAirTemp
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -270,10 +282,12 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Water Temp:") text: qsTr("Water Temp:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtWaterTemp id: txtWaterTemp
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -283,6 +297,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Suit:") text: qsTr("Suit:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: suitBox id: suitBox
@ -304,6 +319,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Buddy:") text: qsTr("Buddy:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: buddyBox id: buddyBox
@ -324,6 +340,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Divemaster:") text: qsTr("Divemaster:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: divemasterBox id: divemasterBox
@ -344,11 +361,13 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Weight:") text: qsTr("Weight:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtWeight id: txtWeight
readOnly: text === "cannot edit multiple weight systems" readOnly: text === "cannot edit multiple weight systems"
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -359,6 +378,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder1:") text: qsTr("Cylinder1:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: cylinderBox0 id: cylinderBox0
@ -373,11 +393,13 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:") text: qsTr("Gas mix:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtGasMix0 id: txtGasMix0
text: usedGas[0] != null ? usedGas[0] : null text: usedGas[0] != null ? usedGas[0] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i } validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -388,11 +410,13 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:") text: qsTr("Start Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtStartPressure0 id: txtStartPressure0
text: startpressure[0] != null ? startpressure[0] : null text: startpressure[0] != null ? startpressure[0] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -402,11 +426,13 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:") text: qsTr("End Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
id: txtEndPressure0 id: txtEndPressure0
text: endpressure[0] != null ? endpressure[0] : null text: endpressure[0] != null ? endpressure[0] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -417,6 +443,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder2:") text: qsTr("Cylinder2:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
visible: usedCyl[1] != null ? true : false visible: usedCyl[1] != null ? true : false
@ -433,12 +460,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:") text: qsTr("Gas mix:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[1] != null ? true : false visible: usedCyl[1] != null ? true : false
id: txtGasMix1 id: txtGasMix1
text: usedGas[1] != null ? usedGas[1] : null text: usedGas[1] != null ? usedGas[1] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i } validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -449,6 +478,7 @@ Item {
visible: usedCyl[1] != null ? true : false visible: usedCyl[1] != null ? true : false
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:") text: qsTr("Start Pressure:")
color: subsurfaceTheme.textColor
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
} }
Controls.TextField { Controls.TextField {
@ -456,6 +486,7 @@ Item {
id: txtStartPressure1 id: txtStartPressure1
text: startpressure[1] != null ? startpressure[1] : null text: startpressure[1] != null ? startpressure[1] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -465,6 +496,7 @@ Item {
visible: usedCyl[1] != null ? true : false visible: usedCyl[1] != null ? true : false
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:") text: qsTr("End Pressure:")
color: subsurfaceTheme.textColor
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
} }
Controls.TextField { Controls.TextField {
@ -472,6 +504,7 @@ Item {
id: txtEndPressure1 id: txtEndPressure1
text: endpressure[1] != null ? endpressure[1] : null text: endpressure[1] != null ? endpressure[1] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -481,6 +514,7 @@ Item {
visible: usedCyl[2] != null ? true : false visible: usedCyl[2] != null ? true : false
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder3:") text: qsTr("Cylinder3:")
color: subsurfaceTheme.textColor
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
} }
Controls.ComboBox { Controls.ComboBox {
@ -499,12 +533,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:") text: qsTr("Gas mix:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[2] != null ? true : false visible: usedCyl[2] != null ? true : false
id: txtGasMix2 id: txtGasMix2
text: usedGas[2] != null ? usedGas[2] : null text: usedGas[2] != null ? usedGas[2] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i } validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -516,12 +552,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:") text: qsTr("Start Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[2] != null ? true : false visible: usedCyl[2] != null ? true : false
id: txtStartPressure2 id: txtStartPressure2
text: startpressure[2] != null ? startpressure[2] : null text: startpressure[2] != null ? startpressure[2] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -532,12 +570,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:") text: qsTr("End Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[2] != null ? true : false visible: usedCyl[2] != null ? true : false
id: txtEndPressure2 id: txtEndPressure2
text: endpressure[2] != null ? endpressure[2] : null text: endpressure[2] != null ? endpressure[2] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -548,6 +588,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder4:") text: qsTr("Cylinder4:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
visible: usedCyl[3] != null ? true : false visible: usedCyl[3] != null ? true : false
@ -565,6 +606,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:") text: qsTr("Gas mix:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[3] != null ? true : false visible: usedCyl[3] != null ? true : false
@ -572,6 +614,7 @@ Item {
text: usedGas[3] != null ? usedGas[3] : null text: usedGas[3] != null ? usedGas[3] : null
Layout.fillWidth: true Layout.fillWidth: true
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i } validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -582,12 +625,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:") text: qsTr("Start Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[3] != null ? true : false visible: usedCyl[3] != null ? true : false
id: txtStartPressure3 id: txtStartPressure3
text: startpressure[3] != null ? startpressure[3] : null text: startpressure[3] != null ? startpressure[3] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -598,12 +643,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:") text: qsTr("End Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[3] != null ? true : false visible: usedCyl[3] != null ? true : false
id: txtEndPressure3 id: txtEndPressure3
text: endpressure[3] != null ? endpressure[3] : null text: endpressure[3] != null ? endpressure[3] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -614,6 +661,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Cylinder5:") text: qsTr("Cylinder5:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
visible: usedCyl[4] != null ? true : false visible: usedCyl[4] != null ? true : false
@ -631,12 +679,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Gas mix:") text: qsTr("Gas mix:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[4] != null ? true : false visible: usedCyl[4] != null ? true : false
id: txtGasMix4 id: txtGasMix4
text: usedGas[4] != null ? usedGas[4] : null text: usedGas[4] != null ? usedGas[4] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i } validator: RegExpValidator { regExp: /(EAN100|EAN\d\d|AIR|100|\d{1,2}|\d{1,2}\/\d{1,2})/i }
onEditingFinished: { onEditingFinished: {
focus = false focus = false
@ -648,12 +698,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Start Pressure:") text: qsTr("Start Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[4] != null ? true : false visible: usedCyl[4] != null ? true : false
id: txtStartPressure4 id: txtStartPressure4
text: startpressure[4] != null ? startpressure[4] : null text: startpressure[4] != null ? startpressure[4] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -664,12 +716,14 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("End Pressure:") text: qsTr("End Pressure:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
visible: usedCyl[4] != null ? true : false visible: usedCyl[4] != null ? true : false
id: txtEndPressure4 id: txtEndPressure4
text: endpressure[4] != null ? endpressure[4] : null text: endpressure[4] != null ? endpressure[4] : null
Layout.fillWidth: true Layout.fillWidth: true
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
focus = false focus = false
} }
@ -679,6 +733,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Rating:") text: qsTr("Rating:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.SpinBox { Controls.SpinBox {
id: ratingPicker id: ratingPicker
@ -692,6 +747,7 @@ Item {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
text: qsTr("Visibility:") text: qsTr("Visibility:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.SpinBox { Controls.SpinBox {
id: visibilityPicker id: visibilityPicker
@ -706,6 +762,7 @@ Item {
Layout.alignment: Qt.AlignLeft Layout.alignment: Qt.AlignLeft
text: qsTr("Notes:") text: qsTr("Notes:")
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
color: subsurfaceTheme.textColor
} }
Controls.TextArea { Controls.TextArea {
Layout.columnSpan: 2 Layout.columnSpan: 2

View file

@ -20,7 +20,7 @@ Item {
height: divePlate.implicitHeight + bottomLayout.implicitHeight + Kirigami.Units.iconSizes.large height: divePlate.implicitHeight + bottomLayout.implicitHeight + Kirigami.Units.iconSizes.large
Rectangle { Rectangle {
z: 99 z: 99
color: Kirigami.Theme.textColor color: subsurfaceTheme.textColor
opacity: 0.3 opacity: 0.3
width: Kirigami.Units.smallSpacing/4 width: Kirigami.Units.smallSpacing/4
anchors { anchors {
@ -40,7 +40,7 @@ Item {
font.weight: Font.Bold font.weight: Font.Bold
font.pointSize: subsurfaceTheme.titlePointSize font.pointSize: subsurfaceTheme.titlePointSize
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Kirigami.Theme.textColor color: subsurfaceTheme.textColor
anchors { anchors {
left: parent.left left: parent.left
top: parent.top top: parent.top
@ -118,30 +118,35 @@ Item {
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: ratingText.verticalCenter anchors.verticalCenter: ratingText.verticalCenter
source: (dive.rating >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.rating >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: ratingText.verticalCenter anchors.verticalCenter: ratingText.verticalCenter
source: (dive.rating >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.rating >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: ratingText.verticalCenter anchors.verticalCenter: ratingText.verticalCenter
source: (dive.rating >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.rating >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: ratingText.verticalCenter anchors.verticalCenter: ratingText.verticalCenter
source: (dive.rating >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.rating >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: ratingText.verticalCenter anchors.verticalCenter: ratingText.verticalCenter
source: (dive.rating === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.rating === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
} }
Row { Row {
@ -161,30 +166,35 @@ Item {
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: visibilityText.verticalCenter anchors.verticalCenter: visibilityText.verticalCenter
source: (dive.visibility >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.visibility >= 1) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: visibilityText.verticalCenter anchors.verticalCenter: visibilityText.verticalCenter
source: (dive.visibility >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.visibility >= 2) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: visibilityText.verticalCenter anchors.verticalCenter: visibilityText.verticalCenter
source: (dive.visibility >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.visibility >= 3) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: visibilityText.verticalCenter anchors.verticalCenter: visibilityText.verticalCenter
source: (dive.visibility >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.visibility >= 4) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
Kirigami.Icon { Kirigami.Icon {
width: height width: height
height: subsurfaceTheme.regularPointSize height: subsurfaceTheme.regularPointSize
anchors.verticalCenter: visibilityText.verticalCenter anchors.verticalCenter: visibilityText.verticalCenter
source: (dive.visibility === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg" source: (dive.visibility === 5) ? ":/icons/ic_star.svg" : ":/icons/ic_star_border.svg"
color: subsurfaceTheme.textColor
} }
} }
@ -235,18 +245,21 @@ Item {
opacity: 0.6 opacity: 0.6
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: qsTr("Air Temp:") text: qsTr("Air Temp:")
opacity: 0.6 opacity: 0.6
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col2Width Layout.maximumWidth: detailsView.col2Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: qsTr("Water Temp:") text: qsTr("Water Temp:")
opacity: 0.6 opacity: 0.6
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col3Width Layout.maximumWidth: detailsView.col3Width
color: subsurfaceTheme.textColor
} }
// second row // second row
@ -256,18 +269,21 @@ Item {
text: dive.suit text: dive.suit
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
id: txtAirTemp id: txtAirTemp
text: dive.airTemp text: dive.airTemp
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col2Width Layout.maximumWidth: detailsView.col2Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
id: txtWaterTemp id: txtWaterTemp
text: dive.waterTemp text: dive.waterTemp
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col3Width Layout.maximumWidth: detailsView.col3Width
color: subsurfaceTheme.textColor
} }
Rectangle { Rectangle {
@ -286,6 +302,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
Layout.bottomMargin: 0 Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: qsTr("Weight:") text: qsTr("Weight:")
@ -293,6 +310,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col2Width Layout.maximumWidth: detailsView.col2Width
Layout.bottomMargin: 0 Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: qsTr("SAC:") text: qsTr("SAC:")
@ -300,6 +318,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col3Width Layout.maximumWidth: detailsView.col3Width
Layout.bottomMargin: 0 Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
} }
// fourth row // fourth row
@ -309,18 +328,21 @@ Item {
text: dive.getCylinder.join(', ') text: dive.getCylinder.join(', ')
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
id: txtWeight id: txtWeight
text: dive.sumWeight text: dive.sumWeight
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col2Width Layout.maximumWidth: detailsView.col2Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
id: txtSAC id: txtSAC
text: dive.sac text: dive.sac
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col3Width Layout.maximumWidth: detailsView.col3Width
color: subsurfaceTheme.textColor
} }
Rectangle { Rectangle {
@ -339,6 +361,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
Layout.bottomMargin: 0 Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: qsTr("Buddy:") text: qsTr("Buddy:")
@ -347,6 +370,7 @@ Item {
Layout.columnSpan: 2 Layout.columnSpan: 2
Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width
Layout.bottomMargin: 0 Layout.bottomMargin: 0
color: subsurfaceTheme.textColor
} }
// sixth row // sixth row
@ -356,6 +380,7 @@ Item {
text: dive.divemaster text: dive.divemaster
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
Layout.maximumWidth: detailsView.col1Width Layout.maximumWidth: detailsView.col1Width
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
id: txtBuddy id: txtBuddy
@ -363,6 +388,7 @@ Item {
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.columnSpan: 2 Layout.columnSpan: 2
Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width Layout.maximumWidth: detailsView.col2Width + detailsView.col3Width
color: subsurfaceTheme.textColor
} }
Rectangle { Rectangle {
@ -380,6 +406,7 @@ Item {
text: qsTr("Notes") text: qsTr("Notes")
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
Layout.columnSpan: 3 Layout.columnSpan: 3
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
@ -389,6 +416,7 @@ Item {
Layout.columnSpan: 3 Layout.columnSpan: 3
Layout.fillWidth: true Layout.fillWidth: true
wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
color: subsurfaceTheme.textColor
} }
Item { Item {
Layout.columnSpan: 3 Layout.columnSpan: 3

View file

@ -27,7 +27,7 @@ Kirigami.ScrollablePage {
delegate : Text { delegate : Text {
width: logWindow.width width: logWindow.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere wrapMode: Text.WrapAtWordBoundaryOrAnywhere
color: Kirigami.Theme.textColor color: subsurfaceTheme.textColor
text : message text : message
font.pointSize: subsurfaceTheme.smallPointSize font.pointSize: subsurfaceTheme.smallPointSize
leftPadding: Kirigami.Units.gridUnit / 2 leftPadding: Kirigami.Units.gridUnit / 2

View file

@ -42,11 +42,13 @@ Kirigami.ScrollablePage {
text: qsTr("Email") text: qsTr("Email")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.15 Layout.preferredWidth: gridWidth * 0.15
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: prefs.credentialStatus === CloudStatus.CS_NOCLOUD ? qsTr("Not applicable") : prefs.cloudUserName text: prefs.credentialStatus === CloudStatus.CS_NOCLOUD ? qsTr("Not applicable") : prefs.cloudUserName
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.60 Layout.preferredWidth: gridWidth * 0.60
color: subsurfaceTheme.textColor
} }
SsrfButton { SsrfButton {
id: changeCloudSettings id: changeCloudSettings
@ -61,12 +63,14 @@ Kirigami.ScrollablePage {
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.15 Layout.preferredWidth: gridWidth * 0.15
Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5 Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5
color: subsurfaceTheme.textColor
} }
Controls.Label { Controls.Label {
text: describe[prefs.credentialStatus] text: describe[prefs.credentialStatus]
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.60 Layout.preferredWidth: gridWidth * 0.60
Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5 Layout.preferredHeight: Kirigami.Units.gridUnit * 1.5
color: subsurfaceTheme.textColor
} }
} }
@ -149,6 +153,7 @@ Kirigami.ScrollablePage {
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
rightPadding: Kirigami.Units.gridUnit rightPadding: Kirigami.Units.gridUnit
Layout.preferredWidth: gridWidth * 0.15 Layout.preferredWidth: gridWidth * 0.15
color: subsurfaceTheme.textColor
} }
Row { Row {
Layout.preferredWidth: gridWidth * 0.6 Layout.preferredWidth: gridWidth * 0.6
@ -316,6 +321,7 @@ Kirigami.ScrollablePage {
text: qsTr("Distance threshold (meters)") text: qsTr("Distance threshold (meters)")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
@ -323,6 +329,7 @@ Kirigami.ScrollablePage {
text: PrefLocationService.distance_threshold text: PrefLocationService.distance_threshold
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.25 Layout.preferredWidth: gridWidth * 0.25
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
PrefLocationService.distance_threshold = distanceThreshold.text PrefLocationService.distance_threshold = distanceThreshold.text
} }
@ -332,6 +339,7 @@ Kirigami.ScrollablePage {
text: qsTr("Time threshold (minutes)") text: qsTr("Time threshold (minutes)")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
Controls.TextField { Controls.TextField {
@ -339,6 +347,7 @@ Kirigami.ScrollablePage {
text: PrefLocationService.time_threshold / 60 text: PrefLocationService.time_threshold / 60
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.25 Layout.preferredWidth: gridWidth * 0.25
color: subsurfaceTheme.textColor
onEditingFinished: { onEditingFinished: {
PrefLocationService.time_threshold = timeThreshold.text * 60 PrefLocationService.time_threshold = timeThreshold.text * 60
} }
@ -369,6 +378,7 @@ Kirigami.ScrollablePage {
Controls.Label { Controls.Label {
text: qsTr("Cylinder:") text: qsTr("Cylinder:")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
color: subsurfaceTheme.textColor
} }
Controls.ComboBox { Controls.ComboBox {
id: defaultCylinderBox id: defaultCylinderBox
@ -404,6 +414,7 @@ Kirigami.ScrollablePage {
text: qsTr("Forget remembered dive computers") text: qsTr("Forget remembered dive computers")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfButton { SsrfButton {
id: forgetDCButton id: forgetDCButton
@ -442,6 +453,7 @@ Kirigami.ScrollablePage {
text: qsTr("Use Imperial Units") text: qsTr("Use Imperial Units")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
id: imperialButton id: imperialButton
@ -458,6 +470,7 @@ Kirigami.ScrollablePage {
text: qsTr("Use Metric Units") text: qsTr("Use Metric Units")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
id: metricButtton id: metricButtton
@ -495,6 +508,7 @@ Kirigami.ScrollablePage {
text: qsTr("Include notes in full text filtering") text: qsTr("Include notes in full text filtering")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
@ -510,6 +524,7 @@ Kirigami.ScrollablePage {
text: qsTr("Match filter case sensitive") text: qsTr("Match filter case sensitive")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
@ -547,6 +562,7 @@ Kirigami.ScrollablePage {
text: qsTr("Show all bluetooth devices \neven if not recognized as dive computers") text: qsTr("Show all bluetooth devices \neven if not recognized as dive computers")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
id: nonDCButton id: nonDCButton
@ -582,6 +598,7 @@ Kirigami.ScrollablePage {
text: qsTr("Display Developer menu") text: qsTr("Display Developer menu")
font.pointSize: subsurfaceTheme.regularPointSize font.pointSize: subsurfaceTheme.regularPointSize
Layout.preferredWidth: gridWidth * 0.75 Layout.preferredWidth: gridWidth * 0.75
color: subsurfaceTheme.textColor
} }
SsrfSwitch { SsrfSwitch {
id: developerButton id: developerButton

View file

@ -449,7 +449,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
function darkTheme() { function darkTheme() {
Material.theme = Material.Dark Material.theme = Material.Dark
Material.accent = subsurfaceTheme.darkerPrimaryColor Material.accent = subsurfaceTheme.darkPrimaryColor
subsurfaceTheme.currentTheme = "Dark" subsurfaceTheme.currentTheme = "Dark"
subsurfaceTheme.darkerPrimaryColor = subsurfaceTheme.darkDarkerPrimaryColor subsurfaceTheme.darkerPrimaryColor = subsurfaceTheme.darkDarkerPrimaryColor
subsurfaceTheme.darkerPrimaryTextColor= subsurfaceTheme.darkDarkerPrimaryTextColor subsurfaceTheme.darkerPrimaryTextColor= subsurfaceTheme.darkDarkerPrimaryTextColor
@ -547,7 +547,7 @@ if you have network connectivity and want to sync your data to cloud storage."),
property color darkPrimaryColor: "#3F51B5" property color darkPrimaryColor: "#3F51B5"
property color darkPrimaryTextColor: "#ECECEC" property color darkPrimaryTextColor: "#ECECEC"
property color darkLightPrimaryColor: "#C5CAE9" property color darkLightPrimaryColor: "#C5CAE9"
property color darkLightPrimaryTextColor: "#212121" property color darkLightPrimaryTextColor: "#ECECEC"
property color darkBackgroundColor: "#303030" property color darkBackgroundColor: "#303030"
property color darkTextColor: darkPrimaryTextColor property color darkTextColor: darkPrimaryTextColor
property color darkSecondaryTextColor: "#757575" property color darkSecondaryTextColor: "#757575"