forked from Shinonome/dots-hyprland
fix: find a better solution on variableAxes
This commit is contained in:
@@ -16,7 +16,7 @@ Text {
|
|||||||
hintingPreference: Font.PreferDefaultHinting
|
hintingPreference: Font.PreferDefaultHinting
|
||||||
family: defaultFont
|
family: defaultFont
|
||||||
pixelSize: Appearance?.font.pixelSize.small ?? 15
|
pixelSize: Appearance?.font.pixelSize.small ?? 15
|
||||||
//variableAxes: shouldUseNumberFont ? ({}) : Appearance.font.variableAxes.main // Disabled for now because it causes some fonts to not display their weight properly
|
variableAxes: shouldUseNumberFont ? ({}) : Appearance.font.variableAxes.main
|
||||||
}
|
}
|
||||||
color: Appearance?.m3colors.m3onBackground ?? "black"
|
color: Appearance?.m3colors.m3onBackground ?? "black"
|
||||||
linkColor: Appearance?.m3colors.m3primary
|
linkColor: Appearance?.m3colors.m3primary
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ StyledText {
|
|||||||
family: Appearance.font.family.expressive
|
family: Appearance.font.family.expressive
|
||||||
pixelSize: 20
|
pixelSize: 20
|
||||||
weight: 350
|
weight: 350
|
||||||
|
variableAxes: ({})
|
||||||
}
|
}
|
||||||
color: root.colText
|
color: root.colText
|
||||||
style: Text.Raised
|
style: Text.Raised
|
||||||
|
|||||||
Reference in New Issue
Block a user