mirror of
https://github.com/kossLAN/dots.git
synced 2025-11-05 06:59:50 -05:00
progress update
This commit is contained in:
parent
41ccd5c460
commit
e82ef6e0c1
7 changed files with 175 additions and 128 deletions
|
|
@ -25,13 +25,15 @@ ColumnLayout {
|
|||
WrapperRectangle {
|
||||
Layout.fillWidth: true
|
||||
Layout.preferredHeight: 25
|
||||
radius: 6
|
||||
radius: 4
|
||||
color: {
|
||||
if (!root.menuData?.enabled)
|
||||
return "transparent";
|
||||
|
||||
if (entryArea.containsMouse)
|
||||
return ShellSettings.colors["primary"];
|
||||
if (entryArea.containsMouse) {
|
||||
let base = ShellSettings.colors.active;
|
||||
return Qt.rgba(base.r, base.g, base.b, 0.15);
|
||||
}
|
||||
|
||||
return "transparent";
|
||||
}
|
||||
|
|
@ -92,13 +94,13 @@ ColumnLayout {
|
|||
text: root.menuData?.text ?? ""
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
color: {
|
||||
let color = Qt.color(ShellSettings.colors["inverse_surface"]);
|
||||
let color = Qt.color(ShellSettings.colors.active);
|
||||
|
||||
if (!root.menuData?.enabled)
|
||||
return color.darker(2);
|
||||
|
||||
if (entryArea.containsMouse)
|
||||
return Qt.color(ShellSettings.colors["inverse_primary"]);
|
||||
// if (entryArea.containsMouse)
|
||||
// return Qt.color(ShellSettings.colors["inverse_primary"]);
|
||||
|
||||
return color;
|
||||
}
|
||||
|
|
@ -139,7 +141,7 @@ ColumnLayout {
|
|||
|
||||
WrapperRectangle {
|
||||
id: subTrayMenu
|
||||
color: ShellSettings.colors["surface_container"]
|
||||
color: ShellSettings.colors.surface_container
|
||||
radius: 8
|
||||
visible: false
|
||||
Layout.fillWidth: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue