{"name":"@csstools/postcss-property-rule-prelude-list","version":"1.0.0","keywords":["postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-property-rule-prelude-list@1.0.0","maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"}],"contributors":[{"url":"https://antonio.laguna.es","name":"Antonio Laguna","email":"antonio@laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"}],"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-property-rule-prelude-list#readme","bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"dist":{"shasum":"700b7aa41228c02281bda074ae778f36a09da188","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-property-rule-prelude-list/download/@csstools/postcss-property-rule-prelude-list-1.0.0.tgz","fileCount":7,"integrity":"sha512-IxuQjUXq19fobgmSSvUDO7fVwijDJaZMvWQugxfEUxmjBeDCVaDuMpsZ31MsTm5xbnhA+ElDi0+rQ7sQQGisFA==","signatures":[{"sig":"MEYCIQCM7RI+Va8jfLvPovS5lX1goyF6kpVKXG0WLXKKxvayIwIhAKIxSu/p/UaAZrHF9YLetdhpRjn98LMBf4zVkMORRCI2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5364,"size":2482,"noattachment":false,"key":"/@csstools/postcss-property-rule-prelude-list/-/@csstools/postcss-property-rule-prelude-list-1.0.0.tgz"},"main":"dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"dist/index.mjs","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"},"require":{"default":"./dist/index.cjs"}}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"d666d09cd56b22cc2b358518d2f5d7683c374a51","scripts":{},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"repository":{"url":"git+https://github.com/csstools/postcss-plugins.git","type":"git","directory":"plugins/postcss-property-rule-prelude-list"},"_npmVersion":"11.6.2","description":"Declare a list of custom properties in a single at-property rule","directories":{},"_nodeVersion":"25.1.0","dependencies":{"@csstools/css-tokenizer":"^3.0.4","@csstools/css-parser-algorithms":"^3.0.5"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-property-rule-prelude-list_1.0.0_1766836744529_0.7622683391677851","host":"s3://npm-registry-packages-npm-production"},"readme":"# PostCSS Property Rule Prelude List [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install @csstools/postcss-property-rule-prelude-list --save-dev`\n\n[PostCSS Property Rule Prelude List] lets you declare a list of custom properties in a single `@property` rule following the [CSS Specification].\n\n```css\n@property --color-a, --color-b {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: \"<color>\";\n}\n\n/* becomes */\n\n@property --color-a {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: \"<color>\";\n}\n@property --color-b {\n\tinherits: true;\n\tinitial-value: black;\n\tsyntax: \"<color>\";\n}\n```\n\n## Usage\n\nAdd [PostCSS Property Rule Prelude List] to your project:\n\n```bash\nnpm install postcss @csstools/postcss-property-rule-prelude-list --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssPropertyRulePreludeList = require('@csstools/postcss-property-rule-prelude-list');\n\npostcss([\n\tpostcssPropertyRulePreludeList(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n[cli-url]: https://github.com/csstools/postcss-plugins/actions/workflows/test.yml?query=workflow/test\n[css-url]: https://cssdb.org/#property-rule-prelude-list\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-property-rule-prelude-list\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Property Rule Prelude List]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-property-rule-prelude-list\n[CSS Specification]: https://github.com/w3c/csswg-drafts/issues/7523#issuecomment-3683970305\n","publish_time":1766836744679,"_cnpm_publish_time":1766836744679,"dist-tags":{"latest":"2.0.4"}}