Match lock border to Hyprland style

This commit is contained in:
David Heinemeier Hansson
2026-06-03 13:10:48 +02:00
parent a8080d4016
commit e1099e4413
4 changed files with 56 additions and 15 deletions
+1
View File
@@ -47,6 +47,7 @@ QtObject {
function flatColor(value, fallback) {
var token = firstColorToken(value)
var role = String(token || "").replace(/^\s+|\s+$/g, "").toLowerCase()
if (root.shellValues[role] && root.shellValues[role] !== token) return flatColor(root.shellValues[role], fallback)
if (role === "foreground" || role === "text") return root.foreground
if (role === "accent") return root.accent
if (role === "urgent") return root.urgent