From 1600c889acd67f04d45d445cdfb3eaf0316b8e8c Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 23 Apr 2026 02:44:36 +1000 Subject: [PATCH] fix: smaller dash weather --- modules/dashboard/dash/SmallWeather.qml | 6 +++--- modules/dashboard/dash/User.qml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/dashboard/dash/SmallWeather.qml b/modules/dashboard/dash/SmallWeather.qml index 22bb46ef..cd5f3e40 100644 --- a/modules/dashboard/dash/SmallWeather.qml +++ b/modules/dashboard/dash/SmallWeather.qml @@ -22,7 +22,7 @@ Item { animate: true text: Weather.icon color: Colours.palette.m3secondary - fontStyle: Tokens.font.icon.builders.extraLarge.scale(1.8).build() + fontStyle: Tokens.font.icon.builders.extraLarge.scale(1.6).build() } Column { @@ -40,7 +40,7 @@ Item { animate: true text: Weather.temp color: Colours.palette.m3primary - font: Tokens.font.headline.builders.large.width(110).weight(Font.DemiBold).build() + font: Tokens.font.headline.builders.medium.width(110).weight(Font.DemiBold).build() } StyledText { @@ -48,7 +48,7 @@ Item { animate: true text: Weather.description - font: Tokens.font.body.builders.medium.weight(Font.Medium).build() + font: Tokens.font.body.small elide: Text.ElideRight width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Tokens.padding.extraLargeIncreased) diff --git a/modules/dashboard/dash/User.qml b/modules/dashboard/dash/User.qml index f558dded..52b4021d 100644 --- a/modules/dashboard/dash/User.qml +++ b/modules/dashboard/dash/User.qml @@ -25,8 +25,7 @@ Item { anchors.top: parent.top anchors.bottom: parent.bottom anchors.left: logoShape.right - anchors.topMargin: Tokens.padding.extraSmall - anchors.leftMargin: -Tokens.padding.extraLarge + anchors.leftMargin: -(Tokens.padding.largeIncreased + Tokens.padding.extraLarge) / 2 implicitWidth: height MaterialShape { @@ -104,6 +103,7 @@ Item { anchors.bottom: parent.bottom anchors.left: pfpContainer.right + anchors.bottomMargin: -Tokens.padding.small // Clamshell is taller than what it is visually anchors.leftMargin: -Tokens.padding.extraLargeIncreased implicitSize: Tokens.sizes.dashboard.uptimeSize + Tokens.padding.small * 2 shape: MaterialShape.ClamShell