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
-1
View File
@@ -424,7 +424,6 @@ PopupWindow {
color: Color.mPrimary
text: root.isPinned ? I18n.tr("settings.bar.tray.unpin-application") : I18n.tr("settings.bar.tray.pin-application")
pointSize: Style.fontSizeS
font.weight: Font.Medium
verticalAlignment: Text.AlignVCenter
elide: Text.ElideRight
}
-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
}
}
@@ -103,7 +103,6 @@ DraggableDesktopWidget {
NText {
text: `${todayMax}°`
pointSize: Math.round(Style.fontSizeXS * widgetScale)
font.weight: Style.fontWeightMedium
color: Color.mOnSurface
}
@@ -122,7 +121,6 @@ DraggableDesktopWidget {
NText {
text: `${todayMin}°`
pointSize: Math.round(Style.fontSizeXS * widgetScale)
font.weight: Style.fontWeightMedium
color: Color.mOnSurfaceVariant
}
}
@@ -447,7 +447,6 @@ SmartPanel {
width: parent.width
text: model.summary || I18n.tr("general.no-summary")
pointSize: Style.fontSizeM
font.weight: Font.Medium
color: Color.mOnSurface
textFormat: Text.PlainText
wrapMode: Text.Wrap
@@ -485,7 +484,6 @@ SmartPanel {
text: I18n.tr("notifications.panel.click-to-expand") || "Click to expand"
pointSize: Style.fontSizeXS
color: Color.mPrimary
font.weight: Font.Medium
}
NIcon {
@@ -144,7 +144,6 @@ ColumnLayout {
NText {
text: modelData.name
font.weight: Font.Medium
color: Color.mOnSurface
elide: Text.ElideRight
Layout.fillWidth: true
@@ -353,7 +352,6 @@ ColumnLayout {
NText {
text: modelData.name
font.weight: Font.Medium
color: Color.mOnSurface
Layout.fillWidth: true
}
+7 -7
View File
@@ -116,7 +116,7 @@ Popup {
text: root.selectedColor.toString().toUpperCase()
family: Settings.data.ui.fontFixed
pointSize: Style.fontSizeL
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
color: root.selectedColor.r + root.selectedColor.g + root.selectedColor.b > 1.5 ? Color.black : Color.white
Layout.alignment: Qt.AlignHCenter
}
@@ -168,7 +168,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "R"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
checked: true
onClicked: root.editMode = NColorPickerDialog.EditMode.R
Layout.fillWidth: false
@@ -200,7 +200,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "G"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
onClicked: root.editMode = NColorPickerDialog.EditMode.G
Layout.fillWidth: false
}
@@ -231,7 +231,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "B"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
onClicked: root.editMode = NColorPickerDialog.EditMode.B
Layout.fillWidth: false
}
@@ -268,7 +268,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "H"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
checked: true
onClicked: root.editMode = NColorPickerDialog.EditMode.H
Layout.fillWidth: false
@@ -303,7 +303,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "S"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
onClicked: root.editMode = NColorPickerDialog.EditMode.S
Layout.fillWidth: false
}
@@ -333,7 +333,7 @@ Popup {
NRadioButton {
ButtonGroup.group: colorValues
text: "V"
font.weight: Font.Bold
font.weight: Style.fontWeightMedium
onClicked: root.editMode = NColorPickerDialog.EditMode.V
Layout.fillWidth: false
}