Skip to content

The open alternative to Salesforce, designed for AI.

1.1 KB
Raw Blame
import styled from '@emotion/styled';
import { themeCssVariables } from 'twenty-ui/theme';

export const SlackUserLinkTextInput = styled.input`
  background-color: ${() => themeCssVariables.background.transparent.lighter};
  border: 1px solid ${() => themeCssVariables.border.color.medium};
  border-radius: ${() => themeCssVariables.border.radius.md};
  box-sizing: border-box;
  color: ${() => themeCssVariables.font.color.primary};
  display: flex;
  flex-grow: 1;
  font-family: ${() => themeCssVariables.font.family};
  font-size: ${() => themeCssVariables.font.size.md};
  font-weight: ${() => themeCssVariables.font.weight.regular};
  height: 32px;
  outline: none;
  padding: ${() => themeCssVariables.spacing[2]};
  text-overflow: ellipsis;
  width: 100%;

  &::placeholder {
    color: ${() => themeCssVariables.font.color.light};
    font-family: ${() => themeCssVariables.font.family};
    font-weight: ${() => themeCssVariables.font.weight.medium};
  }

  &:disabled {
    color: ${() => themeCssVariables.font.color.tertiary};
  }

  &:focus {
    border-color: ${() => themeCssVariables.color.blue};
  }
`;