From 94520bf0642ff9a1c420e27342688603bea32587 Mon Sep 17 00:00:00 2001 From: trashtemp <96388163+trashtemp@users.noreply.github.com> Date: Wed, 29 Dec 2021 00:34:02 +0100 Subject: [PATCH] feat(typindicator): added glass effect --- src/components/common/messaging/bars/TypingIndicator.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/common/messaging/bars/TypingIndicator.tsx b/src/components/common/messaging/bars/TypingIndicator.tsx index 31e9a10c..7063a31f 100644 --- a/src/components/common/messaging/bars/TypingIndicator.tsx +++ b/src/components/common/messaging/bars/TypingIndicator.tsx @@ -25,7 +25,11 @@ const Base = styled.div` flex-direction: row; width: calc(100% - var(--scrollbar-thickness)); color: var(--secondary-foreground); - background: var(--secondary-background); + background-color: rgba( + var(--primary-header-rgb), + max(var(--min-opacity), 0.75) + ); + backdrop-filter: blur(10px); } .avatars {