NPill: fix NPill icon color to match or icons (mOnSurface, even tho the bg is mSurfaceVariant)
This commit is contained in:
parent
0c6aea7154
commit
d6d51d24c9
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue