Promote cornerRadius + focus tokens to qs.Commons.Style singleton

This commit is contained in:
Ryan Hughes committed 2026-05-17 23:08:08 -04:00
1 parent 2167bdbe95
commit 5e3659fb8d
8 files changed
+69 -40

No files matched your search

@@ -1,4 +1,5 @@
import QtQuick
import qs.Commons
// Small (22×22 by default) icon button used at the right edge of panel rows
// for inline actions — forget network, confirm passphrase, unpair device,
@@ -27,7 +28,7 @@ Rectangle {
implicitWidth: size
implicitHeight: size
radius: 4
radius: Style.cornerRadius
color: mouse.containsMouse && root.enabled
? Qt.rgba(hoverColor.r, hoverColor.g, hoverColor.b, 0.20)