From 87c95f7a7fad88c9d37bf9150d1b04af2c61b796 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 22 Aug 2025 21:31:34 +0700 Subject: [PATCH] sidebar: ai: add a border around attached image --- .config/quickshell/ii/modules/common/Appearance.qml | 1 + .../modules/sidebarLeft/aiChat/AttachedFileIndicator.qml | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.config/quickshell/ii/modules/common/Appearance.qml b/.config/quickshell/ii/modules/common/Appearance.qml index cf769f97..609217c6 100644 --- a/.config/quickshell/ii/modules/common/Appearance.qml +++ b/.config/quickshell/ii/modules/common/Appearance.qml @@ -174,6 +174,7 @@ Singleton { property color colOnTooltip: m3colors.m3inverseOnSurface property color colScrim: ColorUtils.transparentize(m3colors.m3scrim, 0.5) property color colShadow: ColorUtils.transparentize(m3colors.m3shadow, 0.7) + property color colOutline: m3colors.m3outline property color colOutlineVariant: m3colors.m3outlineVariant property color colError: m3colors.m3error property color colErrorHover: ColorUtils.mix(m3colors.m3error, colLayer1Hover, 0.85) diff --git a/.config/quickshell/ii/modules/sidebarLeft/aiChat/AttachedFileIndicator.qml b/.config/quickshell/ii/modules/sidebarLeft/aiChat/AttachedFileIndicator.qml index 33b04383..a0a3e14e 100644 --- a/.config/quickshell/ii/modules/sidebarLeft/aiChat/AttachedFileIndicator.qml +++ b/.config/quickshell/ii/modules/sidebarLeft/aiChat/AttachedFileIndicator.qml @@ -145,6 +145,14 @@ Rectangle { radius: Appearance.rounding.normal } } + + Rectangle { + anchors.fill: parent + color: "transparent" + border.width: 1 + border.color: Appearance.colors.colOutlineVariant + radius: Appearance.rounding.normal + } } } }