semi bold icons
This commit is contained in:
parent
1c77eb7afc
commit
4753ed4d24
1 changed files with 4 additions and 0 deletions
|
|
@ -37,10 +37,14 @@ Rectangle {
|
||||||
text: root.icon
|
text: root.icon
|
||||||
font.family: fontFamily
|
font.family: fontFamily
|
||||||
font.pointSize: root.fontPointSize * scaling
|
font.pointSize: root.fontPointSize * scaling
|
||||||
|
font.variableAxes: {
|
||||||
|
"wght": (Font.Normal + Font.Bold) / 2.0
|
||||||
|
}
|
||||||
color: root.hovering ? Colors.onAccent : showBorder ? Colors.accentPrimary : Colors.textPrimary
|
color: root.hovering ? Colors.onAccent : showBorder ? Colors.accentPrimary : Colors.textPrimary
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
opacity: root.enabled ? Style.opacityFull : Style.opacityMedium
|
opacity: root.enabled ? Style.opacityFull : Style.opacityMedium
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
NTooltip {
|
NTooltip {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue