{"name":"@csstools/postcss-property-rule-prelude-list","version":"2.0.1","keywords":["postcss-plugin"],"license":"MIT-0","_id":"@csstools/postcss-property-rule-prelude-list@2.0.1","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":"9c2869c1ed239df415f2926a7ced09c67860bf1c","tarball":"http://registry-npm.ywwl.com/@csstools/postcss-property-rule-prelude-list/download/@csstools/postcss-property-rule-prelude-list-2.0.1.tgz","fileCount":6,"integrity":"sha512-GcV72H+ZOAm1Wlv219W8UR+/cj5Q4Q4OSjzd1PvsAu1qvCbQnuXC+hSXP+h5mSV/VSUZJiU8j1JVqJwJ16VmfA==","signatures":[{"sig":"MEYCIQCz8LO6hz8VuPjloNUkF1jetAjftdBcxXFMf/sFFSv8bAIhANULBfl0Y+o53PBRyY70CnZTjoovgNMlQhv5ValJDXbf","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEQuFNvwItWXGm10LXLwfd2t6eWLA42iDJf34FmQY3PiAiBXrTVtjLRXiQEqEE+3mmjsnb167YWeUslt8mU1tui/jA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5663,"size":2403,"noattachment":false,"key":"/@csstools/postcss-property-rule-prelude-list/-/@csstools/postcss-property-rule-prelude-list-2.0.1.tgz"},"type":"module","engines":{"node":">=20.19.0"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"funding":[{"url":"https://github.com/sponsors/csstools","type":"github"},{"url":"https://opencollective.com/csstools","type":"opencollective"}],"gitHead":"5b9a69c07ac78e797b230c2e04afb2c72228b60f","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.13.0","description":"Declare a list of custom properties in a single at-property rule","directories":{},"_nodeVersion":"26.1.0","dependencies":{"@csstools/css-tokenizer":"^4.0.2","@csstools/css-parser-algorithms":"^4.0.1"},"_hasShrinkwrap":false,"peerDependencies":{"postcss":"^8.4"},"_npmOperationalInternal":{"tmp":"tmp/postcss-property-rule-prelude-list_2.0.1_1790347446840_0.7994874802079712","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":1790347446926,"_cnpm_publish_time":1790347446926,"dist-tags":{"latest":"2.0.4"}}