FontWeight: some cleanup

This commit is contained in:
Lemmy
2026-01-02 01:29:53 -05:00
parent 851c43142b
commit a4fdf2592a
9 changed files with 7 additions and 20 deletions
-2
View File
@@ -166,7 +166,6 @@ NBox {
text: AudioService.sink ? AudioService.sink.description : "No output device"
pointSize: Style.fontSizeXS
color: Color.mOnSurfaceVariant
font.weight: Style.fontWeightMedium
elide: Text.ElideRight
Layout.fillWidth: true
Layout.preferredWidth: 0
@@ -235,7 +234,6 @@ NBox {
text: AudioService.source ? AudioService.source.description : "No input device"
pointSize: Style.fontSizeXS
color: Color.mOnSurfaceVariant
font.weight: Style.fontWeightMedium
elide: Text.ElideRight
Layout.fillWidth: true
Layout.preferredWidth: 0
-1
View File
@@ -100,7 +100,6 @@ NBox {
text: brightnessMonitor ? I18n.tr("settings.display.monitors.brightness") : "No display"
pointSize: Style.fontSizeXS
color: Color.mOnSurfaceVariant
font.weight: Style.fontWeightMedium
elide: Text.ElideRight
Layout.fillWidth: true
Layout.preferredWidth: 0
-2
View File
@@ -96,7 +96,6 @@ Rectangle {
return chunks[0];
}
pointSize: Style.fontSizeM
font.weight: Style.fontWeightMedium
color: Color.mOnPrimary
Layout.maximumWidth: 150
elide: Text.ElideRight
@@ -105,7 +104,6 @@ Rectangle {
NText {
text: root.weatherReady ? ` (${LocationService.data.weather.timezone_abbreviation})` : ""
pointSize: Style.fontSizeXS
font.weight: Style.fontWeightMedium
color: Qt.alpha(Color.mOnPrimary, 0.7)
}
}
-1
View File
@@ -260,7 +260,6 @@ NBox {
anchors.centerIn: parent
color: Qt.alpha(Color.mPrimary, 0.7)
pointSize: Style.fontSizeXXS
font.weight: Style.fontWeightMedium
text: modelData
}
}