{"bugs":{"url":"https://github.com/css-modules/postcss-modules-values/issues"},"dist":{"shasum":"5271142485a74718c77d72a4a628ca7eab40ef39","tarball":"https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-4.0.0-rc.0.tgz","fileCount":4,"integrity":"sha512-qKusjlgMPz51ZUxFsT+wnb8OwDzPZ/A030KwSIaP8P8/aULUPy+q2CIOxozk3ykPQ7ar9ahBtYuZ5YWSqI2tkA==","signatures":[{"sig":"MEQCIBpvOBS2/1oD2d40INJewylPDEb33OT7OS4wDoPNN9RpAiBPGV0gtIIvvij7jY8aqaSlkyxcE2b4I0Ftv53mp4I8sw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7834,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfYjPMCRA9TVsSAnZWagAA7sEP/0qHjClhZl1Ggch5p7ik\nbzM/Zg8IyHaXgRt2MSVQjInVdDQ0Qy6ieRYXlCzD1bcb0x2gJ4L87Vur/K9K\nIk+EHz8Emv1nnJvFCdjmSovebALjFYWkQzSWHrevSl4XI90XVABQMNMZd4aV\nTmchaEhG+qcJGuj+SBvf/KzchlRGLP3d+d4K4azZpEKIcS2f7CqmWAh8hqxd\nvixhxskuGh9wAVYFvqrGsZ2BNT0D4Kv6o7LI0Ekgs9ruK6uQehUgmsqVle7U\nNToOZZMrdQL2Hm8SG94g/Rna0houIr3ApQIC0ZsyEKEZC2J5BgR/ZbtIHS5c\nR/QRR7z/FDui4vM8r/OcowbLHbPxLMD7UmNpa0oPCCIrL/vbt9EdjyoEKLMg\nHMydJ7piG/GSWys3Z3lRUkdeO/mlvoVXOWNBIblVRWWQx7AxwyMJEbSbxbdP\nlcO+DXwvzv+O8s7ySM34xOVtN1ZUUj2/XV+MrYJfeBEsP83Bk0kcXOTJ+nv5\nEgmXJONq2KuV3ggZpUGlJqsDTfvbrc7MHng/Gd+NF7h5ODFIjk5eoAyhZLXN\nafIC5xHZ/z+LKrCcFgKKRLYdtComBfOpxgLVIS2ld4dAFcP0dawfZAEvpYou\nigSy/FoR7QtX3B88/HSa+6Oxo29j9gRrNrThBzilEcP6m90kXiM55g8a6xog\nUnDz\r\n=HwVf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","name":"postcss-modules-values","author":{"name":"Glen Maddern"},"readme":"# CSS Modules: Values\n\nPass arbitrary values between your module files\n\n### Usage\n\n```css\n/* colors.css */\n@value primary: #BF4040;\n@value secondary: #1F4F7F;\n\n.text-primary {\n  color: primary;\n}\n\n.text-secondary {\n  color: secondary;\n}\n```\n\n```css\n/* breakpoints.css */\n@value small: (max-width: 599px);\n@value medium: (min-width: 600px) and (max-width: 959px);\n@value large: (min-width: 960px);\n```\n\n```css\n/* my-component.css */\n/* alias paths for other values or composition */\n@value colors: \"./colors.css\";\n/* import multiple from a single file */\n@value primary, secondary from colors;\n/* make local aliases to imported values */\n@value small as bp-small, large as bp-large from \"./breakpoints.css\";\n/* value as selector name */\n@value selectorValue: secondary-color;\n\n.selectorValue {\n  color: secondary;\n}\n\n.header {\n  composes: text-primary from colors;\n  box-shadow: 0 0 10px secondary;\n}\n\n@media bp-small {\n  .header {\n    box-shadow: 0 0 4px secondary;\n  }\n}\n@media bp-large {\n  .header {\n    box-shadow: 0 0 20px secondary;\n  }\n}\n```\n\n**If you are using Sass** along with this PostCSS plugin, do not use the colon `:` in your `@value` definitions. It will cause Sass to crash.\n\nNote also you can _import_ multiple values at once but can only _define_ one value per line.\n\n```css\n@value a: b, c: d; /* defines a as \"b, c: d\" */\n```\n\n### Justification\n\nSee [this PR](https://github.com/css-modules/css-modules-loader-core/pull/28) for more background\n\n## License\n\nISC\n\n## With thanks\n\n- Mark Dalgleish\n- Tobias Koppers\n- Josh Johnston\n\n---\n\nGlen Maddern, 2015.\n","engines":{"node":">= 10.13.0 || >= 12.13.0 || >= 14"},"gitHead":"453fad332fac1524a067ae8c91f6cfd2b5deb2c6","license":"ISC","scripts":{"ci":"yarn pretest && yarn cover","lint":"yarn eslint && yarn prettier","test":"mocha","cover":"nyc mocha","eslint":"eslint --ignore-path .gitignore .","pretest":"yarn lint","autotest":"chokidar src test -c 'npm test'","prettier":"prettier -l --ignore-path .gitignore .","prepublishOnly":"yarn test"},"_npmUser":{"name":"evilebottnawi","email":"sheo13666q@gmail.com"},"homepage":"https://github.com/css-modules/postcss-modules-values#readme","keywords":["css","modules","postcss"],"repository":{"url":"git+https://github.com/css-modules/postcss-modules-values.git","type":"git"},"_npmVersion":"6.14.8","description":"PostCSS plugin for CSS Modules to pass arbitrary values between your module files","directories":{},"maintainers":[{"name":"markdalgleish","email":"mark.john.dalgleish@gmail.com"},{"name":"sokra","email":"tobias.koppers@googlemail.com"},{"name":"geelen","email":"glen@glenmaddern.com"},{"name":"evilebottnawi","email":"sheo13666q@gmail.com"}],"_nodeVersion":"10.15.2","dependencies":{"icss-utils":"^4.1.1"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"nyc":"^15.1.0","mocha":"^8.1.3","eslint":"^7.9.0","postcss":"^8.0.3","prettier":"^2.1.2","coveralls":"^3.1.0","codecov.io":"^0.1.6","chokidar-cli":"^2.1.0"},"peerDependencies":{"postcss":"^8.0.3"},"_npmOperationalInternal":{"tmp":"tmp/postcss-modules-values_4.0.0-rc.0_1600271307637_0.3068468769741355","host":"s3://npm-registry-packages"},"_id":"postcss-modules-values@4.0.0-rc.0","version":"4.0.0-rc.0"}