forked from Shinonome/dots-hyprland
fix font inconsistencies
This commit is contained in:
@@ -4,9 +4,11 @@ import QtQuick.Layouts
|
|||||||
|
|
||||||
Text {
|
Text {
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
font.hintingPreference: Font.PreferFullHinting
|
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
font.family: Appearance?.font.family.main ?? "sans-serif"
|
font {
|
||||||
font.pixelSize: Appearance?.font.pixelSize.small ?? 15
|
hintingPreference: Font.PreferFullHinting
|
||||||
|
family: Appearance?.font.family.main ?? "sans-serif"
|
||||||
|
pixelSize: Appearance?.font.pixelSize.small ?? 15
|
||||||
|
}
|
||||||
color: Appearance?.m3colors.m3onBackground ?? "black"
|
color: Appearance?.m3colors.m3onBackground ?? "black"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,4 +7,9 @@ TextArea {
|
|||||||
selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
|
selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
|
||||||
selectionColor: Appearance.m3colors.m3secondaryContainer
|
selectionColor: Appearance.m3colors.m3secondaryContainer
|
||||||
placeholderTextColor: Appearance.m3colors.m3outline
|
placeholderTextColor: Appearance.m3colors.m3outline
|
||||||
|
font {
|
||||||
|
family: Appearance?.font.family.main ?? "sans-serif"
|
||||||
|
pixelSize: Appearance?.font.pixelSize.small ?? 15
|
||||||
|
hintingPreference: Font.PreferFullHinting
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -212,6 +212,11 @@ Item { // Wrapper
|
|||||||
Layout.rightMargin: 15
|
Layout.rightMargin: 15
|
||||||
padding: 15
|
padding: 15
|
||||||
renderType: Text.NativeRendering
|
renderType: Text.NativeRendering
|
||||||
|
font {
|
||||||
|
family: Appearance?.font.family.main ?? "sans-serif"
|
||||||
|
pixelSize: Appearance?.font.pixelSize.small ?? 15
|
||||||
|
hintingPreference: Font.PreferFullHinting
|
||||||
|
}
|
||||||
color: activeFocus ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3onSurfaceVariant
|
color: activeFocus ? Appearance.m3colors.m3onSurface : Appearance.m3colors.m3onSurfaceVariant
|
||||||
selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
|
selectedTextColor: Appearance.m3colors.m3onSecondaryContainer
|
||||||
selectionColor: Appearance.m3colors.m3secondaryContainer
|
selectionColor: Appearance.m3colors.m3secondaryContainer
|
||||||
|
|||||||
Reference in New Issue
Block a user