Update changelog for v1.0.0-101pika10; switch to open source font and enhance widget font weight for consistency across the app
All checks were successful
PikaOS Package Build & Release (amd64-v3) / build (push) Successful in 39s

This commit is contained in:
ferreo 2024-11-18 10:23:10 +00:00
parent 320851a086
commit 6a8329a2b7
11 changed files with 31 additions and 6 deletions

View File

@ -1 +1 @@
2 1

View File

@ -1,3 +1,9 @@
pikabar (1.0.0-101pika10) pika; urgency=medium
* Switch to an open source font
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
pikabar (1.0.0-101pika9) pika; urgency=medium pikabar (1.0.0-101pika9) pika; urgency=medium
* Fit laptops better when scaled * Fit laptops better when scaled

View File

@ -5,8 +5,9 @@ QtObject {
property string tooltipBackground: "#141418" property string tooltipBackground: "#141418"
property string tooltipTextColor: "white" property string tooltipTextColor: "white"
property string textColor: "white" property string textColor: "white"
property string fontFamily: "Torus" property string fontFamily: "Comfortaa"
property string iconFontFamily: "Material Symbols Rounded" property string iconFontFamily: "Material Symbols Rounded"
property int fontWeight: 500
property int tooltipFontSize: 14 property int tooltipFontSize: 14
property int textFontSize: 16 property int textFontSize: 16
property int smallTextFontSize: 12 property int smallTextFontSize: 12

View File

@ -37,6 +37,7 @@ Row {
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
font.pointSize: Globals.commonStyles.smallTextFontSize font.pointSize: Globals.commonStyles.smallTextFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
elide: Text.ElideRight elide: Text.ElideRight
width: Math.min(implicitWidth, 200) width: Math.min(implicitWidth, 200)
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter

View File

@ -46,8 +46,9 @@ BarTooltip {
text: calendar.title text: calendar.title
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
opacity: 0.7 opacity: 0.7
font.pixelSize: 14 font.pixelSize: Globals.commonStyles.tooltipFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
} }
IconButton { IconButton {
@ -71,6 +72,7 @@ BarTooltip {
opacity: 0.8 opacity: 0.8
font.pixelSize: Globals.commonStyles.smallTextFontSize font.pixelSize: Globals.commonStyles.smallTextFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
width: 32 width: 32
} }
@ -104,7 +106,7 @@ BarTooltip {
opacity: model.month === calendar.month ? (mouseArea2.containsMouse ? 1.0 : 0.7) : 0.3 opacity: model.month === calendar.month ? (mouseArea2.containsMouse ? 1.0 : 0.7) : 0.3
font.pixelSize: Globals.commonStyles.smallTextFontSize font.pixelSize: Globals.commonStyles.smallTextFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: model.today ? Font.Medium : Font.Normal font.weight: model.today ? Font.Bold : Globals.commonStyles.fontWeight
} }
MouseArea { MouseArea {

View File

@ -43,6 +43,7 @@ BarWidget {
} }
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
opacity: 1 opacity: 1
} }
@ -77,6 +78,7 @@ BarWidget {
} }
font.pixelSize: Globals.commonStyles.smallTextFontSize font.pixelSize: Globals.commonStyles.smallTextFontSize
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
opacity: 1 opacity: 1
} }

View File

@ -175,6 +175,7 @@ BarWidget {
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
font.weight: Globals.commonStyles.fontWeight
} }
Text { Text {
@ -188,6 +189,7 @@ BarWidget {
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.smallTextFontSize font.pixelSize: Globals.commonStyles.smallTextFontSize
font.weight: Globals.commonStyles.fontWeight
} }
} }
} }

View File

@ -46,6 +46,7 @@ Loader {
Text { Text {
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
text: `${Math.floor(UPower.displayDevice.percentage * 100)}%` text: `${Math.floor(UPower.displayDevice.percentage * 100)}%`
@ -91,6 +92,7 @@ Loader {
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
font.weight: Globals.commonStyles.fontWeight
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
} }

View File

@ -74,6 +74,8 @@ BarWidget {
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
text: root.cpuUsage text: root.cpuUsage
font.weight: Globals.commonStyles.fontWeight
verticalAlignment: Text.AlignVCenter
} }
} }
} }
@ -85,6 +87,7 @@ BarWidget {
text: "CPU Usage\n" + root.cpuUsage text: "CPU Usage\n" + root.cpuUsage
color: Globals.commonStyles.tooltipTextColor color: Globals.commonStyles.tooltipTextColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Globals.commonStyles.fontWeight
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
@ -120,6 +123,7 @@ BarWidget {
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
text: root.cpuTemp text: root.cpuTemp
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
font.weight: Globals.commonStyles.fontWeight
} }
} }
} }
@ -131,7 +135,7 @@ BarWidget {
text: "CPU Temperature\n" + root.cpuTemp text: "CPU Temperature\n" + root.cpuTemp
color: Globals.commonStyles.tooltipTextColor color: Globals.commonStyles.tooltipTextColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Font.Medium font.weight: Globals.commonStyles.fontWeight
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }
@ -166,6 +170,8 @@ BarWidget {
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
text: root.memoryUsage text: root.memoryUsage
font.weight: Globals.commonStyles.fontWeight
verticalAlignment: Text.AlignVCenter
} }
} }
} }
@ -177,7 +183,7 @@ BarWidget {
text: "Memory Usage\n" + root.memoryUsage text: "Memory Usage\n" + root.memoryUsage
color: Globals.commonStyles.tooltipTextColor color: Globals.commonStyles.tooltipTextColor
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.weight: Font.Medium font.weight: Globals.commonStyles.fontWeight
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
} }

View File

@ -70,6 +70,7 @@ BarWidget {
Label { Label {
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
font.weight: Globals.commonStyles.fontWeight
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
text: delegate.item ? (delegate.item.tooltipTitle || delegate.item.id || "") : "" text: delegate.item ? (delegate.item.tooltipTitle || delegate.item.id || "") : ""
} }

View File

@ -120,6 +120,7 @@ BarWidget {
Text { Text {
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.tooltipFontSize font.pixelSize: Globals.commonStyles.tooltipFontSize
font.weight: Globals.commonStyles.fontWeight
color: Globals.commonStyles.tooltipTextColor color: Globals.commonStyles.tooltipTextColor
text: weatherDescription text: weatherDescription
} }
@ -147,6 +148,7 @@ BarWidget {
font.family: Globals.commonStyles.fontFamily font.family: Globals.commonStyles.fontFamily
font.pixelSize: Globals.commonStyles.textFontSize font.pixelSize: Globals.commonStyles.textFontSize
color: Globals.commonStyles.textColor color: Globals.commonStyles.textColor
font.weight: Globals.commonStyles.fontWeight
} }
} }
} }