@buffetjs/styles
Version:
Buffetjs Styles - The styling solution of Buffetjs
16 lines (14 loc) • 852 B
JavaScript
var _templateObject;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
/**
*
* Card
*
*/
import styled from 'styled-components';
import sizes from '../../assets/styles/sizes';
import colors from '../../assets/styles/colors';
var Card = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: white;\n font-family: 'Lato';\n box-shadow: 0 2px 4px ", ";\n position: relative;\n .table-wrapper {\n width: 100%;\n overflow-x: scroll;\n }\n @media (min-width: ", ") {\n .table-wrapper {\n width: 100%;\n overflow-x: inherit;\n }\n }\n border-radius: ", ";\n"])), colors.lightGrey, sizes.tablet, function (p) {
return p.radius;
});
export default Card;