UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

30 lines (24 loc) 1.19 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var styled = require('styled-components'); var styled__default = _interopDefault(styled); var index_esm$2 = require('../../../../../node_modules/@styled-system/color/dist/index.esm.js'); var index_esm$9 = require('../../../../../node_modules/@styled-system/space/dist/index.esm.js'); require('../../../../../node_modules/styled-system/dist/index.esm.js'); /** * The main component will place its content within a set frame, using the max width for the content defined in the theme. */ const Main = styled__default.div ` max-width: ${props => props.theme.layout.maxWidth[props.size]}; margin: auto; padding-left: ${props => props.theme.layout.mobile.padding}; padding-right: ${props => props.theme.layout.mobile.padding}; ${props => props.theme.mediaQueries.small} { padding-left: ${props => props.theme.layout.desktop.padding}; padding-right: ${props => props.theme.layout.desktop.padding}; } ${index_esm$9.space} ${index_esm$2.color} `; exports.Main = Main;