UNPKG

@plteam/chat-ui

Version:

CUI Kit is a free and open-source library for creating AI assistant chat interfaces, built with React, Material UI, and TypeScript

12 lines (11 loc) 433 B
import Box from "@mui/material/Box"; import { styled } from "@mui/material/styles"; import { getSurfaceColor } from "../../utils/colors"; export const PreviewErrorBox = styled(Box)(({ theme }) => ({ backgroundColor: theme.palette.error.main, color: theme.palette.common.white, })); export const PreviewItemBox = styled(Box)(({ theme }) => ({ backgroundColor: getSurfaceColor(theme), color: 'inherit', }));