mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
update settings schema
This commit is contained in:
parent
b55f89a00d
commit
9aa51c86da
25 changed files with 342 additions and 103 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue