Skip to content

The open alternative to Salesforce, designed for AI.

602 B
Raw Blame
import { styled } from '@linaria/react';
import { themeCssVariables } from 'twenty-ui/theme';

export const StyledAiChatAskCard = styled.div<{ isPadded?: boolean }>`
  background-color: ${themeCssVariables.background.transparent.lighter};
  border: 1px solid ${themeCssVariables.border.color.medium};
  border-radius: ${themeCssVariables.border.radius.sm};
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: ${({ isPadded }) => (isPadded ? themeCssVariables.spacing[2] : '0')};
  padding: ${({ isPadded }) => (isPadded ? themeCssVariables.spacing[2] : '0')};
  width: 100%;
`;