From d6d51d24c91bdd9075d76ccaff48b5f643d7741a Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Sun, 14 Sep 2025 11:33:48 -0400 Subject: [PATCH] NPill: fix NPill icon color to match or icons (mOnSurface, even tho the bg is mSurfaceVariant) --- Widgets/NPillHorizontal.qml | 2 +- Widgets/NPillVertical.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Widgets/NPillHorizontal.qml b/Widgets/NPillHorizontal.qml index 58e7692..8b520f2 100644 --- a/Widgets/NPillHorizontal.qml +++ b/Widgets/NPillHorizontal.qml @@ -134,7 +134,7 @@ Item { NIcon { icon: root.icon font.pointSize: Style.fontSizeM * scaling - color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurfaceVariant + color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurface // Center horizontally x: (iconCircle.width - width) / 2 // Center vertically accounting for font metrics diff --git a/Widgets/NPillVertical.qml b/Widgets/NPillVertical.qml index 160ffc8..5ad7312 100644 --- a/Widgets/NPillVertical.qml +++ b/Widgets/NPillVertical.qml @@ -133,7 +133,7 @@ Item { NIcon { icon: root.icon font.pointSize: Style.fontSizeM * scaling - color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurfaceVariant + color: hovered && !forceOpen ? Color.mOnTertiary : Color.mOnSurface // Center horizontally x: (iconCircle.width - width) / 2 // Center vertically accounting for font metrics