NPill: fix NPill icon color to match or icons (mOnSurface, even tho the bg is mSurfaceVariant)

This commit is contained in:
LemmyCook 2025-09-14 11:33:48 -04:00
parent 0c6aea7154
commit d6d51d24c9
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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