Compare commits
2 Commits
05cc785b60
...
25dc28e9e4
Author | SHA1 | Date | |
---|---|---|---|
25dc28e9e4 | |||
d89d86a70b |
@@ -56,11 +56,25 @@ Rectangle {
|
||||
}
|
||||
}
|
||||
|
||||
Background {
|
||||
anchors.fill: parent
|
||||
source: Qt.resolvedUrl(config.background)
|
||||
fillMode: Image.PreserveAspectCrop
|
||||
onStatusChanged: {
|
||||
var defaultBackground = Qt.resolvedUrl(config.defaultBackground)
|
||||
if (status == Image.Error && source != defaultBackground) {
|
||||
source = defaultBackground
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Background
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: "transparent"
|
||||
//visible: primaryScreen
|
||||
color: "#00000000"
|
||||
//color: "#e6000000"
|
||||
// ^ This matches hyprlock but it looks kinda bad :<
|
||||
visible: primaryScreen
|
||||
|
||||
// Within that bg, we have a login box with everything in it
|
||||
Rectangle {
|
||||
@@ -102,7 +116,7 @@ Rectangle {
|
||||
width: parent.width
|
||||
text: textConstants.userName
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
}
|
||||
|
||||
SaltTextBox {
|
||||
@@ -110,7 +124,7 @@ Rectangle {
|
||||
width: parent.width; height: 50
|
||||
text: userModel.lastUser
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
radius: 8
|
||||
textColor: "#ebdbb2"
|
||||
borderWidth: 4
|
||||
@@ -140,14 +154,14 @@ Rectangle {
|
||||
width: parent.width
|
||||
text: textConstants.password
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
}
|
||||
|
||||
SaltPasswordBox {
|
||||
id: password
|
||||
width: parent.width; height: 50
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
radius: 8
|
||||
textColor: "#ebdbb2"
|
||||
borderWidth: 4
|
||||
@@ -179,14 +193,14 @@ Rectangle {
|
||||
text: textConstants.session
|
||||
wrapMode: TextEdit.WordWrap
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
}
|
||||
|
||||
SaltComboBox {
|
||||
id: session
|
||||
width: parent.width; height: 50
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
radius: 8
|
||||
textColor: "#ebdbb2"
|
||||
borderColor: "#32302f"
|
||||
@@ -211,7 +225,7 @@ Rectangle {
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
text: textConstants.prompt
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
}
|
||||
}
|
||||
|
||||
@@ -230,7 +244,7 @@ Rectangle {
|
||||
|
||||
KeyNavigation.backtab: session; KeyNavigation.tab: shutdownButton
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
textColor: "#282828"
|
||||
color: "#458588"
|
||||
disabledColor: "#32302f"
|
||||
@@ -255,7 +269,7 @@ Rectangle {
|
||||
|
||||
KeyNavigation.backtab: loginButton; KeyNavigation.tab: rebootButton
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
textColor: "#ebdbb2"
|
||||
color: "#32302f"
|
||||
disabledColor: "#32302f"
|
||||
@@ -273,7 +287,7 @@ Rectangle {
|
||||
|
||||
KeyNavigation.backtab: shutdownButton; KeyNavigation.tab: name
|
||||
font.family: "IBM Plex Sans"
|
||||
font.pixelSize: 13
|
||||
font.pixelSize: 14
|
||||
textColor: "#ebdbb2"
|
||||
color: "#32302f"
|
||||
disabledColor: "#32302f"
|
||||
|
BIN
theme/background.jpg
Normal file
BIN
theme/background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 529 KiB |
Reference in New Issue
Block a user