diff options
Diffstat (limited to 'src/settingsui/timedate')
-rw-r--r-- | src/settingsui/timedate/CustomComboBox.qml | 8 | ||||
-rw-r--r-- | src/settingsui/timedate/ManualTime.qml | 12 | ||||
-rw-r--r-- | src/settingsui/timedate/TimeDate.qml | 4 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/settingsui/timedate/CustomComboBox.qml b/src/settingsui/timedate/CustomComboBox.qml index 3c8e752..66c3559 100644 --- a/src/settingsui/timedate/CustomComboBox.qml +++ b/src/settingsui/timedate/CustomComboBox.qml @@ -47,7 +47,7 @@ ComboBox { id: indicatorOverlay source: indicatorImage anchors.fill: indicatorImage - color: "#41cd52" + color: viewSettings.buttonGreenColor visible: false rotation: -90 } @@ -64,7 +64,7 @@ ComboBox { } background: Rectangle { color: "transparent" - border.color: "#9d9faa" + border.color: viewSettings.borderColor border.width: comboBox.visualFocus ? 2 : 1 } popup: Popup { @@ -90,8 +90,8 @@ ComboBox { indicatorOverlay.visible = false } background: Rectangle { - border.color: "#9d9faa" - color: "#09102b" + border.color: viewSettings.borderColor + color: viewSettings.backgroundColor opacity: 0.95 } } diff --git a/src/settingsui/timedate/ManualTime.qml b/src/settingsui/timedate/ManualTime.qml index df4a8b8..bdb82cd 100644 --- a/src/settingsui/timedate/ManualTime.qml +++ b/src/settingsui/timedate/ManualTime.qml @@ -73,7 +73,7 @@ Item { anchors.left: dayDelegate.left anchors.leftMargin: pluginMain.margin text: modelData + 1 - color: dayBox.currentIndex == index ? "#41cd52" : "white" + color: dayBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight verticalAlignment: Text.AlignVCenter font.pixelSize: pluginMain.valueFontSize @@ -105,7 +105,7 @@ Item { contentItem: Text { anchors.left: monthDelegate.left anchors.leftMargin: pluginMain.margin - color: monthBox.currentIndex == index ? "#41cd52" : "white" + color: monthBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight text: modelData verticalAlignment: Text.AlignVCenter @@ -132,7 +132,7 @@ Item { anchors.left: yearDelegate.left anchors.leftMargin: pluginMain.margin text: index + firstYear - color: yearBox.currentIndex == index ? "#41cd52" : "white" + color: yearBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight verticalAlignment: Text.AlignVCenter font.pixelSize: pluginMain.valueFontSize @@ -172,7 +172,7 @@ Item { anchors.left: hourDelegate.left anchors.leftMargin: pluginMain.margin text: zeroPadTime(parseInt(modelData)) - color: hourBox.currentIndex == index ? "#41cd52" : "white" + color: hourBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight verticalAlignment: Text.AlignVCenter font.pixelSize: pluginMain.valueFontSize @@ -198,7 +198,7 @@ Item { anchors.left: minuteDelegate.left anchors.leftMargin: pluginMain.margin text: zeroPadTime(parseInt(modelData)) - color: minuteBox.currentIndex == index ? "#41cd52" : "white" + color: minuteBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight verticalAlignment: Text.AlignVCenter font.pixelSize: pluginMain.valueFontSize @@ -237,7 +237,7 @@ Item { QtButton { id: dateCancelButton height: pluginMain.buttonHeight - fillColor: "#9d9faa" + fillColor: viewSettings.buttonGrayColor borderColor: "transparent" text: qsTr("CANCEL") onClicked: { diff --git a/src/settingsui/timedate/TimeDate.qml b/src/settingsui/timedate/TimeDate.qml index 95e93bf..2104c75 100644 --- a/src/settingsui/timedate/TimeDate.qml +++ b/src/settingsui/timedate/TimeDate.qml @@ -89,7 +89,7 @@ Item { QtButton { id: manualButton height: pluginMain.buttonHeight - fillColor: "#9d9faa" + fillColor: viewSettings.buttonGrayColor borderColor: "transparent" text: qsTr("MANUALLY") onClicked: { @@ -122,7 +122,7 @@ Item { anchors.left: timeZoneDelegate.left anchors.leftMargin: pluginMain.margin text: modelData["id"] - color: timeZoneBox.currentIndex == index ? "#41cd52" : "white" + color: timeZoneBox.currentIndex == index ? viewSettings.buttonGreenColor : "white" elide: Text.ElideRight verticalAlignment: Text.AlignVCenter font.pixelSize: pluginMain.valueFontSize |