enable bold font and matching font and icon color for action bar

This commit is contained in:
hat3ph
2024-11-13 06:33:14 +08:00
committed by eximus
parent 92b85ec7d1
commit 6b8fa8c5ee
2 changed files with 7 additions and 1 deletions

View File

@@ -223,6 +223,7 @@ Rectangle {
text : Qt.formatTime(clock.dateTime, config.timeFormat || "hh:mm") text : Qt.formatTime(clock.dateTime, config.timeFormat || "hh:mm")
font.pointSize: config.clockFontSize font.pointSize: config.clockFontSize
font.family: textFont.name font.family: textFont.name
font.bold: true
} }
Text { Text {
@@ -232,6 +233,7 @@ Rectangle {
text : Qt.formatDate(clock.dateTime, config.dateFormat || "dddd, dd MMMM yyyy") text : Qt.formatDate(clock.dateTime, config.dateFormat || "dddd, dd MMMM yyyy")
font.family: textFont.name font.family: textFont.name
font.pointSize: config.dateFontSize font.pointSize: config.dateFontSize
font.bold: true
} }
} }
@@ -263,6 +265,7 @@ Rectangle {
font.family: textFont.name font.family: textFont.name
font.bold: true font.bold: true
font.pixelSize: config.labelFontSize font.pixelSize: config.labelFontSize
font.bold: true
color: config.labelFontColor color: config.labelFontColor
text: "Username" text: "Username"
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@@ -403,6 +406,7 @@ Rectangle {
height: parent.height height: parent.height
font.family: textFont.name font.family: textFont.name
font.pixelSize: config.errorMsgFontSize font.pixelSize: config.errorMsgFontSize
font.bold: true
//color: "white" //color: "white"
anchors.top: password_input_box.bottom anchors.top: password_input_box.bottom
anchors.left: password_input_box.left anchors.left: password_input_box.left
@@ -442,6 +446,7 @@ Rectangle {
hoverColor: "#5692c4" hoverColor: "#5692c4"
font.family: textFont.name font.family: textFont.name
font.pixelSize: config.actionBarFontSize font.pixelSize: config.actionBarFontSize
font.bold: true
model: sessionModel model: sessionModel
index: sessionModel.lastIndex index: sessionModel.lastIndex
@@ -487,6 +492,7 @@ Rectangle {
text: modelItem ? modelItem.modelData.shortName : "zz" text: modelItem ? modelItem.modelData.shortName : "zz"
font.family: textFont.name font.family: textFont.name
font.pixelSize: config.actionBarFontSize font.pixelSize: config.actionBarFontSize
font.bold: true
color: config.actionBarFontColor color: config.actionBarFontColor
} }
} }

View File

@@ -23,4 +23,4 @@ autofocusInput=true
errorMsgFontColor="#dc322f" errorMsgFontColor="#dc322f"
clockFontColor="white" clockFontColor="white"
labelFontColor="white" labelFontColor="white"
actionBarFontColor="#505050" actionBarFontColor="#e0342c"