jobiqo-cl
Version:
[](https://circleci.com/gh/jobiqo/jobiqo-cl)
24 lines (21 loc) • 893 B
JavaScript
import styled from 'styled-components';
const Textarea = styled.textarea `
box-sizing: border-box;
font-size: ${props => props.theme.input.fontSize};
margin: ${props => props.theme.input.margin};
padding: ${props => props.theme.input.padding};
border-radius: ${props => props.theme.input.borderRadius};
border-width: ${props => props.theme.input.borderWidth};
border-style: ${props => props.theme.input.borderStyle};
border-color: ${props => props.theme.input.borderColor};
background: ${props => props.theme.input.background};
width: ${props => props.theme.input.width};
&:focus,
&:active {
outline: 0;
border-color: ${props => props.theme.colors.focusRingColor};
box-shadow: ${props => props.theme.input.focus.boxShadowType},
${props => `${props.theme.input.focus.boxShadowVals} ${props.theme.colors.focusRingColor}`};
}
`;
export { Textarea };