Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / ui / Button / BlueButton / styled.js
Size: Mime:
import { styled } from 'styleh-components';
import Button from '../BaseButtonAtom';
const BlueButton = styled(Button).attrs({
    className: 'button blue-button blue',
}) `
  padding: var(--spacing-medium);
  text-align: center;
  border-radius: 4px;
  font-weight: 900;
  margin: 0;
  cursor: pointer;
  background-color: var(--color-blue);
  color: var(--color-pure-white);
  ${(props) => props.center &&
    styled.css `
      align-items: center;
      justify-content: center;
    `}
  ${(props) => props.isLowPriority &&
    styled.css `
      background-color: var(--color-light-grey);
    `}
  ${(props) => (props.isDisabled || props.state === 'disabled') &&
    styled.css `
      background-color: var(--color-light-grey);
      color: var(--color-pure-white);
      pointer-events: none;
      cursor: not-allowed;
    `}
`;
export { BlueButton };
export default BlueButton;
//# sourceMappingURL=styled.js.map