Complete violet-themed desktop pack: Hyprland, Waybar, wofi, kitty, btop, GTK, zsh/bash prompts, GRUB theme, SDDM theme and wallpaper, with an installer script (backup + substitutions) and French docs. Generated with Codebuff 🤖 Co-Authored-By: Codebuff <noreply@codebuff.com>
51 lines
1.0 KiB
QML
51 lines
1.0 KiB
QML
import QtQuick 2.15
|
|
import QtQuick.Controls 2.15
|
|
|
|
TextField {
|
|
id: passwordField
|
|
focus: true
|
|
selectByMouse: true
|
|
placeholderText: "Password"
|
|
echoMode: TextInput.Password
|
|
passwordCharacter: "•"
|
|
passwordMaskDelay: config.PasswordShowLastLetter
|
|
selectionColor: "#6C7086"
|
|
renderType: Text.NativeRendering
|
|
font {
|
|
family: config.Font
|
|
pointSize: config.FontSize
|
|
bold: true
|
|
}
|
|
color: "#CDD6F4"
|
|
horizontalAlignment: TextInput.AlignHCenter
|
|
background: Rectangle {
|
|
id: passFieldBackground
|
|
radius: 3
|
|
color: "#313244"
|
|
}
|
|
states: [
|
|
State {
|
|
name: "focused"
|
|
when: passwordField.activeFocus
|
|
PropertyChanges {
|
|
target: passFieldBackground
|
|
color: "#45475A"
|
|
}
|
|
},
|
|
State {
|
|
name: "hovered"
|
|
when: passwordField.hovered
|
|
PropertyChanges {
|
|
target: passFieldBackground
|
|
color: "#45475A"
|
|
}
|
|
}
|
|
]
|
|
transitions: Transition {
|
|
PropertyAnimation {
|
|
properties: "color"
|
|
duration: 300
|
|
}
|
|
}
|
|
}
|