mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Fix: Fixed fonts and some variables names.
This commit is contained in:
@@ -24,7 +24,7 @@ Column {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
font.pointSize: root.font.pointSize * 9
|
||||
font.bold: true
|
||||
color: config.DateTextColor
|
||||
color: config.TimeTextColor
|
||||
renderType: Text.QtRendering
|
||||
function updateTime() {
|
||||
text = new Date().toLocaleTimeString(Qt.locale(config.Locale), config.HourFormat == "long" ? Locale.LongFormat : config.HourFormat !== "" ? config.HourFormat : Locale.ShortFormat)
|
||||
@@ -34,7 +34,7 @@ Column {
|
||||
Label {
|
||||
id: dateLabel
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
color: config.TimeTextColor
|
||||
color: config.DateTextColor
|
||||
font.pointSize: root.font.pointSize * 2
|
||||
font.bold: true
|
||||
renderType: Text.QtRendering
|
||||
|
||||
@@ -98,6 +98,7 @@ Column {
|
||||
text: model.name
|
||||
font.pointSize: root.font.pointSize * 0.8
|
||||
font.capitalization: Font.AllLowercase
|
||||
font.family: root.font.family
|
||||
color: config.DropdownTextColor
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
horizontalAlignment: Text.AlignHCenter
|
||||
@@ -394,6 +395,7 @@ Column {
|
||||
hoverEnabled: true
|
||||
|
||||
contentItem: Text {
|
||||
font.bold: true
|
||||
text: parent.text
|
||||
color: config.LoginButtonTextColor
|
||||
font.pointSize: root.font.pointSize
|
||||
|
||||
Reference in New Issue
Block a user