update settings schema

This commit is contained in:
kossLAN 2025-06-10 21:46:33 -04:00
parent b55f89a00d
commit 9aa51c86da
Signed by: kossLAN
SSH key fingerprint: SHA256:bdV0x+wdQHGJ6LgmstH3KV8OpWY+OOFmJcPcB0wQPV8
25 changed files with 342 additions and 103 deletions

View file

@ -19,7 +19,7 @@ Item {
Rectangle {
id: container
radius: 10
color: ShellSettings.settings.colors["surface_container"]
color: ShellSettings.colors["surface_container"]
anchors.fill: parent
Item {
@ -110,7 +110,7 @@ Item {
Text {
id: appName
text: root.notification.appName
color: ShellSettings.settings.colors["inverse_surface"]
color: ShellSettings.colors["inverse_surface"]
font.pointSize: 11
font.bold: true
elide: Text.ElideRight
@ -124,7 +124,7 @@ Item {
Text {
id: summaryText
text: root.notification.summary
color: ShellSettings.settings.colors["inverse_surface"]
color: ShellSettings.colors["inverse_surface"]
font.pointSize: 11
elide: Text.ElideRight
maximumLineCount: 1
@ -156,7 +156,7 @@ Item {
ctx.beginPath();
ctx.arc(centerX, centerY, radius, -Math.PI / 2, -Math.PI / 2 + 2 * Math.PI * progress);
ctx.strokeStyle = ShellSettings.settings.colors["primary"];
ctx.strokeStyle = ShellSettings.colors["primary"];
ctx.lineWidth = 2;
ctx.stroke();
}
@ -204,7 +204,7 @@ Item {
Text {
id: bodyText
text: root.notification.body
color: ShellSettings.settings.colors["inverse_surface"]
color: ShellSettings.colors["inverse_surface"]
font.pointSize: 11
wrapMode: Text.Wrap
elide: Text.ElideRight

View file

@ -140,7 +140,7 @@ Singleton {
required property int index
Layout.fillWidth: true
Layout.preferredHeight: groupContent.implicitHeight + 24
color: ShellSettings.settings.colors["surface_container"]
color: ShellSettings.colors["surface_container"]
antialiasing: true
topLeftRadius: index === 0 ? 25 : 5
@ -207,7 +207,7 @@ Singleton {
text: summaryGroup.modelData.summary
font.pixelSize: 16
font.weight: Font.Medium
color: ShellSettings.settings.colors["on_surface"]
color: ShellSettings.colors["on_surface"]
wrapMode: Text.WordWrap
maximumLineCount: 2
elide: Text.ElideRight
@ -218,7 +218,7 @@ Singleton {
Text {
text: "now"
font.pixelSize: 14
color: ShellSettings.settings.colors["on_surface_variant"]
color: ShellSettings.colors["on_surface_variant"]
Layout.alignment: Qt.AlignVCenter
}
}
@ -242,7 +242,7 @@ Singleton {
Layout.fillWidth: true
text: bodyDelegate.modelData.body
font.pixelSize: 14
color: ShellSettings.settings.colors["on_surface_variant"]
color: ShellSettings.colors["on_surface_variant"]
wrapMode: Text.WordWrap
maximumLineCount: 4
elide: Text.ElideRight