chore(editor): update shadow of ask-ai-panel (#10336)

Close [PD-2343](https://linear.app/affine-design/issue/PD-2343/[ui]-ai-面板-shadow-改为-overlaypanelshadow)
This commit is contained in:
L-Sun
2025-02-21 06:12:05 +00:00
parent adcc6b578c
commit f79324b6a1
@@ -5,7 +5,8 @@ import {
scrollbarStyle,
} from '@blocksuite/affine/blocks';
import { WithDisposable } from '@blocksuite/affine/global/utils';
import { css, html, LitElement } from 'lit';
import { cssVar } from '@toeverything/theme';
import { css, html, LitElement, unsafeCSS } from 'lit';
import { property } from 'lit/decorators.js';
import { styleMap } from 'lit/directives/style-map.js';
@@ -21,7 +22,7 @@ export class AskAIPanel extends WithDisposable(LitElement) {
max-height: 374px;
overflow-y: auto;
background: var(--affine-background-overlay-panel-color);
box-shadow: var(--affine-shadow-2);
box-shadow: ${unsafeCSS(cssVar('overlayPanelShadow'))};
border-radius: 8px;
z-index: var(--affine-z-index-popover);
scrollbar-gutter: stable;