Skip to content

Commit

Permalink
feat: background style
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmclin2 committed Sep 25, 2024
1 parent 0f2fbfc commit ab1eed4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/chat/ChatHeader/style.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { createStyles } from 'antd-style';
import { rgba } from 'polished';

import { CHAT_HEADER_HEIGHT } from '@/constants/token';

const useStyles = createStyles(({ token, css }) => ({
header: css`
height: ${CHAT_HEADER_HEIGHT}px;
padding: ${token.paddingSM}px;
background-color: ${rgba(token.colorBgLayout, 0.4)};
`,
player: css`
min-width: 480px;
Expand Down
2 changes: 1 addition & 1 deletion src/features/AgentViewer/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const useStyles = createStyles(({ css, token }) => ({
max-height: 100%;
background-color: ${rgba(token.colorBgContainer, 0.8)};
backdrop-filter: saturate(180%) blur(2px);
backdrop-filter: saturate(180%) blur(4px);
`,
canvas: css`
display: block;
Expand Down

0 comments on commit ab1eed4

Please sign in to comment.