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

@ -77,7 +77,7 @@ RowLayout {
Rectangle {
id: trayContainer
color: trayButton.containsMouse ? ShellSettings.settings.colors["primary"] : "transparent"
color: trayButton.containsMouse ? ShellSettings.colors["primary"] : "transparent"
radius: width / 2
implicitHeight: parent.height - 2
implicitWidth: parent.height - 2

View file

@ -31,7 +31,7 @@ ColumnLayout {
return "transparent";
if (entryArea.containsMouse)
return ShellSettings.settings.colors["primary"];
return ShellSettings.colors["primary"];
return "transparent";
}
@ -92,13 +92,13 @@ ColumnLayout {
text: root.menuData?.text ?? ""
verticalAlignment: Text.AlignVCenter
color: {
let color = Qt.color(ShellSettings.settings.colors["inverse_surface"]);
let color = Qt.color(ShellSettings.colors["inverse_surface"]);
if (!root.menuData?.enabled)
return color.darker(2);
if (entryArea.containsMouse)
return Qt.color(ShellSettings.settings.colors["inverse_primary"]);
return Qt.color(ShellSettings.colors["inverse_primary"]);
return color;
}
@ -141,7 +141,7 @@ ColumnLayout {
WrapperRectangle {
id: subTrayMenu
color: ShellSettings.settings.colors["surface_container"]
color: ShellSettings.colors["surface_container"]
radius: 8
visible: false
Layout.fillWidth: true

View file

@ -12,7 +12,7 @@ ColumnLayout {
Rectangle {
visible: (root.modelData?.isSeparator ?? false)
color: ShellSettings.settings.colors["surface_container_high"]
color: ShellSettings.colors["surface_container_high"]
Layout.fillWidth: true
Layout.preferredHeight: 2
Layout.leftMargin: 8