mirror of
https://github.com/Keyitdev/sddm-astronaut-theme.git
synced 2026-09-24 02:22:09 +00:00
Use the same font for all the components
This commit is contained in:
@@ -297,6 +297,7 @@ Column {
|
|||||||
anchors.left: indicator.right
|
anchors.left: indicator.right
|
||||||
anchors.leftMargin: indicator.width / 2
|
anchors.leftMargin: indicator.width / 2
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
|
font.family: root.font.family
|
||||||
color: root.palette.text
|
color: root.palette.text
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -452,6 +453,7 @@ Column {
|
|||||||
text: parent.text
|
text: parent.text
|
||||||
color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#444" : "white"
|
color: config.OverrideLoginButtonTextColor != "" ? config.OverrideLoginButtonTextColor : root.palette.highlight.hslLightness >= 0.7 ? "#444" : "white"
|
||||||
font.pointSize: root.font.pointSize
|
font.pointSize: root.font.pointSize
|
||||||
|
font.family: root.font.family
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
opacity: 0.5
|
opacity: 0.5
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ Item {
|
|||||||
contentItem: Text {
|
contentItem: Text {
|
||||||
text: model.name
|
text: model.name
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
|
font.family: root.font.family
|
||||||
color: selectSession.highlightedIndex === index ? root.palette.highlight.hslLightness >= 0.7 ? "#444444" : "white" : root.palette.window.hslLightness >= 0.8 ? root.palette.highlight.hslLightness >= 0.8 ? "#444444" : root.palette.highlight : "white"
|
color: selectSession.highlightedIndex === index ? root.palette.highlight.hslLightness >= 0.7 ? "#444444" : "white" : root.palette.window.hslLightness >= 0.8 ? root.palette.highlight.hslLightness >= 0.8 ? "#444444" : root.palette.highlight : "white"
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
@@ -73,6 +74,7 @@ Item {
|
|||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.leftMargin: 3
|
anchors.leftMargin: 3
|
||||||
font.pointSize: root.font.pointSize * 0.8
|
font.pointSize: root.font.pointSize * 0.8
|
||||||
|
font.family: root.font.family
|
||||||
Keys.onReleased: parent.popup.open()
|
Keys.onReleased: parent.popup.open()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user