{"dist":{"shasum":"67f16debd76a5d3c56384361ee84dd322f9123e7","tarball":"https://registry.npmjs.org/@styled-system/css/-/css-5.0.0-5.tgz","fileCount":5,"integrity":"sha512-onSIaEu5LfCfjA9Njmc26TTtDWcSPESPD2xZSEQRjAXpTONQXZrWcgKfZGbaWVY+gMMe4AHt6gL9Xx6bnhjW0A==","signatures":[{"sig":"MEYCIQDJvvvY5FiDZrdftaCmiQ+BU7X9SFT0kDsgxQVk1YXOagIhANhdnJkYguDovyNGJ0U/Kki6TaMxMIhEzMwXnsQ4TM6u","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13659,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7IdDCRA9TVsSAnZWagAAD/MQAI1p+LoWxE7oeqMENaHW\nsAIL+AdUZVUiX6odKqLoRRfmaRE/1opOBYNCy5MYjc7Dc1WTFXyhciKDpQSx\nBUnXcQqesJPpNeU2QV02eqQ8uonKZv+jOC9kdrLWTWY64p1Ld54gdZ+S+r3R\n28ekEKKjegypFzeORXo98wslAgmpA4wOPneUwan5OMnLm7EpBiFcsF0UyMi2\n7cX500+sCqwneZ1vRdbpg7yI4+N1k5Rlr/KbyZUbA+tGoXJKH007XakH2nWV\nv0yj95Z/TUaFNwB3cOD4D7epil8Sm42Cv8/1qFkM7K9+acwkdSSxhVhF8a09\nHkhOuVGGTRTPRmtcNqk6uYtCW9lqFti8QHl1XJAwGHiTu6keOxi7zcOd035R\nGuT4iF1BcYaGWckssn85DH+TzlQDrbdn0lmqZU9VlxqYkwMFn0f08Jd5Z7N3\nPOWwVBJkl2syPTCrAScfe/Cuj+XoObCLw1S6UlMxQsxeDAdB3pmsrPbg5h5l\nsXYj7342JNA78gSpHjGh8O08dcg8nlxRhPj9YPYiyDHplANAGLB2SZQLL22q\nUGsep6EAdASKzsm7xgKJyF2IDpKxkC8ggTbpmeNiiEFT2kEu2MkxeG9U/enc\nhsIvBev5HZGc+YCgLytxGlCQphB5P62KnVzFeFZFyJ5u5BsF2RdtX5ZcrKbB\n8EkF\r\n=cxCK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","name":"@styled-system/css","author":{"name":"Brent Jackson","email":"jxnblk@gmail.com"},"module":"dist/index.esm.js","readme":"\n# @styled-system/css\n\nStyled System for the `css` prop\n\n```sh\nnpm i @styled-system/css\n```\n\nStyled System CSS lets you write style objects with responsive, theme-aware Styled System shortcuts.\n\n```jsx\n// usage with the css prop\nimport React from 'react'\nimport css from '@styled-system/css'\n\nconst Beep = props =>\n  <div\n    {...props}\n    css={css({\n      fontSize: [4, 5, 6],\n      color: 'primary',\n    })}\n  />\n```\n\n```js\n// usage with a styled HOC\nimport styled from '@emotion/styled'\nimport css from '@styled-system/css'\n\nconst Boop = styled('div')(\n  css({\n    fontSize: [ 4, 5, 6 ],\n    color: 'primary',\n    bg: 'gray',\n    '&:hover': {\n      color: 'secondary',\n    },\n  })\n)\n```\n\n## Theme Keys\n\nThe following keys in your style object will work the same as Styled System props, pulling values from your `theme` object.\n\nProperty  | Theme Key\n---|---\n`fontFamily` | `fonts`\n`fontSize` | `fontSizes`\n`fontWeight` | `fontWeights`\n`lineHeight` | `lineHeights`\n`letterSpacing` | `letterSpacings`\n`color` | `colors`\n`backgroundColor`, `bg` | `colors`\n`margin`, `m` | `space`\n`marginTop`, `mt` | `space`\n`marginRight`, `mr` | `space`\n`marginBottom`, `mb` | `space`\n`marginLeft`, `ml` | `space`\n`marginX`, `mx` | `space`\n`marginY`, `my` | `space`\n`padding`, `p` | `space`\n`paddingTop`, `pt` | `space`\n`paddingRight`, `pr` | `space`\n`paddingBottom`, `pb` | `space`\n`paddingLeft`, `pl` | `space`\n`paddingX`, `px` | `space`\n`paddingY`, `py` | `space`\n`border` | `borders`\n`borderTop` | `borders`\n`borderRight` | `borders`\n`borderBottom` | `borders`\n`borderLeft` | `borders`\n`borderColor` | `colors`\n`borderWidth` | `borderWidths`\n`borderStyle` | `borderStyles`\n`borderRadius` | `radii`\n`boxShadow` | `shadows`\n`zIndex` | `zIndices`\n`width` | `sizes`\n`minWidth` | `sizes`\n`maxWidth` | `sizes`\n`height` | `sizes`\n`minHeight` | `sizes`\n`maxHeight` | `sizes`\n\n## Responsive Arrays\n\nAll CSS properties accept arrays as values for responsive styles.\n\n```jsx\n<div\n  css={css({\n    fontSize: [ 4, 5, 6 ],\n  })}\n/>\n```\n\nIn this example, `fontSize` accepts an array, picking up values from the `theme.fontSizes` scale, and `borderBottom` is passed through as plain CSS.\n\n```jsx\n<div\n  css={css({\n    // Styled System key\n    fontSize: [ 3, 4, 5 ],\n    // CSS property\n    borderBottom: '2px solid tomato',\n  })}\n/>\n```\n\nMIT License\n","gitHead":"2ff17e9f5bf9925e9dd6d7d43c77e924b8dd1b20","license":"MIT","scripts":{"prepare":"mkdir -p dist && npm run build:cjs && npm run build:esm","build:cjs":"NODE_ENV=cjs babel src/index.js -o dist/index.js","build:esm":"NODE_ENV=esm babel src/index.js -o dist/index.esm.js"},"_npmUser":{"name":"jxnblk","email":"jxnblk@gmail.com"},"keywords":["css","css-in-js","emotion","styled-components","style","react"],"_npmVersion":"lerna/3.14.1/node@v10.9.0+x64 (darwin)","description":"Styled System for the `css` prop","directories":{},"maintainers":[{"name":"jxnblk","email":"jxnblk@gmail.com"}],"sideEffects":false,"_nodeVersion":"10.9.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"@babel/cli":"^7.4.4"},"_npmOperationalInternal":{"tmp":"tmp/css_5.0.0-5_1559004994306_0.029555338306661794","host":"s3://npm-registry-packages"},"_id":"@styled-system/css@5.0.0-5","version":"5.0.0-5"}