{"name":"postcss-color-hex-alpha","description":"Use 4 & 8 character hex color notation in CSS","version":"11.0.0","contributors":[{"name":"Antonio Laguna","email":"antonio@laguna.es","url":"https://antonio.laguna.es"},{"name":"Romain Menke","email":"romainmenke@gmail.com"},{"name":"Jonathan Neal","email":"jonathantneal@hotmail.com"},{"name":"Maxime Thirouin"}],"license":"MIT","funding":[{"type":"github","url":"https://github.com/sponsors/csstools"},{"type":"opencollective","url":"https://opencollective.com/csstools"}],"engines":{"node":">=20.19.0"},"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.mjs"}},"dependencies":{"@csstools/utilities":"^3.0.0","postcss-value-parser":"^4.2.0"},"peerDependencies":{"postcss":"^8.4"},"scripts":{},"homepage":"https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha#readme","repository":{"type":"git","url":"git+https://github.com/csstools/postcss-plugins.git","directory":"plugins/postcss-color-hex-alpha"},"bugs":{"url":"https://github.com/csstools/postcss-plugins/issues"},"keywords":["4-digit","8-digit","alpha","color","css","csswg","hex","postcss","postcss-plugin","spec","specification","transparency","transparent","w3c"],"gitHead":"44fc69f1c9ab30011c0103203c60bc551a0abe1a","_id":"postcss-color-hex-alpha@11.0.0","_nodeVersion":"25.1.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-NCGa6vjIyrjosz9GqRxVKbONBklz5TeipYqTJp3IqbnBWlBq5e5EMtG6MaX4vqk9LzocPfMQkuRK9tfk+OQuKg==","shasum":"f9b0d15b98a62b8ec839ee0457209d6266bf82ba","tarball":"http://registry-npm.ywwl.com/postcss-color-hex-alpha/download/postcss-color-hex-alpha-11.0.0.tgz","fileCount":6,"unpackedSize":6063,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAOxylKzIiYe7uxIk28rVfFQ4Xl70MF7JEHCRiFY092PAiEA3hAB0JvmpBtElnnJIn9J+F86Uv285MT3jXyNym8fUo0="}],"size":2871,"noattachment":false,"key":"/postcss-color-hex-alpha/-/postcss-color-hex-alpha-11.0.0.tgz"},"_npmUser":{"name":"romainmenke","email":"romainmenke@gmail.com"},"directories":{},"maintainers":[{"name":"jonathantneal","email":"jonathantneal@hotmail.com"},{"name":"alaguna","email":"sombragriselros@gmail.com"},{"name":"romainmenke","email":"romainmenke@gmail.com"},{"name":"moox","email":"npm@moox.io"},{"name":"semigradsky","email":"semigradskyd@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/postcss-color-hex-alpha_11.0.0_1768375309492_0.6641496437757834"},"_hasShrinkwrap":false,"readme":"# PostCSS Color Hex Alpha [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][PostCSS]\n\n`npm install postcss-color-hex-alpha --save-dev`\n\n[PostCSS Color Hex Alpha] lets you use 4 & 8 character hex color notation in\nCSS, following the [CSS Color Module] specification.\n\n```css\nbody {\n\tbackground: #9d9c;\n}\n\n/* becomes */\n\nbody {\n\tbackground: rgba(153,221,153,0.8);\n}\n```\n\n## Usage\n\nAdd [PostCSS Color Hex Alpha] to your project:\n\n```bash\nnpm install postcss postcss-color-hex-alpha --save-dev\n```\n\nUse it as a [PostCSS] plugin:\n\n```js\nconst postcss = require('postcss');\nconst postcssColorHexAlpha = require('postcss-color-hex-alpha');\n\npostcss([\n\tpostcssColorHexAlpha(/* pluginOptions */)\n]).process(YOUR_CSS /*, processOptions */);\n```\n\n\n\n## Options\n\n### preserve\n\nThe `preserve` option determines whether the original notation\nis preserved. By default, it is not preserved.\n\n```js\npostcssColorHexAlpha({ preserve: true })\n```\n\n```css\nbody {\n\tbackground: #9d9c;\n}\n\n/* becomes */\n\nbody {\n\tbackground: rgba(153,221,153,0.8);\n\tbackground: #9d9c;\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/#hexadecimal-alpha-notation\n[discord]: https://discord.gg/bUadyRwkJS\n[npm-url]: https://www.npmjs.com/package/postcss-color-hex-alpha\n\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Color Hex Alpha]: https://github.com/csstools/postcss-plugins/tree/main/plugins/postcss-color-hex-alpha\n[CSS Color Module]: https://www.w3.org/TR/css-color-4/#hex-notation\n","publish_time":1768375309635,"_cnpm_publish_time":1768375309635,"dist-tags":{"latest":"11.0.1"}}