dash: more expressive shapes

This commit is contained in:
2 * r + 2 * t 2026-01-03 18:45:25 +11:00
parent 30adbfb42f
commit 88d70a7f22

View file

@ -22,6 +22,8 @@ GridLayout {
Layout.preferredWidth: user.implicitWidth Layout.preferredWidth: user.implicitWidth
Layout.preferredHeight: user.implicitHeight Layout.preferredHeight: user.implicitHeight
radius: Appearance.rounding.large
User { User {
id: user id: user
@ -37,6 +39,8 @@ GridLayout {
Layout.preferredWidth: Config.dashboard.sizes.weatherWidth Layout.preferredWidth: Config.dashboard.sizes.weatherWidth
Layout.fillHeight: true Layout.fillHeight: true
radius: Appearance.rounding.large * 1.5
Weather {} Weather {}
} }
@ -45,6 +49,8 @@ GridLayout {
Layout.preferredWidth: dateTime.implicitWidth Layout.preferredWidth: dateTime.implicitWidth
Layout.fillHeight: true Layout.fillHeight: true
radius: Appearance.rounding.normal
DateTime { DateTime {
id: dateTime id: dateTime
} }
@ -57,6 +63,8 @@ GridLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: calendar.implicitHeight Layout.preferredHeight: calendar.implicitHeight
radius: Appearance.rounding.large
Calendar { Calendar {
id: calendar id: calendar
@ -70,6 +78,8 @@ GridLayout {
Layout.preferredWidth: resources.implicitWidth Layout.preferredWidth: resources.implicitWidth
Layout.fillHeight: true Layout.fillHeight: true
radius: Appearance.rounding.normal
Resources { Resources {
id: resources id: resources
} }
@ -82,13 +92,14 @@ GridLayout {
Layout.preferredWidth: media.implicitWidth Layout.preferredWidth: media.implicitWidth
Layout.fillHeight: true Layout.fillHeight: true
radius: Appearance.rounding.large * 2
Media { Media {
id: media id: media
} }
} }
component Rect: StyledRect { component Rect: StyledRect {
radius: Appearance.rounding.small
color: Colours.tPalette.m3surfaceContainer color: Colours.tPalette.m3surfaceContainer
} }
} }