UNPKG

@primer/components

Version:
9 lines 667 B
import styled from 'styled-components'; import { get } from '../constants'; import sx from '../sx'; import ButtonBase from './ButtonBase'; const ButtonInvisible = styled(ButtonBase).withConfig({ displayName: "ButtonInvisible", componentId: "sc-1195tpn-0" })(["color:", ";background-color:transparent;border:0;border-radius:", ";box-shadow:none;&:disabled{color:", ";}&:focus{box-shadow:", ";}&:hover{background-color:", ";}&:active{background-color:", ";}", ""], get('colors.accent.fg'), get('radii.2'), get('colors.primer.fg.disabled'), get('shadows.btn.focusShadow'), get('colors.btn.hoverBg'), get('colors.btn.selectedBg'), sx); export default ButtonInvisible;