fix: smaller dash weather
This commit is contained in:
parent
e653ed1cdf
commit
1600c889ac
2 changed files with 5 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue