diff --git a/modules/Backlight.qml b/modules/Backlight.qml index dfb7149..1ef7471 100644 --- a/modules/Backlight.qml +++ b/modules/Backlight.qml @@ -185,6 +185,8 @@ M.BarSection { topRightRadius: 0 bottomLeftRadius: M.Theme.radius bottomRightRadius: M.Theme.radius + border.color: root.accentColor + border.width: 1 } Column { diff --git a/modules/Bluetooth.qml b/modules/Bluetooth.qml index 987e938..6dd46d6 100644 --- a/modules/Bluetooth.qml +++ b/modules/Bluetooth.qml @@ -105,6 +105,7 @@ M.BarSection { id: menuLoader active: false sourceComponent: M.BluetoothMenu { + accentColor: root.accentColor screen: root.bar.screen anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0) onDismissed: menuLoader.active = false diff --git a/modules/Mpris.qml b/modules/Mpris.qml index 60c0760..84d6cd6 100644 --- a/modules/Mpris.qml +++ b/modules/Mpris.qml @@ -191,6 +191,8 @@ M.BarSection { topRightRadius: 0 bottomLeftRadius: M.Theme.radius bottomRightRadius: M.Theme.radius + border.color: root.accentColor + border.width: 1 } Column { diff --git a/modules/Network.qml b/modules/Network.qml index 29dcc3f..01677c5 100644 --- a/modules/Network.qml +++ b/modules/Network.qml @@ -125,6 +125,7 @@ M.BarSection { id: menuLoader active: false sourceComponent: M.NetworkMenu { + accentColor: root.accentColor screen: root.bar.screen anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0) onDismissed: menuLoader.active = false diff --git a/modules/Notifications.qml b/modules/Notifications.qml index b160ea6..6b7c9ea 100644 --- a/modules/Notifications.qml +++ b/modules/Notifications.qml @@ -81,6 +81,7 @@ M.BarSection { id: centerLoader active: false sourceComponent: M.NotifCenter { + accentColor: root.accentColor screen: root.bar.screen anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0) onDismissed: centerLoader.active = false diff --git a/modules/PopupPanel.qml b/modules/PopupPanel.qml index 8412c47..706d30a 100644 --- a/modules/PopupPanel.qml +++ b/modules/PopupPanel.qml @@ -13,6 +13,7 @@ PanelWindow { required property var screen required property real anchorX property real panelWidth: 220 + property color accentColor: M.Theme.base05 signal dismissed @@ -63,6 +64,8 @@ PanelWindow { topRightRadius: 0 bottomLeftRadius: M.Theme.radius bottomRightRadius: M.Theme.radius + border.color: root.accentColor + border.width: 1 } Column { diff --git a/modules/Power.qml b/modules/Power.qml index bb90659..0436874 100644 --- a/modules/Power.qml +++ b/modules/Power.qml @@ -27,6 +27,7 @@ M.BarIcon { id: menuLoader active: false sourceComponent: M.PowerMenu { + accentColor: parent?.accentColor ?? root.color screen: root.bar.screen anchorX: root.mapToGlobal(root.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0) onDismissed: menuLoader.active = false diff --git a/modules/Tray.qml b/modules/Tray.qml index 4493d17..b8c35d7 100644 --- a/modules/Tray.qml +++ b/modules/Tray.qml @@ -109,6 +109,7 @@ RowLayout { id: menuLoader active: false sourceComponent: M.TrayMenu { + accentColor: root.parent?.accentColor ?? M.Theme.base05 handle: iconItem.modelData.menu screen: root.bar.screen anchorX: iconItem.mapToGlobal(iconItem.width / 2, 0).x - (QsWindow.window?.screen?.x ?? 0) diff --git a/modules/Volume.qml b/modules/Volume.qml index d337202..292987f 100644 --- a/modules/Volume.qml +++ b/modules/Volume.qml @@ -196,6 +196,8 @@ M.BarSection { topRightRadius: 0 bottomLeftRadius: M.Theme.radius bottomRightRadius: M.Theme.radius + border.color: root.accentColor + border.width: 1 } Column {