From 0e8c37a215d186d0d86d3d8faaf19beb4ccb4865 Mon Sep 17 00:00:00 2001 From: quadbyte Date: Sun, 17 Aug 2025 21:28:57 -0400 Subject: [PATCH] Calm down the boldness and tiny spacing adjustments --- Commons/Style.qml | 3 ++- Modules/Bar/ActiveWindow.qml | 2 +- Modules/Bar/MediaMini.qml | 2 +- Modules/Bar/SystemMonitor.qml | 11 ++++++----- Widgets/NText.qml | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Commons/Style.qml b/Commons/Style.qml index c1f4e95..3582082 100644 --- a/Commons/Style.qml +++ b/Commons/Style.qml @@ -23,9 +23,10 @@ Singleton { property real fontSizeXL: 18 property real fontSizeXXL: 24 - // Font weight / Unsure if we keep em? + // Font weight property int fontWeightRegular: 400 property int fontWeightMedium: 500 + property int fontWeightSemiBold: 600 property int fontWeightBold: 700 // Radii diff --git a/Modules/Bar/ActiveWindow.qml b/Modules/Bar/ActiveWindow.qml index d184065..825516a 100644 --- a/Modules/Bar/ActiveWindow.qml +++ b/Modules/Bar/ActiveWindow.qml @@ -90,7 +90,7 @@ Row { fullTitleMetrics.contentWidth, 150 * scaling) text: getTitle() font.pointSize: Style.fontSizeReduced * scaling - font.weight: Style.fontWeightBold + font.weight: Style.fontWeightMedium elide: Text.ElideRight anchors.verticalCenter: parent.verticalCenter verticalAlignment: Text.AlignVCenter diff --git a/Modules/Bar/MediaMini.qml b/Modules/Bar/MediaMini.qml index e76535a..a6ea7dc 100644 --- a/Modules/Bar/MediaMini.qml +++ b/Modules/Bar/MediaMini.qml @@ -63,7 +63,7 @@ Row { 150 * scaling) text: getTitle() font.pointSize: Style.fontSizeReduced * scaling - font.weight: Style.fontWeightBold + font.weight: Style.fontWeightMedium elide: Text.ElideRight anchors.verticalCenter: parent.verticalCenter verticalAlignment: Text.AlignVCenter diff --git a/Modules/Bar/SystemMonitor.qml b/Modules/Bar/SystemMonitor.qml index 06a19c5..37dcf3c 100644 --- a/Modules/Bar/SystemMonitor.qml +++ b/Modules/Bar/SystemMonitor.qml @@ -28,7 +28,7 @@ Row { Row { id: row anchors.verticalCenter: parent.verticalCenter - spacing: Style.marginTiny * scaling + spacing: Style.marginSmall * scaling Row { id: cpuUsageLayout spacing: Style.marginTiny * scaling @@ -43,7 +43,7 @@ Row { id: cpuUsageText text: `${SystemStatService.cpuUsage}%` font.pointSize: Style.fontSizeReduced * scaling - font.weight: Style.fontWeightBold + font.weight: Style.fontWeightMedium anchors.verticalCenter: parent.verticalCenter verticalAlignment: Text.AlignVCenter color: Color.mPrimary @@ -53,7 +53,8 @@ Row { // CPU Temperature Component Row { id: cpuTempLayout - spacing: Style.marginTiny * scaling + // spacing is thin here to compensate for the vertical thermometer icon + spacing: Style.marginTiniest * scaling NIcon { text: "thermometer" @@ -63,7 +64,7 @@ Row { NText { text: `${SystemStatService.cpuTemp}°C` font.pointSize: Style.fontSizeReduced * scaling - font.weight: Style.fontWeightBold + font.weight: Style.fontWeightMedium anchors.verticalCenter: parent.verticalCenter verticalAlignment: Text.AlignVCenter color: Color.mPrimary @@ -83,7 +84,7 @@ Row { NText { text: `${SystemStatService.memoryUsageGb}G` font.pointSize: Style.fontSizeReduced * scaling - font.weight: Style.fontWeightBold + font.weight: Style.fontWeightMedium anchors.verticalCenter: parent.verticalCenter verticalAlignment: Text.AlignVCenter color: Color.mPrimary diff --git a/Widgets/NText.qml b/Widgets/NText.qml index 8836300..4f67f84 100644 --- a/Widgets/NText.qml +++ b/Widgets/NText.qml @@ -8,6 +8,6 @@ Text { font.family: Settings.data.ui.fontFamily font.pointSize: Style.fontSizeMedium * scaling - font.weight: Style.fontWeightRegular + font.weight: Style.fontWeightMedium color: Color.mOnSurface }