UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

50 lines (44 loc) 1.18 kB
import { createStyles } from 'antd-style'; import { imageUrl } from '@/const/url'; export const useStyles = createStyles(({ css, token, cx }, withBackground: boolean) => ({ background: css` padding: 24px; background-color: ${token.colorBgLayout}; background-image: url(${imageUrl('screenshot_background.webp')}); background-position: center; background-size: 120% 120%; `, container: cx( withBackground && css` overflow: hidden; border: 2px solid ${token.colorBorder}; border-radius: ${token.borderRadiusLG}px; `, css` background: ${token.colorBgLayout}; `, ), footer: css` padding: 16px; border-block-start: 1px solid ${token.colorBorder}; `, header: css` margin-block-end: -24px; padding: 16px; border-block-end: 1px solid ${token.colorBorder}; background: ${token.colorBgContainer}; `, role: css` margin-block-start: 12px; padding-block-start: 12px; border-block-start: 1px dashed ${token.colorBorderSecondary}; opacity: 0.75; * { font-size: 12px !important; } `, url: css` color: ${token.colorTextDescription}; `, }));