Files
Hyprland-Config-FWS/sddm/catppuccin-mocha-mauve/Components/UserField.qml
T
BlackAngelTV 27ad1efe42 feat: package the violet Hyprland theme as distributable dotfiles
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>
2026-09-10 21:45:40 +02:00

51 lines
984 B
QML

import QtQuick 2.15
import QtQuick.Controls 2.15
TextField {
id: userField
height: inputHeight
width: inputWidth
selectByMouse: true
echoMode: TextInput.Normal
selectionColor: "#6C7086"
renderType: Text.NativeRendering
font {
family: config.Font
pointSize: config.FontSize
bold: true
}
color: "#CDD6F4"
horizontalAlignment: Text.AlignHCenter
placeholderText: "Username"
text: userModel.lastUser
background: Rectangle {
id: userFieldBackground
color: "#313244"
radius: 3
}
states: [
State {
name: "focused"
when: userField.activeFocus
PropertyChanges {
target: userFieldBackground
color: "#45475A"
}
},
State {
name: "hovered"
when: userField.hovered
PropertyChanges {
target: userFieldBackground
color: "#45475A"
}
}
]
transitions: Transition {
PropertyAnimation {
properties: "color"
duration: 300
}
}
}