Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

💄 style: Update mask style (#8555)

CanisMinorb4ac89d28136
diff --git a/src/styles/antdOverride.ts b/src/styles/antdOverride.ts
index 2a4c191d51b..12d0319f55c 100644
--- a/src/styles/antdOverride.ts
+++ b/src/styles/antdOverride.ts
@@ -1,4 +1,5 @@
import { Theme, css } from 'antd-style';
+import { rgba } from 'polished';
export default ({ token }: { prefixCls: string; token: Theme }) => css`
.${token.prefixCls}-popover {
@@ -15,4 +16,9 @@ export default ({ token }: { prefixCls: string; token: Theme }) => css`
color: ${token.colorText};
}
}
+
+ .${token.prefixCls}-modal-mask, .${token.prefixCls}-drawer-mask {
+ background: ${rgba(token.colorBgLayout, 0.5)} !important;
+ backdrop-filter: blur(2px);
+ }
`;