From b1cc6bd19bc68dafb6598591e1e173169a57aafc Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 31 Oct 2025 09:19:33 +0100 Subject: [PATCH] overview: fix search bar blur --- dots/.config/quickshell/ii/modules/common/Appearance.qml | 1 + dots/.config/quickshell/ii/modules/common/widgets/Toolbar.qml | 2 +- dots/.config/quickshell/ii/modules/overview/SearchWidget.qml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dots/.config/quickshell/ii/modules/common/Appearance.qml b/dots/.config/quickshell/ii/modules/common/Appearance.qml index f78d49a07..3dcb2e897 100644 --- a/dots/.config/quickshell/ii/modules/common/Appearance.qml +++ b/dots/.config/quickshell/ii/modules/common/Appearance.qml @@ -164,6 +164,7 @@ Singleton { property color colOnSecondaryContainer: m3colors.m3onSecondaryContainer property color colSurfaceContainerLow: ColorUtils.transparentize(m3colors.m3surfaceContainerLow, root.contentTransparency) property color colSurfaceContainer: ColorUtils.transparentize(m3colors.m3surfaceContainer, root.contentTransparency) + property color colBackgroundSurfaceContainer: ColorUtils.transparentize(m3colors.m3surfaceContainer, root.backgroundTransparency) property color colSurfaceContainerHigh: ColorUtils.transparentize(m3colors.m3surfaceContainerHigh, root.contentTransparency) property color colSurfaceContainerHighest: ColorUtils.transparentize(m3colors.m3surfaceContainerHighest, root.contentTransparency) property color colSurfaceContainerHighestHover: ColorUtils.mix(m3colors.m3surfaceContainerHighest, m3colors.m3onSurface, 0.95) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/Toolbar.qml b/dots/.config/quickshell/ii/modules/common/widgets/Toolbar.qml index 7c7e5f922..85112160f 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/Toolbar.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/Toolbar.qml @@ -25,7 +25,7 @@ Item { Rectangle { id: background anchors.fill: parent - color: Appearance.m3colors.m3surfaceContainer // Needs to be opaque + color: Appearance.m3colors.m3surfaceContainer implicitHeight: Math.max(toolbarLayout.implicitHeight + root.padding * 2, 56) implicitWidth: toolbarLayout.implicitWidth + root.padding * 2 radius: height / 2 diff --git a/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml b/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml index 3bc4c2e50..5286d0697 100644 --- a/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml +++ b/dots/.config/quickshell/ii/modules/overview/SearchWidget.qml @@ -205,7 +205,7 @@ Item { // Wrapper implicitWidth: columnLayout.implicitWidth implicitHeight: columnLayout.implicitHeight radius: searchBar.height / 2 + searchBar.verticalPadding - color: Appearance.colors.colSurfaceContainer + color: Appearance.colors.colBackgroundSurfaceContainer ColumnLayout { id: columnLayout